how to add text in url profile name

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.

Quote · 5 Jul 2013

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
Quote · 7 Jul 2013

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

In general URIs as defined by RFC 3986 may contain any of the following characters: ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~:/?#[]@!$&'()*+,;=. Any other character needs to be encoded with the percent-encoding (%hh). Each part of the URI has further restrictions about what characters need to be represented by an percent-encoded word.

So what is this profilename part going to contain? If there is the possibility of invalid characters appearing in the url you will need to deal with it. It's one of the reasons dolphin restricts usernames to specific characters. It makes it easier to keep the urls within rfc specifications.

Also the : you want to use. Although it is a valid character, how your using it is not valid because the : has a specific purpose when used in a url.



https://www.deanbassett.com
Quote · 7 Jul 2013

Thanx for the info so far.

will look into it better and come with proper details in what i want

Quote · 7 Jul 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.