+ Reply to Thread
Results 1 to 5 of 5




  

Thread: vbulletin redirect http: to http://www.

      
  1. #1
    Nips Spam in the Bud EmmaB is a splendid one to beholdEmmaB is a splendid one to beholdEmmaB is a splendid one to beholdEmmaB is a splendid one to beholdEmmaB is a splendid one to beholdEmmaB is a splendid one to beholdEmmaB is a splendid one to beholdEmmaB is a splendid one to beholdEmmaB is a splendid one to beholdEmmaB is a splendid one to beholdEmmaB is a splendid one to behold EmmaB's Avatar
    Join Date
    February 15, 2008
    Location
    Ontario, Canada
    Posts
    779
    Rep Power
    6
    Feedback Score
    0

    Default vbulletin redirect http: to http://www.

    With a vBulletin forum, how can i redirect http:// to cPanelŽ. and detach the index.php from it as well?

  2. #2
    The Force is Strong! iowadawg has a reputation beyond reputeiowadawg has a reputation beyond reputeiowadawg has a reputation beyond reputeiowadawg has a reputation beyond reputeiowadawg has a reputation beyond reputeiowadawg has a reputation beyond reputeiowadawg has a reputation beyond reputeiowadawg has a reputation beyond reputeiowadawg has a reputation beyond reputeiowadawg has a reputation beyond reputeiowadawg has a reputation beyond repute
    Join Date
    October 18, 2006
    Posts
    6,872
    Rep Power
    11
    Feedback Score
    0

    Default Re: vbulletin redirect http: to http://www.

    .htaccess

  3. #3
    Nips Spam in the Bud EmmaB is a splendid one to beholdEmmaB is a splendid one to beholdEmmaB is a splendid one to beholdEmmaB is a splendid one to beholdEmmaB is a splendid one to beholdEmmaB is a splendid one to beholdEmmaB is a splendid one to beholdEmmaB is a splendid one to beholdEmmaB is a splendid one to beholdEmmaB is a splendid one to beholdEmmaB is a splendid one to behold EmmaB's Avatar
    Join Date
    February 15, 2008
    Location
    Ontario, Canada
    Posts
    779
    Rep Power
    6
    Feedback Score
    0

    Default Re: vbulletin redirect http: to http://www.

    Quote Originally Posted by iowadawg View Post
    .htaccess
    I know that, but what CODES? I shoulda put it into my OP lol

  4. #4
    Grand Masters Colleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond repute Colleen's Avatar
    Join Date
    September 22, 2006
    Location
    Canada
    Posts
    11,144
    Rep Power
    26
    Feedback Score
    0

    Default Re: vbulletin redirect http: to http://www.

    I would not do that, sometimes index.php is going to be needed in the url and for sessions. Why don't you do what we do here and just remove index.php from the title image and the breadcrumb link?

    Which can be done via editing the header and navbar templates.

  5. #5
    The Force is Strong! seovb will become famous soon enoughseovb will become famous soon enough
    Join Date
    August 11, 2008
    Posts
    169
    Rep Power
    4
    Feedback Score
    0

    Default Re: vbulletin redirect http: to http://www.

    index.php isn't need even if you're forced to using sessions or whatever as it can also append session id's without the .php file ex: 301 Moved Permanently would be the same as 301 Moved Permanently besides you shouldn't be using sessionID's anyway )

    Adding this code to .htaccess should redirect all traffic to your www version and without index.php. Good for consoldating pagerank rather than having 3 different pageranks for your home page
    Code:
    Options +FollowSymLinks
    DirectoryIndex index.php
     
    RewriteEngine On
    RewriteBase /
    RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/
    RewriteRule ^index\.php$ http://www.DOMAINNAME.com/ [R=301,L] 
     
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    ex: http://www.webtalkforums.com/index.php PR1
    http://www.webtalkforums.com/ PR3
    Last edited by seovb; Oct 1st, 2008 at 8:07 am.
    SEOVB had a hissy fit like a little bitch for not being able to follow the rules!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
WebTalkForums
WebTalkForums
Recent Forum Threads