Okay then I must be saying something wrong or I forgot something - I also
need to create a .htaccess file somewhere and add the rewrite rules right?
So I guess I need this also:
RewriteCond %{REQUEST_URI} ^/([a-z]*)/([0-9]*)$
RewriteRule ^/(.*)/(.*)$ /index.php?type=$1&id=$2 [NC,QSA,L]
I am in deed talking about friendly URL rewriting.
On Tue, Apr 22, 2008 at 10:31 AM, velda <[EMAIL PROTECTED]> wrote:
> Maybe we're not thinking of the same thing when we say "rewrite" ? I'd
> think for a rewrite you need to take a friendly url like this:
>
> /whatever/x/y/ or even
> /whatever.php/x/y/
>
> ... and make the server _think_ you're actually sending it a query string
> like this:
>
> /whatever.php?category=x&item=y
>
> So the contents of the above less friendly url show up when a user or
> spider visits the friendly url. How does one do that without apache?
>
>
>
>
>
>
--
Nathan Lane
Home, http://www.nathandelane.com
Blog, http://nathandelane.blogspot.com
_______________________________________________
UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net