[TYPO3-english] RealUrl redirect after renaming page

Henrik Urlund henrik.remove.this at urlund.com
Mon Jan 14 17:47:20 CET 2013


Basically it's pretty simple, when a page is loaded the service "asks" 
what URL was used to load the page, if the URL is "wrong" (or atleast 
different from what you really would like) based on pi_getPageLink, it 
will do a 301 redirect to the "correct" page.

(From "What does it do?")
Eg. if your page name is “Contact Me” (depending on your RealURL 
configuration) the url will be http://example.com/contact-me/ but if 
you give it an “Speaking URL path segment” named “contact” you will get 
the following link http://example.com/contact/ although you can still 
access the page through the “page-name-link” resulting in possible 
duplicate content. With this extension enabled instead of duplicate 
content a HTTP 301 Permanently Moved (redirect) will be made from 
“contact-me” to “contact”.

Note that this extension does NOT depend on RealURL and will work in any case.



On 2013-01-14 10:22:14 +0000, Roland said:

> hi hendrik,
> 
> Am 14.01.13 10:34, schrieb Henrik Urlund:
>> For other users with this issue, here is a solution:
>> http://typo3.org/extensions/repository/view/http301
> 
> this sounds great! thanks. will definately try your extension with EXT:realurl.
> 
> one question to your documentation:
> 
> what do you mean with this sentence?
> 
> --- quote ---
> This extension is a “service” that handles the HTTP response status 
> code 301 Moved Permanently, used for permanent redirection, based on 
> actual page with the purpose of avoiding duplicate content (SEO 
> optimizing).
> --- /quote ---
> 
> when exactly will your extension do it's magic?
> 
> kind regards
> 
> roland




More information about the TYPO3-english mailing list