I asked this before but lost the info..
i want to add some tekst in the profile url like this http://www.yoursite.com/Profile:profilename
please advise.
I asked this before but lost the info.. i want to add some tekst in the profile url like this http://www.yoursite.com/Profile:profilename please advise.
|
I could possibly be totally off-base, but hopefully my thoughts can lead you in the direction you are seeking. I recently ran into a situation in which i needed to change a url to display just the username. I created a page called Chart.php. I wanted it to function the same as the profile.php page in regards to the url. So, I added a line to my htaccess file to rewrite my url. I am wondering if this could possibly also work for you in your scenario. Basically, my original url is mysite.com/Chart.php?client=xxxxx and my new url is mysite.com/Chart/xxxx. My rewrite rule is: RewriteRule ^Chart/(.*)$ Chart.php?ID=$1 [QSA,L] So, using the same logic, I am wondering if: RewriteRule ^Profile:(.*)$ profile.php?ID=$1 [QSA,L] would work for you. Unfortunately, I think you would have to rewrite all references to mysite.com/xxxx to mysite.com/Profile:xxxx
This is just a guess based on what I needed and I hope it gives you the direction you are looking for. caredesign.net |
You also need to be careful. To many people are under the false impression that you can put anything in the url, but that not true. URL's need to follow RFC specifications. http://tools.ietf.org/html/rfc3986 https://www.deanbassett.com |
Thanx for the info so far. will look into it better and come with proper details in what i want |