Different HTTP statuscodes for shortcuts¶
|Extension name:||Different HTTP statuscodes for shortcuts|
|Description:||Restore the old statuscodes for redirects|
|Keywords:||shortcut, statuscode, redirect, forwarding, 301|
|Licence:||Open Content License available from www.opencontent.org/opl.shtml|
EXT: Different HTTP statuscodes for shortcuts¶
Extension Key: shortcut_statuscodes
This document is published under the Open Content License, available from www.opencontent.org/opl.shtml.
The content of this document is related to TYPO3, a GNU/GPL CMS/Framework available from www.typo3.org.
The extension is published under the GNU General Public License version 2, available from www.gnu.org/copyleft/gpl.html
Table of Contents
What does it do?¶
This TYPO3 CMS frontend extension restores the use of different HTTP statuscodes for redirects depending on the type of the selected shortcut for a page.
- 307 for redirects to rather random pages (first subpage, random subpage, parent page)
- 301 for redirects to a well-defined page (explicitly selected page)
Motivation & Usage¶
This extension is made due to the discussion in TYPO3 issue 73148
Please take a look into the ticket to understand why the TYPO3 core team did not want this functionality to be part of the core anymore.
The extension overwrites a method in the core! Keep this in mind for core updates and other installed extension which may try to override the same class.
As described above this is a patch extension only. If you want to let your editors manage shortcuts to your own needs, then you should take a look into the following great extensions:
Please do not hesitate to contact me if you find any bugs or even better yet, send a pull request on GitHub.
Please do not hesitate to contact me if you have a wishlist or usefull patches.
TYPO3 - inspiring people to share!
This TYPO3 extension is Open Source, so please use, patch, extend or fork it.