Results 1 to 10 of 10

stupid question, check that

This is a discussion on stupid question, check that within the General Discussion forums, part of the vBSEO SEO Plugin category; VERY Stupid question and a complete brain FART If someone types in http://vbseo.com how can i get them to force ...

  1. #1
    Senior Member
    Real Name
    Mike Simonds
    Join Date
    Oct 2005
    Location
    Texas
    Posts
    240
    Liked
    2 times

    stupid question, check that

    VERY Stupid question and a complete brain FART

    If someone types in http://vbseo.com how can i get them to force redirect to http://www.vbseo.com


    God its on the tip or my toungue!!!
    THIS IS DRIVING ME CRAZY

  2. #2
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    13 times
    RewriteCond %{HTTP_HOST} !^www\.vbseo\.com
    RewriteRule (.*) http://www.vbseo.com/$1 [R=301,L]

  3. #3
    Senior Member
    Real Name
    Mike Simonds
    Join Date
    Oct 2005
    Location
    Texas
    Posts
    240
    Liked
    2 times
    Thanks dude
    damn I am fried

  4. #4
    Member
    Join Date
    Nov 2005
    Posts
    53
    Liked
    0 times
    Quote Originally Posted by ConqSoft
    RewriteCond %{HTTP_HOST} !^www\.vbseo\.com
    RewriteRule (.*) http://www.vbseo.com/$1 [R=301,L]
    Do you put that in .htaccess in the root?

  5. #5
    Senior Member
    Real Name
    Keith Cohen
    Join Date
    Jul 2005
    Location
    Raleigh, NC USA
    Posts
    6,147
    Liked
    13 times
    Yes, since vbSEO has an option to do the same thing for everything under your forums directory.

  6. #6
    Member
    Join Date
    Nov 2005
    Posts
    53
    Liked
    0 times
    Cool. I've added it to my forum. Thanks.

  7. #7
    Junior Member
    Join Date
    Dec 2005
    Posts
    11
    Liked
    0 times
    Quote Originally Posted by ConqSoft
    Yes, since vbSEO has an option to do the same thing for everything under your forums directory.
    In vbSEo where is this option or am i just missing something easy again

  8. #8
    Senior Member
    Real Name
    Mike Simonds
    Join Date
    Oct 2005
    Location
    Texas
    Posts
    240
    Liked
    2 times
    Quote Originally Posted by ConqSoft
    Yes, since vbSEO has an option to do the same thing for everything under your forums directory.
    Hey dude i have a question for you

    When I implement this

    RewriteCond %{HTTP_HOST} !^www\.sportsrant\.com
    RewriteRule (.*) http://www.sportsrant.com/$1 [R=301,L]
    it is affecting my subdomains:

    example:

    without the aboved in the htaccess:

    http://sto.sportsrant.com/member-gallery/

    with the aboved in the htaccess:

    http://www.sportsrant.com/sto/member-gallery/

    and with this one modification, it is affecting the uploading of pictures

    is there a way to redo this so it does not affect subdomains!

    TIA

    Mike

  9. #9
    Senior Member Thomas Hoehl's Avatar
    Real Name
    Thomas
    Join Date
    Jul 2005
    Location
    Ockershausen, Germany
    Posts
    1,329
    Liked
    3 times
    Code:
    RewriteCond %{HTTP_HOST} ^sportsrant\.com$ [NC]
    RewriteRule ^(.*)$ http://www.sportsrant.com/$1 [R=301,L]
    Work this for you?

  10. #10
    ADM
    ADM is offline
    Senior Member ADM's Avatar
    Real Name
    Peter Papadopoulos
    Join Date
    Aug 2005
    Location
    Perth, Australia
    Posts
    254
    Liked
    0 times
    Add the subdomains to the ignore line like so:

    Code:
    RewriteCond %{HTTP_HOST} !^www\.sportsrant\.com
    RewriteCond %{HTTP_HOST} !^sto\.sportsrant\.com
    RewriteRule (.*) http://www.sportsrant.com/$1 [R=301,L]

Similar Threads

  1. Pagerank question
    By emin in forum General Discussion
    Replies: 3
    Last Post: 01-16-2006, 05:39 PM
  2. Replies: 3
    Last Post: 12-17-2005, 09:39 PM
  3. Probably a stupid question, but...
    By Spencer in forum General Discussion
    Replies: 9
    Last Post: 12-07-2005, 10:57 AM
  4. Question about spiders.
    By K4n4Dian-H4x0r in forum Off-Topic & Chit Chat
    Replies: 8
    Last Post: 11-17-2005, 11:08 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •