Results 1 to 2 of 2

New User Questions

This is a discussion on New User Questions within the General Discussion forums, part of the vBSEO SEO Plugin category; Hi, Just purchased VBSeo , have not installed yet, want to learn as much as I can from these forums ...

  1. #1
    Member
    Real Name
    treasureman
    Join Date
    Mar 2006
    Posts
    46
    Liked
    0 times

    New User Questions

    Hi,

    Just purchased VBSeo, have not installed yet, want to learn as much as I can from these forums first.

    One question I have is about my current .htaccess file in the root of my domain. I have it fixed so that it eliminates the www from the URL. I have my forum installed in /forums but have the .htaccess sets the DirectoryIndex so it appears the forum is installed in the root.

    So the .htaccess for my domain root is:

    Code:
    DirectoryIndex /forums/index.php
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^www\.mydomain\.com$ [NC]
    RewriteRule ^(.*)$ http://mydomain.com/$1 [R=301,L]
    And the .htaccess file for my /forums directory is:

    Code:
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^www\.mydomain\.com$ [NC]
    RewriteRule ^(.*)$ http://mydomain.com/$1 [R=301,L]
    This works well, if someone types in the URL which includes the www or mydomain.com/forums then in their browser location bar it comes up mydomain.com and they are looking at my forum.

    Also I thought it would make it easier for the search engines just to list the root and not have the www to split the page ranking in Google.

    Currently my site is PR5 for the root, and PR4 for the /forums directory.

    So, down to my question: Are there any problems with leaving the above .htaccesses as they are (which I prefer) after VBSeo is installed?

    Thanks!

  2. #2
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,741
    Liked
    168 times
    Hello,

    please feel free to leave your existing .htaccess in the root and append contents of .htaccess from vBSEO package to the one you have in the /forums folder.

Similar Threads

  1. Happy New Year and a couple of pre-installation questions
    By selwonk in forum General Discussion
    Replies: 18
    Last Post: 01-03-2006, 01:28 PM
  2. Replies: 11
    Last Post: 11-17-2005, 09:04 PM

Posting Permissions

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