timmy0320 Posted March 22, 2008 Share Posted March 22, 2008 Let's say I'm doing something along the lines of RewriteRule ^(.*)\.html$ $1.php [nc] ]/code] Now in doing so I can still access both .php and .html by typing into the URL. Is there a way to disallow access to viewing .php files so I don't have to worry about duplicate content? Quote Link to comment https://forums.phpfreaks.com/topic/97352-quick-question/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.