php dynamic to static

Discuss practical ways rearrange URLs using mod_rewrite.

php dynamic to static

Postby dcl » Thu Jan 08, 2004 8:57 am

Im getting lost and going nowhere with this,

Is this so difficult - from

- mysite.com/categorie.php?id=1

- to mysite.com/categorie/1

I started on the .htaccess and nothing seems to happen - but this is what Im using -

RewriteEngine on
RewriteRule ^categorie/([a-zA-Z]+)/?$ categorie.php?id=$1 [L]

Any help would be overwhelmingly appreciated!

thanks

DCL
dcl
 

Return to Friendly URLs with Mod_Rewrite

Who is online

Users browsing this forum: No registered users and 20 guests

cron