Redirection Query

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
dheeraja
Forum Commoner
Posts: 36
Joined: Tue Nov 09, 2010 11:03 pm

Redirection Query

Post by dheeraja »

hello Guys,

Please refer this site http://www.dreamvacationrent.com/, it is having a link called "Our Rental Properties" now when you click on it it will show the url with the page name "properties-rental.html" but actually the page is "properties.php" like wise is has done with other links values passed through url are seen by using + or - sign, so how could this be done. Please help me...

Thank you.
TonsOfFun
Forum Commoner
Posts: 54
Joined: Wed Jun 02, 2010 7:37 pm

Re: Redirection Query

Post by TonsOfFun »

It's called mod_rewrite and you use .htaccess for it.

I have never used it, but try this tutorial.
http://roshanbh.com.np/2008/02/hide-php ... ccess.html

or this one for a more comprehensive guide to mod_rewrite
http://www.blogstorm.co.uk/htaccess-mod ... ate-guide/
Post Reply