Dear friends, I have a problem with my client website. my client website is xyz.com/abc.php but unfortunately one of our external link webmaster has given slash at the end of the url as xyz.com/abc.php/ now problem is google is reading text version pages of all the abc.php as duplicate content pages as cache text only version. My webdeveloper has confirmed that these type of text version pages are not available in our root directory. Then how google is creating new pages in text version and indexing. is there is any problem in writing rewriting code? Kindly help me out/
Something like this in your .htaccess file should do it RewriteEngine on RewriteBase / RewriteRule ^(*\.php)/$ $1 [R=301,L] Code (markup):