Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

change mysite.com/page.php to mysite.com/page


Recommended Posts



Hi everyone,


For Google PPC, I looking to shorten some URLs of landing pages by removing the .php extension from certain pages I've made.


RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /about\.php\ HTTP/ [NC]

RewriteRule .+ http://www.binarysite.co.uk/about [R=301,QSA]


RewriteRule ^about/? /about.php [QSA,L]


This is one example I've seen to change one page at a time, but does anyone have any other ideas that are more effective? Does doing this

cause any other problems with osC?

Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...