View Single Post
  #3 (permalink)  
Old 10-06-2007, 13:02
WelshTom's Avatar
WelshTom WelshTom is offline
Moderator
 
Join Date: May 2007
Location: Newport, Wales
Posts: 892
Send a message via AIM to WelshTom Send a message via MSN to WelshTom Send a message via Yahoo to WelshTom
Default

The RewriteRule ^contact$ contact.php rule works fine, but only as long as I don't have the rewrite rules which wordpress has which is:

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

I want to allow to have the above rule, aswell as allowing contact.php to be renamed to contact.

Here is the one which DOESN'T work:

RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
RewriteRule ^contact$ contact.php
__________________
Thomas Williams
JST Hosting
Freephone: 0800 622 6352
Reply With Quote