Jump to content


Photo

mod_rewrite base file not showing?


  • Please log in to reply
1 reply to this topic

#1 tiki

tiki
  • Members
  • PipPipPip
  • Advanced Member
  • 45 posts

Posted 15 December 2005 - 04:31 AM

When I used mod_rewrite the users.php?page=$1 works but not users.php

Any ideas?

RewriteRule ^users/$ users.php
RewriteRule ^users/([a-z]+)/$ users.php?page=$1

#2 bon

bon
  • New Members
  • Pip
  • Newbie
  • 4 posts

Posted 21 January 2006 - 08:35 AM

Have you checked you're visiting example.com/users/ including the trailing slash? If you visit example.com/users without the trailing slash, your code won't work.

HTH




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users