Mobile app version of vmapp.org
Login or Join
Becky754

: / and index.php. How to eliminate this duplicate page issue? In my website root, I have an index.php and of course the rest of the pages. The problem is when I crawl my site either with

@Becky754

Posted in: #DuplicateContent #Seo

In my website root, I have an index.php and of course the rest of the pages. The problem is when I crawl my site either with a crawler or a sitemap crawler, etc, it reports 2 duplicated links
domain.com/ www.domain.com/index.php

How do I force tell my crawler that there are no two instances of the same page? Do I use a 301 to merge them? A canonical? an .htaccess redirection? etc. How do I fix this?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Becky754

1 Comments

Sorted by latest first Latest Oldest Best

 

@Sarah324

Canonical URL or 301 redirect would both work fine. I'd go with the 301 redirect as it means only one URL pulls up that content which is good for both users and search engines. But the canonical URL is easier to implement.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme