[TYPO3-english] Shortcut with 301 option for shortlinks
projects at r-system.de
Mon Jul 29 16:19:29 CEST 2013
Am 29.07.2013 16:05, schrieb bernd wilke:
> Am 29.07.13 12:33, schrieb d.ros:
>> once there was #17037 to make shortcut handling better. But this still
>> has a litte space to work even more better which could be resolved with
>> an additional switch where the name could be "chosen page with 301".
>> At the moment the link points directly to the target page, but there are
>> usecases where it makes sense to give an editor the possiblity to
>> generate shortcut links pointing to pages which reside deeper in a page.
>> Atm. you could make a new page and use "show content from" which has the
>> disadvantage of double content. There are also possiblities to set those
>> entries with realURL or cooluri or even .htaccess but this is quite
>> unhandy for editors.
>> If you could set an 301 option to the shortcut, you would have a link
>> like www.domain.com/short redirecting to www.domain.com/in/a/deeper/tree
>> with a 301
>> IMHO it makes quite sense to make this setting settable for editors.
> As of TYPO3 4.7 (or was it 4.6?) links to pages of type shortcut are
> generated as links to the target page.
> you only get a redirect if you call the page immediate (index.php?id=123)
> it's a pity that external URL is not handled in the same way.
> I just had a project with static export and had to replace the internal
> page url with the corresponding external url.
External link is not an option as you cannot generate the short url on
the fly. ATM: The only workaroud is to place the shortcut under a tree
that is hidden from pagepath, open that page so the url cache ( cooluri
or realurl - doesn´t matter ) is filled and switching the page to
shortcut mode. That way you can manage shortcut urls as editor. But once
the url cache is emptied the links are gone and you have to respawn them
so file a vote for this please !
More information about the TYPO3-english