Back to vBulletin 3.7 Template Modifications

Remove index.php from logo link
Mod Version: 1.00, by Golzarion

This modification is in the archives.
vB Version: 3.7.x Rating: (7 votes - 4.57 average) Installs: 53
Released: 16 May 2008 Last Update: Never Downloads: 11
Not Supported Template Edits  

Remove index.php from logo link :

For better SEO we redirect all the similar addresses to one standard address . For example in my forum, all similar addresses like :

http*://forum.golzarion.com/ index.php
http*//www.forum.golzarion.com/index.php
...
all redirect to : http://forum.golzarion.com

but the link of logo still was :www. my site.com/index.php

What does this mode do ?

It removes " index.php" from logo link . Now when users click on logo the logo links them to the address of "www*.your site.com " with out any "index.php" on the link.

To remove " logo index.php " link :

go to header template ( admin cp =>Styles&Templates=>style manager=>all style option+>> header )

in header find :

Code:
$vboptions[forumhome].php$session[sessionurl_q]
and replace it with :

Code:
$vboptions[bburl]$session[sessionurl_q]
then save the changes. and refresh your forum pages and see logo link without " index.php "

Please click if you use this mode . thanks

For more information see Post#4

Spoiler (click to open)


Quote by Magnumutz
And... this is better for SEO?
Yes,I believe it !
As you know vBulletin has the addresses as :
"yoursite.com "& "yoursite.com/index.php" .

That's theoretically bad .That's bad because it dilutes your incoming links. some people link to " yoursite.com" others link to " yoursite.com/index.php"

You can fix it by using .htaccess codes and redirect 301. but it is better to correct all the internal links too. and prevent duplication addresses.

Close
.

Download

No files for download.


vblts.ru supports vBulletin®, 2022-2024