The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
correct
the first line of code above, will display the string in the URL -- no matter what is typed in. But, I would like to display the "nice seo name" that vBulletin is ACTUALLY currently using. (Despite, the string used to arrive there.) e.g. if someone arrives to FORUM 176 via any of the below links: vbulletin.com/forum/forumdisplay.php/176 vbulletin.com/forum/forumdisplay.php/176-PartyPartyParty vbulletin.com/forum/forumdisplay.php/176-TheWorstForumEver vbulletin.com/forum/forumdisplay.php/176-DontGoToThisForumOrYouDie vbulletin.com/forum/forumdisplay.php/176-vBulletin-Mobile-Suite I would like vBulletin to always print the ACTUAL "nice seo name" of the forum: which is: vbulletin.com/forum/forumdisplay.php/176-vBulletin-Mobile-Suite |
#12
|
||||
|
||||
Yes, the first block of code I posted will do that.
Code:
{vb:raw vboptions.bburl}/{vb:link forum, {vb:raw forum}} |
#13
|
|||
|
|||
i double checked it again.
that line of code merely prints whatever is in the URL e.g. forumdisplay.php/176-TheWorstForumEver still prints "TheWorstForumEver" I need to print forumdisplay.php/176-vBulletin-Mobile-Suite |
#14
|
||||
|
||||
Are you using the Mod Rewrite Friendly URLs option? Since that option requires rewrite rules by your server, it could be why it doesn't change in the template output. It works for me on all the Friendly URL settings, except that one, which I can't even test because I don't have my server configured for it.
|
#15
|
|||
|
|||
hi
i tried it on a vbulletin 4.1.4 install with the default theme. on the FORUMDISPLAY template i dont remember setting or changing any "mod rewrite" command. so i assume its using the default... |
#16
|
||||
|
||||
HTML Code:
{vb:raw vboptions.bburl}/{vb:link forum, {vb:raw foruminfo},null,'forumid','title_clean'} |
#17
|
|||
|
|||
YAY!!!!!!!!!!!
Thanks!!!!!!!!!!!!!! for future people, this is the line I used: Code:
<link rel="canonical" href="{vb:raw vboptions.bburl}/{vb:link forum, {vb:raw foruminfo},null,'forumid','title_clean'}" /> http://www.youtube.com/watch?v=Cm9onOGTgeM This issue wont be troublesome for many. But for me, I have over 2,000 forums in my vbulletin install. And the names of the forums tend to change. This could also be an issue for someone who moves from "non-seo" to seo'd URLs - e.g. someone who perhaps does a VBulletin upgrade. anyway, Thanks everyone! |
#18
|
|||
|
|||
Quote:
What's the canonical-tag for page 2..3...and so on? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|