Monday, January 26, 2015

how to display user defined URLs


I have created a text link on my home page.its Example Domain.


when a user click on the link, it takes him to a page, streets.php so the url is "http://ift.tt/1DbLCH2" but, i want the URL to be displayed as "http://ift.tt/1H1fdbX"


then when user selects one street from this page, the url will be "http://ift.tt/1DbLCXl" but, i want the URL to be displayed as "http://ift.tt/1DbLFlX"


I am a beginner and i tried with editing .htacccess file but that didnt work...


Here is what i added to .htaccess file


" RewriteEngine on


RewriteRule ^http://ift.tt/1JvXGXk house-for-sale-condo-mls.php [NC] " ...


so will the above line redirect "http://ift.tt/1JvXJCx " to "http://ift.tt/1JvXJCB "?


when i typed in the URL,http://ift.tt/1yWC5UY , i got this error : The requested URL /http://ift.tt/1JvXMy6 was not found on this server.


..thank you in advance for all those who r gonna help



No comments:

Post a Comment