Easy mod rewrite

Discuss practical ways rearrange URLs using mod_rewrite.

Easy mod rewrite

Postby Guest » Sun Jan 23, 2005 1:43 am

Hello!

I would like to rewrite this url:
http://www.myurl.com/links/dir.php

to this:
http://www.myurl.com/dir.php

This is what I've used:
RewriteEngine on
RewriteBase /
RewriteRule ^dir.php$ links/dir.php [R,L]

Thanks in advance.

Trond.
Guest
 

No problem, managed to solve it.

Postby Guest » Sun Jan 23, 2005 1:59 am

Problem solved
Guest
 


Return to Friendly URLs with Mod_Rewrite

Who is online

Users browsing this forum: No registered users and 12 guests

cron