Is the .htaccess code added to an account via the Redirect (cPanel -> Domains -> Redirects) page correct?
It looks like the code added to the .htaccess file is:
RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^/?$ "http\:\/\/%domain%\/%path%" [R=301,L]
But shouldn't this be:
RewriteCond %{HTTP_HOST} ^.*$
RewriteCond %{REQUEST_URI} !^/%path%
RewriteRule ^/?$ "http\:\/\/%domain%\/%path%" [R=301,L]
Or something similar? The first one will just generate an infinite loop.
It looks like the code added to the .htaccess file is:
RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^/?$ "http\:\/\/%domain%\/%path%" [R=301,L]
But shouldn't this be:
RewriteCond %{HTTP_HOST} ^.*$
RewriteCond %{REQUEST_URI} !^/%path%
RewriteRule ^/?$ "http\:\/\/%domain%\/%path%" [R=301,L]
Or something similar? The first one will just generate an infinite loop.