RewriteRule is giving me an error.

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
tecktalkcm0391
DevNet Resident
Posts: 1030
Joined: Fri May 26, 2006 9:25 am
Location: Florida

RewriteRule is giving me an error.

Post by tecktalkcm0391 »

I have about nine other rules, some with conditions above this that all worked/still work fine. I just cant get this to work:

Code: Select all

RewriteRule ^browse/([A-Za-z+])/$ /browser.php?cat=$1 [NC]
I want it so if a user goes to site.com/browse/kitchen it goes to browser.php?cat=kitchen.

HELP! Thanks!
Last edited by tecktalkcm0391 on Sun Jun 10, 2007 2:42 pm, edited 1 time in total.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Re: RewriteRule Giving me an error.

Post by volka »

tecktalkcm0391 wrote:RewriteRule Giving me an error.
Does this include an error message?
tecktalkcm0391 wrote:

Code: Select all

RewriteRule ^browse/([A-Za-z+])/$ /browser.php?cat=$1 [NC]
Where did you place this rule?
User avatar
tecktalkcm0391
DevNet Resident
Posts: 1030
Joined: Fri May 26, 2006 9:25 am
Location: Florida

Post by tecktalkcm0391 »

its just gives me a page cannot be found. and its in the .htaccess
Post Reply