.htaccess redirect issue
Found a big mistake in the redirection handling. Took me quite a lot of time, to find out why the sef urls in my cms sites no longer worked.
As soon as you create in cPanel (WHM) an url redirect with the following settings:
(the idea was to point all parked domains to one target with one single entry)
- *ALL* Domains option
- enter a target ..
- with www and non-www
It creates or updates your main root .htaccess file with an "INHERIT" entry at the first position.
This inherit, will override all htaccess files in all your subprojects, addon domains and of course it affects your
sef urls as well.
As a result of this, you problably get an error message in your browser as well "too many redirects", "never ending redirect" possibly ;)
My Suggestion.
Don't add this inherit command per default, make a radio button for this in cpanel.
-
Hello :) The addition of an option to decide the nature of how a redirect is added would be better suited as a feature request. You can open a feature request via: Submit A Feature Request Thank you. 0 -
but it's a bug how it works in the current version and will be fixed soon, right? 0 -
I do not see any existing bug reports open for this issue. Feel free to open a bug report via: Submit A Bug Report Thank you. 0
Please sign in to leave a comment.
Comments
3 comments