Page is a not externally linkable
kellyman - 2:02 pm on Sep 12, 2012 (gmt 0)
Hi Guys
Implemented the code and all looks fine, however since implemented, i have a few functions within the site that call on a php function i.e a login, that are not now working
# 32 - Redirect .php requests to extensionless URL
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /(([^/]+/)*[^/.]+)\.php
RewriteRule ^(([^/]+/)*[^/.]+)\.php$ http://www.example.com/$1? [R=301,L]
How Could i modify the above code to remove the .php (just worried about funcionality by just removing the .php