The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How do I change the URL on my member's profile page
At the moment, the member profile URL's are things like...
www.myforum.com/member.php?u=1 I want them to be like... www.myforum.com/profile/username I know it can be done, anyone know how? |
#2
|
||||
|
||||
you need an htaccess file, and you need to amend a few links in the vbulletin templates.
e.g. I've got it set so when a user clicks my avatar (or any members) it links to the profile using their membername, obviously, that's just one element - there are a lot more. take a look at my sig. (antimisandry) to see it in action. if that's what you'd like, let me know and i'll try help you sort it out. |
#3
|
|||
|
|||
Sure, a bit of help would be appreciated
This is the forum: www.meadowforum.com It looks like you're using the same profile mod as me |
#4
|
|||
|
|||
@karlm: I hope you are still online here, since this post is one year old...
I also want to redirect my users to www.mydomain.com/username instead of www.mydomain.com/member.php?u=1 Can you explain me, how that redirecting exactly works with .htaccess? |
#5
|
|||
|
|||
<a href="https://vborg.vbsupport.ru/showthread.php?t=178929&highlight=myspace+profile+ rewrite" target="_blank">https://vborg.vbsupport.ru/showt...rofile+rewrite</a>
|
#6
|
||||
|
||||
I have a similar solution I coded myself, except that it does not require editing any templates. It will automatically send a 301 redirect from anyone accessing the member.php URL to the /members/username address.
I think I will probably release it in the near future. You can see it here. |
#7
|
|||
|
|||
Thanks for your quick replies.
@dismounted: can you send me a PM with the code, if you don't want to officially release it now? Your solution seems to be a really clean and easy solution. |
#8
|
||||
|
||||
I tightly integrated it with all the other code I was doing, so I have to separate that specific bit before releasing it.
|
#9
|
|||
|
|||
Allright. Just keep me up to date :-)
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|