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 6 of 6

.htaccess in forum root w/ exisiting .htaccess?

This is a discussion on .htaccess in forum root w/ exisiting .htaccess? within the Troubleshooting forums, part of the vBSEO SEO Plugin category; I'm sure this is a newb question. I did a search without result. My forums root is ww2f.com (as opposed ...

  1. #1
    Junior Member
    Real Name
    OttoBomb
    Join Date
    Jun 2007
    Posts
    5

    Question .htaccess in forum root w/ exisiting .htaccess?

    I'm sure this is a newb question. I did a search without result.

    My forums root is ww2f.com (as opposed to ww2f.com/forum/) and the install instructs me to install the .htaccess file into my forum root, but I already have an .htaccess file there.

    What is the workaround here?

  2. #2
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    24,527
    Hello,

    in most cases you can simply append vBSEO's .htaccess to existing one. What is your current .htaccess contents?
    Oleg Ignatiuk / Crawlability Inc.
    Sneek Preview Video of the new Control Panel

    vBSEO 3.5 RC2 (Final)- Released for your Evaluation


  3. #3
    Junior Member
    Real Name
    OttoBomb
    Join Date
    Jun 2007
    Posts
    5

    Thumbs up Current .htaccess file

    Thanks Oleg!

    Here is my current .htacces file

    Code:
    # -FrontPage-
    
    IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
    
    RewriteEngine On
    RewriteCond %{REQUEST_FILENAME} .*jpg$|.*jpeg$|.*gif$|.*png$|.*bmp$ [NC]
    RewriteCond %{HTTP_REFERER} ^[http|nttp].*$
    RewriteCond %{HTTP_REFERER} !^$
    RewriteCond %{HTTP_REFERER} !ww2n\.com [NC]
    RewriteCond %{HTTP_REFERER} !ww2\.org [NC]
    RewriteCond %{HTTP_REFERER} !ww2f\.com [NC]
    RewriteRule \.(gif|jpe?g|png)$ http://ww2f.com/images/leech.jpe [NC,L]
    
    <Limit GET POST>
    order deny,allow
    deny from all
    allow from all
    </Limit>
    <Limit PUT DELETE>
    order deny,allow
    deny from all
    </Limit>
    AuthName www.ww2f.com
    AuthUserFile /XXX/public_html/_vti_pvt/XXX
    AuthGroupFile /XXX/public_html/_vti_pvt/XXX
    
    I had jut figured out that I need to combine the files. Right now I forsee a couple problems, the double
    Code:
    RewriteEngine On
    
    line and the double
    Code:
    RewriteCond %{REQUEST_FILENAME}
    
    sections.

    I'm assuming that these might confict, any guidance is appreciated Oleg!

  4. #4
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    24,527
    You can skip the second "RewriteEngine on" line and just insert the contents of vBSEO's .htaccess right before this line:
    Code:
    <Limit GET POST>
    
    Oleg Ignatiuk / Crawlability Inc.
    Sneek Preview Video of the new Control Panel

    vBSEO 3.5 RC2 (Final)- Released for your Evaluation


  5. #5
    Junior Member
    Real Name
    OttoBomb
    Join Date
    Jun 2007
    Posts
    5
    Great stuff Oleg, you kick so much ass!

    I edited .htaccess file, uploaded, and it immediately broke some image links in my forums. Once I imported the vBSEO package it worked like a charm.

    I must say that I'm a complete newb about teh internets, but this install was certainly doable, even for me.

    Now I'm going to closely monitor my activity and see how busy things get.

  6. #6
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    24,527
    Great!
    Oleg Ignatiuk / Crawlability Inc.
    Sneek Preview Video of the new Control Panel

    vBSEO 3.5 RC2 (Final)- Released for your Evaluation


Similar Threads

  1. The vBSEO LinkBacks User Guide - vBSEO 3.0 GOLD
    By Joe Ward in forum General Discussion
    Replies: 37
    Last Post: 08-17-2009, 06:08 AM
  2. VBSEO crashing new server
    By MentaL in forum Troubleshooting
    Replies: 20
    Last Post: 12-11-2005, 06:55 PM