longhorn1999 Posted September 28, 2010 Share Posted September 28, 2010 http://www.htaccesselite.com/remove-php-extensions-htaccess-novice-vt339.html 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.