View Single Post
  #1 (permalink)  
Old 09-06-2007, 22:43
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 mod_rewrite doing my head in :P

Hi

First of all, I'm going to show you what I'm trying to achieve.

On top of the wordpress rewrite rule to change index.php?p=1 to /category/blah

Wordpress rule:

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

I also want to rewrite all my php files, (like about.php) to about, and contact.php to contact etc.

I know mod_rewrite is a pain, but hope someone can help
__________________
Thomas Williams
JST Hosting
Freephone: 0800 622 6352
Reply With Quote