![]() |
Remove index.php from logo link
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] Code:
$vboptions[bburl]$session[sessionurl_q] Please click installed if you use this mode . thanks For more information see Post#4 . |
First post . I hope it would be useful .
Special thanks to my best friend Shahed. |
And... this is better for SEO?
|
Quote:
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. |
It works fine with all versions : 3.6.8 / 3.7.0 / 3.7.1 or higher .
And it is xhtml valid. |
Cheers!
|
thanx
|
Does it effect any links that I now have with the index.php already listed?
|
it should be default ;)
and to dadoc's question.. you and everyone should 301 redirect the index.php to the root/ ;) actually,, if you just add a redirect in your htaccess, you don't even need this template edit :D |
Quote:
Quote:
why should we have an internal link to " index.php " ?? in logo or else where ? I think it is an improvement but you can uninstall / never install if you think it is something useless !!! but as I believe : Quote:
:) |
Loco, how should it be default? No offense, but you say everything should be "default". ;)
|
Quote:
click installed if you use this mode . thanks |
I'm going to use this mod. Thank you :) I can't click install though yet because my website is still setting up and I can't install my vBulletin.
|
Thanks, and installed.
|
Quote:
I don't know how to explain it any clearer ;) btw.. I've maybe said 3 hacks/threads on the org, should be implemented as default.. I'm not sure what your talking about :rolleyes: |
What's wrong with asking for stuff to be default? There's a lot of mods here that should be, and those are just the small, practical mods.
|
|
Thanks a ton. Been looking for this for a while. :)
|
Quote:
|
please can you tell were the height of the default logo is stored i have looked in header
not there? |
I have a custom theme and have this line:
Code:
<form action="$vboptions[forumhome].php" method="get" onsubmit="return this.gotopage()" id="pagenav_form"> |
Quote:
But the logo picture stored on "images/misc" directory by default ... you can change the logo and upload with the custom size. Although you can write the custom code on header template and Determine the logo size exactly . for example : HTML Code:
<a href="http://forum.golzarion.com/"> |
Quote:
|
very useful i never knew how to
|
This "index.php" in the logo also annoyed the crap out of me. Thanks, installed! It should be standard, I agree.
|
Quote:
|
This is a good thing to implement.
Thanks for the walk through! |
This is good for SEO because Google gives PR separately to forum.example.com and forum.example.com/index.php:
http://www.skyscrapercity.com/ - PR6 http://www.skyscrapercity.com/index.php - PR5 But how should I change this if I have vBAdvanced on my homepage and vBSEO installed? TIA Michael |
Hi,
I'm using v3.8.1. I made the change but I still need to link including the 'index.php' suffix. Any ideas? I get the default Appache Test page without it. Many thanks, Alun |
Quote:
But no other idea. It works perfect on 2 of my forums. |
آقا خیلی سالاری
دست مریزاد دستت درد نکنهو سربلند باشی ایرانی |
Quote:
ممنون از لطف شما :) |
All times are GMT. The time now is 06:07 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|