Forum Moderators: phranque

Message Too Old, No Replies

Mod Rewrite Question

         

terrybarnes

9:17 pm on Jul 5, 2009 (gmt 0)

10+ Year Member



I'm using Wordpress and already have Wordpress already automatically making my post links pretty but I have a few other pages on my site that I'd like to make into nicer links.

I have this already in the htaccess file:

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

But I also have these urls

/sites/mysite/?version=1
/sites/mysite/?version=2

which I'd like to change to

/sites/mysite/1
/sites/mysite/2

Is there any way to do this? Any ideas or help would be very much appreciated.