Redirects – HTACCESS and cPanel
-
Hi all,
I don’t know if this is normal but when you set up redirects in cPanel it will add them to the .htaccess file to make them work basically. But they add those to the bottom of the .htaccess file.
Which is somewhat normal but those redirects won’t work. They will only work if we manually edit the .htaccess file and add them above the following section:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
Is this how it should work or do we have something wrong within our .htaccess? As we would rather be able to do them via cPanel than manually edit the .htaccess file each time.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Redirects – HTACCESS and cPanel’ is closed to new replies.