mod_rewrite .PHP old pages are still accessible creating a duplicate content problem?

  • Thread starter Thread starter Mooomo
  • Start date Start date
M

Mooomo

Guest
Hello, I'm using mod_rewrite to display URL's as mypage.html rather than mypage.php

The problem is, the pages are now accessible both through mypage.html and mypage.php creating a duplicate content problem

What can I do so that the pages are only accessible through mypage.html - I tried creating a redirect from mypage.php to mypage.html, but this resulted into a Server Internal Error
 
Back
Top