The Only World-Standard SEO Software

SEO and Internet Marketing Forum
Welcome, Guest ( Login | Register )

www.domain.com and www.domain.com/index.html duplicate
New Topic Add Reply
Page 1 of 1 [ 3 posts ]
Author Message
DERfTYl34

Tenderfoot

Tenderfoot
Posts: 11
Posted: Wed Aug 16, 2017 3:27 am

Hi,

in auditor my website has the error of duplicate pages www.domain.com and www.domain.com/index.html
so i tried to redirect in .htaccess but then in auditor i get a different error: There are 302 redirects found on your website.

this is the redirect i used: RewriteEngine On
RewriteBase /

# redirect html pages to the root domain
RewriteRule ^index\.html$ / [NC,R,L]

how can i fix this please?

LinkAssistant

User avatar
Site Admin
Posts: 5588
Posted: Thu Aug 17, 2017 11:43 am

It is required to use a 301 redirect, so you may try the following instruction:

[L,R=301,NC]

DERfTYl34

Tenderfoot

Tenderfoot
Posts: 11
Posted: Thu Aug 17, 2017 12:45 pm

Thanks issue solved
LinkAssistant wrote:
It is required to use a 301 redirect, so you may try the following instruction:

[L,R=301,NC]

Display topics from previous:    Sort by    
New Topic Add Reply
Page 1 of 1 [ 3 posts ]
All times are UTC

Jump to:  


cron