vBulletin 4, the most powerful community software + vBSEO 3.5, the ultimate SEO solution = Your ultimate platform for 2010 and beyond. Click below to learn more.

Results 1 to 4 of 4

.htaccess Check

This is a discussion on .htaccess Check within the General Discussion forums, part of the vBSEO SEO Plugin category; Hi there, I just want to make sure that I set up this .htaccess rule the right way; it seems ...

  1. #1
    Member
    Real Name
    Juan
    Join Date
    Aug 2007
    Posts
    87

    .htaccess Check

    Hi there,

    I just want to make sure that I set up this .htaccess rule the right way; it seems to be working as intended.

    Code:
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^aelyria.\playbypost\.com
    RewriteRule (.*) http://www.playbypost.com/aelyria/$1 [L,R=301]
    
    When should I use "!" at the beginning of the Cond? (e.g., "!^www.\playbypost\.com") I've seen that in other rewrite rules, but am not too sure what it signifies.

  2. #2
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,983
    ! means "not"

    your rule will only match that one specified subdomain.

    a better way is probably to put:


    Code:
    RewriteEngine On
    RewriteCond %{HTTP_HOST} !^www\.playbypost\.com
    RewriteRule (.*) http://www.playbypost.com/aelyria/$1 [L,R=301]
    
    in the aelyria directory htaccess

  3. #3
    Junior Member
    Real Name
    palooo
    Join Date
    Oct 2008
    Posts
    2
    hello guys,

    Today i installed vbseo on my forum....everything works fine but only the problem is about my threads.......index is working fine but when i click on a thread, i just logout automatically.....plzzz help me

    Thanks...

  4. #4
    Senior Member
    Real Name
    Joseph Ward
    Join Date
    Jun 2005
    Posts
    23,847
    Blog Entries
    9
    Quote Originally Posted by palooo View Post
    hello guys,

    Today i installed vbseo on my forum....everything works fine but only the problem is about my threads.......index is working fine but when i click on a thread, i just logout automatically.....plzzz help me

    Thanks...
    We do not have you listed as a customer. Please send me your forum URL and order # so that I can assign you to your license.

Similar Threads

  1. Replies: 5
    Last Post: 05-12-2009, 03:29 PM
  2. current .htaccess vs vbseo .htaccess
    By karlm in forum Pre-Sales Questions
    Replies: 7
    Last Post: 08-26-2008, 08:48 PM
  3. Wordpress htaccess + vbseo htaccess
    By chris06 in forum URL Rewrite Settings
    Replies: 1
    Last Post: 11-01-2007, 11:56 AM
  4. .htaccess in forum root w/ exisiting .htaccess?
    By OttoBomb in forum Troubleshooting
    Replies: 5
    Last Post: 07-03-2007, 03:45 PM