.htaccess woes...

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
User avatar
Todd_Z
Forum Regular
Posts: 708
Joined: Thu Nov 25, 2004 9:53 pm
Location: U Michigan

.htaccess woes...

Post by Todd_Z »

Code: Select all

RewriteEngine On

RewriteCond %{REQUEST_URI}!/$
RewriteRule ^(.*)$ /$1/ їR=301,L]

RewriteRule ^(ї^/]*)/(ї^/]*)/$ /?p=$1&q=$2
RewriteRule ^(ї^/]*)/$ /?p=$1
All I want to have happen is first, add a trailing slash if its not there, then parse into a query string.

i.e. http://www.domain.com/page/number = /?p=Page&q=number

It fails - any ideas?
Post Reply