Hello,
We have a wordpress blog attached to our magento website located at
domain.co.uk/blog/
Moz was coming back showing we had multiple page versions on show (http and https)
So i updated the htaccess file to what is below. This has fixed most of the errors, however the homepage is being a little tricky. Moz is now saying that the page is redirecting and redirecting again
http://www.domain.co.uk/blog to
http://www.domain.co.uk/blog/ to
https://www.domain.co.uk/blog/
BEGIN WordPress
<ifmodule mod_rewrite.c="">RewriteEngine On
RewriteBase /blog/</ifmodule>
RewriteCond %{HTTPS} !=on
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
END WordPress
Within wordpress settings the urls are set up as follows
Wordpress Address URL: https://www.domain.co.uk/blog
Site Address URL: https://www.domain.co.uk/blog
i tried to add a trailing / to these but it gets automatically removed. So i am assuming that wordpress is serving up
https://www.domain.co.uk/blog
**RewriteBase /blog/ **is re-directing it to /
then my https rewrite is re-directing it again
I am not sure where exactly to fix this, could anybody advise?
Many thanks,