How to remove Duplicate Content

- 1 answer

Ad

If am presented with duplicate content on these URLS http://www.testman.com/about-us and http://www.testman.com/about-us/ what is the best course of action to resolve this issue?

Ad

Answer

Ad

The best solution is

Permanent redirect :

Use the following in Apache .htaccess

 RedirectMatch 301 ^/about-us$ /about-us/

the google will index just 1 url

/about-us/

For multiple urls

you can use :

 RedirectMatch 301 ([^/]+)$ /$1/
Ad
source: stackoverflow.com
Ad