WebSite X5Help Center

Giulio V.
Giulio V.

Setting Up Redirects on homepage & blog page index pages breaks the site  en

Author: Giulio V.
Visited 813, Followers 1, Shared 0  

For some reason, when I setup these redirects:

setting up either of these redirects totally breaks the site. Setting up the above redirects makes these pages not load correctly. 

My SEO guy (who I love) says that Google wants these redirects to avoid duplicate content. The problem is, whenever we setup these redirects, the pages won't load. How you suggest I fix this issue?

FYI, I don't need help setting up the redirects themselves, I need help setting redirects that actually work.

Posted on the
Laszlo M.
Laszlo M.


I found it here on one side, it works for me.
Type in the htaccess folder this applies to the main page.
SEO will be so good, you will not have a separate index.html page for the main page

(/htps:// /

RewriteEngine On
RewriteRule ^index\.html$ / [R=301,L]
RewriteRule ^(.*)/index\.html$ /$1/ [R=301,L]

And this is good to transmit the other pages not just for the blogThe blog does not articulate because there is no blog after URL (index.php?)

<IfModule mod_rewrite.c>

RewriteEngine On

Redirect 301 / /


Read more
Posted on the from Laszlo M.