.htaccess and PermaLinks
-
Hi
I have carried out a new install of WordPress. I’ve created a seperate directory called \blog that hangs of www root :-
In \shop is my eccomerce store.\root\shop
\blog.htaccess in my www root has a 301 redirect configured. this means that any request for my domain https://www.domain.co.uk gets automatically redirected to my store https://www.domain.co.uk/shop
Now, I want to run my WordPress with the SEO friendly permalinks.
Running them, causes the 404 error page to display.From searching other threads, I have created a .htaccess file in the \blog folder with the following in:-
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /blog/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress
Unfortunatley, this doesn’t work. I still get 404’s. Do I need to do something with .htaccess in root?
(I have a feeling everything is getting overridden by this)Thanks
Al
- The topic ‘.htaccess and PermaLinks’ is closed to new replies.