The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to remove "index.php?" from Home links?
I have a forum where I would like to remove the index.php? part of the Home links in my forum. Like here for example (http://www.vtctalk.com/forumdisplay.php?f=15):
VTCTalk.com - Video conferencing Forum > Hardware The link "VTCTalk.com - Video conferencing Forum " points to http://www.vtctalk.com/index.php? instead of http://www.vtctalk.com Maybe in this case it makes no difference but on my site I would like to direct all pagerank to www.vtctalk.com and not half of it to www.vtctalk.com/index.php?. So the question is, how do I change/get rid of this index.php? part of the "http://www.vtctalk.com/index.php?" link? Is there some template file I can edit or some other setting? All help and suggestions are greatly appreciated. Thanks, Martin. PS: I searched the forum for a solution as I cannot imagine that I'm the first one with this problem, but I didn't find anything. Maybe I'm just an idiot at searching |
#2
|
||||
|
||||
you could always open navbar template and find
$vboptions[forumhome].php$session[sessionurl_q] and replace with http://www.vtctalk.com done |
#3
|
|||
|
|||
Sweeet !! :up:
Thanks a lot jaycob! /martin |
#4
|
|||
|
|||
Quote:
|
#5
|
|||
|
|||
Hmmm interesting point.... Well I'll wait and see if it is a problem. My feeling is that this link is not so much used a for example the "back" function..
But thanks for the info mihai11! |
#6
|
|||
|
|||
Quote:
Currently, in 3.6.8 there are 2 links from the navbar. The first link is this: Code:
<a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td> Code:
<a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div> Replace the first link with this: Code:
<if condition="$session[sessionurl_q]"> <a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td> <else /> <a href="$vboptions[bburl]" accesskey="1">$vboptions[bbtitle]</a></span> $navbits[breadcrumb]</td> </if> Code:
<if condition="$session[sessionurl_q]"> <a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div> <else /> <a href="$vboptions[bburl]" accesskey="1"><img class="inlineimg" src="$stylevar[imgdir_misc]/navbits_start.gif" alt="" border="0" /></a> <strong>$vboptions[bbtitle]</strong></div> </if> If you will perform a search on this template then you will also find the string "$vboptions[forumhome].php" in the "action" field of a form (it is at the bottom of the template). Don't touch that as it is not relevant for the issue discussed here. I hope that you understand my instructions. I don't have much time right now so I won't be able to provide much support for this issue. Regards, Razvan M. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|