[TYPO3] realurl, domain redirects, 404/301
Chris Paige
system at chrispaige.info
Fri Feb 16 16:23:48 CET 2007
Hi,
I've been struggling with something in some of my setups for a while and I still don't quite have a handle on it...
I'm using TYPO3 4.0.4, realurl 1.1.4.
The main functioning is working great. Correct URLs render properly. Incorrect URLs on the main domain throw a 404 and display the custom 404 page. Alternate domains redirect to the main domain properly, as long as the URL is valid on the main domain. My problem only seems to be when I have an incorrect URL on an alternate domain. In other words, this scenario...
Main domain: www.example.com
Alternate domain: example.com redirects to www.example.com
www.example.com OK
www.example.com/realpage OK (page exists)
www.example.com/nonpage OK (throw 404 and displays custom 404 page)
example.com OK (redirects to www.example.com)
example.com/realpage OK (redirects to www.example.com/realpage)
The problem is here:
example.com/nonpage
It throws 404, which is fine. But the content is completely blank. What makes me more confused is that on some of my installations (identical realurl configurations, aside from rootpage_id details) it seems to redirect (301, not 404) to home page. I can't figure why it's acting differently on the various installations and I'm getting myself confused.
Can anybody help me get oriented here?
Chris
P.S. For a while I was getting error messages as in this bug report: http://bugs.typo3.org/view.php?id=4768
I'm not sure what I changed, but I can't seem to reproduce that problem anymore.
More information about the TYPO3-english
mailing list