Jump to content

Quick question


timmy0320

Recommended Posts

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? 

Link to comment
https://forums.phpfreaks.com/topic/97352-quick-question/
Share on other sites

Archived

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

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.