htaccess not working

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
GeXus
Forum Regular
Posts: 631
Joined: Sat Mar 11, 2006 8:59 am

htaccess not working

Post by GeXus »

I have the following in my htaccess

Code: Select all

Options +FollowSymlinks
RewriteEngine on
RewriteRule ^quizzes/(.*)/(.*)$ quizzes/?qid=$1&page=$2 [nc]
RewriteRule ^testing/(.*)/$ testing/?page=$1 [nc]
The last rule for testing simply doesn't work... I always get page not found, any ideas what is wrong?
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

Examples?
User avatar
s.dot
Tranquility In Moderation
Posts: 5001
Joined: Sun Feb 06, 2005 7:18 pm
Location: Indiana

Post by s.dot »

When you're testing it, are you including the trailing / that you have in your rewrite rule? http://www.example.com/testing/whatever/
Just asking because you have it in that rule, but not in the first one.
Set Search Time - A google chrome extension. When you search only results from the past year (or set time period) are displayed. Helps tremendously when using new technologies to avoid outdated results.
Post Reply