BUG: Cpanel added domain "redirect" based on incorrect understanding of the .htaccess file.
The following lines from the .htaccess file in the document root for one of my sites were:
RedirectMatch 301 ^/path/to/template/folder/?$
These lines were apparently interpreted as "redirect this domain to
-
I know these redirects were added because of these lines in the .htaccess file because when I went into the redirects section of the cpanel for the account and removed them, the two corresponding lines were removed from the .htaccess file which proves they are correlated.
I added redirects to .htaccess manually, and I could see them in cPanel redirects. I removed them in cPanel and they were removed from .htaccess. The facts that they show up in cPanel proves nothing.0 -
I added redirects to .htaccess manually, and I could see them in cPanel redirects. I removed them in cPanel and they were removed from .htaccess. The facts that they show up in cPanel proves nothing.
Do you know you just repeated what I said but just came to the wrong conclusion? You added redirects to htaccess, saw them in cpanel. You removed said redirects in cpanel and that removed them from .htaccess. That is the literal definition of correlation. The bug is that the cpanel is not saying the correct thing. Cpanel was saying that the entire domain redirects to a non-sensical URL, when in reality a sub-path on the domain was redirecting requests back to the top level of the domain. The domain itself was not redirecting anywhere as cpanel was saying.0 -
Just so I'm clear on the issue, the .htaccess lines worked fine, but the cPanel interface read them and added them to the wrong section - is that right? 0
Please sign in to leave a comment.
Comments
3 comments