Re: URL rewriting...anybody done this?
| From: | Brad Pauly | Date: | Wed, 14 Jan 2004 20:01:36 +0000 |
| Subject: | Re: URL rewriting...anybody done this? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-174579@lists.php.net to get a copy of this message | ||
On Wed, 2004-01-14 at 12:41, Ryan A wrote:
> Hey Jason, Brad,
> Thanks for replying.
>
> I took out the .php part...and even tried it with [L] tacked to the end of
> the second line....not working
> Heres how my .htaccess looks now:
>
> RewriteEngine On
> RewriteRule ^show/(.*)/(.*)/(.*) /show.php?category=poetry&sid=$2&id=$3
>
> I even took out the space which was in category.
>
> Any ideas?
Do you have a print or echo in show.php to see if you are getting there?
I would work on getting the rule to take you to the right place first,
then worry about the variables.
- Brad