Removing index.php from vBulletin for SEO

Discussion in 'Search Engine Optimization' started by RGO, May 18, 2005.

  1. #1
    I've read it's a good practice to remove the index page from sites (eg. domain.com/index.html > domain.com/) in terms of not splitting Link popularity between both pages.

    I'm trying to figure out how to do this with a vBulletin site using the Replacement variable manager - I've tried various strings from /index.php > / without success.

    I see Shawn (DigitalPoint) is doing this on this forum, if you've got time would you be able to share how you achieved this? or has someone else been able to do this with vBulletin?

    thanks for your help,

    :)
     
    RGO, May 18, 2005 IP
  2. l234244

    l234244 Peon

    Messages:
    1,225
    Likes Received:
    50
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You dont need to get rid if the index.php, just make sure all links point to domain.com, rather than domain.com/index.php. You could even stop stop the index.php file via the robots.txt if you want.
     
    l234244, May 18, 2005 IP
  3. ResaleBroker

    ResaleBroker Active Member

    Messages:
    1,665
    Likes Received:
    50
    Best Answers:
    0
    Trophy Points:
    90
    #3
    It's been a while but I believe you can edit the NAVBAR to get the result your after. Of course, backup your files before you attempt this. ;)

    FIND:
    REPLACE WITH:
    FIND:
    REPLACE WITH:
    FIND:
    REPLACE WITH:
     
    ResaleBroker, May 18, 2005 IP
  4. RGO

    RGO Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Its the vBulletin links (mostly the breadcrumb nav) that are the trouble.

    They're written internally via vBulletin so unless I make code changes directly to the PHP files you can't manually remove the index.php file - also if you did manually remove it it'd be a ball ache as you'd have to do it each time you upgrade.

    I guess that's why DP uses the Replacement variable manager.
     
    RGO, May 18, 2005 IP
  5. RGO

    RGO Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Thanks Jeffrey :)

    I'll give that a try.
     
    RGO, May 18, 2005 IP
  6. RGO

    RGO Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Worked well! thanks again.
     
    RGO, May 18, 2005 IP