How to remove the /index.php from logo link?

Discussion in 'vBulletin' started by Happy Feet, Aug 31, 2009.

  1. #1
    i want to remove the /index.php from my logo link and than do a little work in the .htaccess file so i dont have /index.php urls, only .com/.

    I looked in the header and index files and i cant seem to find where i would change that. anyone have any clues?
     
    Happy Feet, Aug 31, 2009 IP
  2. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #2
    If you want to do it with a template edit, edit the header template and change this:

    <a href="$vboptions[forumhome].php$session[sessionurl_q]">
    HTML:
    to this:
    <a href="./$session[sessionurl_q]">
    HTML:
     
    digitalpoint, Aug 31, 2009 IP
  3. Happy Feet

    Happy Feet Guest

    Messages:
    101
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Thanks man. I changed the logo and used the same thing for the navbar, now they all point to .com/
     
    Happy Feet, Aug 31, 2009 IP
  4. abdobasha2004

    abdobasha2004 Well-Known Member

    Messages:
    1,117
    Likes Received:
    30
    Best Answers:
    0
    Trophy Points:
    160
    #4
    I just put the direct link
    however "./$session[sessionurl_q]" seems better !
     
    abdobasha2004, Sep 4, 2009 IP
  5. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,334
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #5
    Yeah better to do it that way so people with cookies disabled would still stay logged in if they clicked it.
     
    digitalpoint, Sep 5, 2009 IP
  6. policywala

    policywala Active Member

    Messages:
    177
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    55
    #6
    Good Info. I was looking for the same.

    Thanks
     
    policywala, Sep 29, 2009 IP