redirect index.php/latest.html (fake) --> index.php?p=d

Discuss practical ways rearrange URLs using mod_rewrite.

redirect index.php/latest.html (fake) --> index.php?p=d

Postby Sxperm » Thu Jan 19, 2006 8:16 pm

Hi, I've used Phplinkdirectory and I want to create fake URL like
http://www.estateround.com/latest.html
when user click on this url then call to this url
http://www.estateround.com/index.php?p=d
to pass variable to server without show variable path, How to make this work?

here is my current htaccess file
Code: Select all
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* index.php [QSA,L]


Regards,
Sxperm
Sxperm
 
Posts: 9
Joined: Thu Jan 19, 2006 8:41 am

Return to Friendly URLs with Mod_Rewrite

Who is online

Users browsing this forum: No registered users and 26 guests

cron