Results 1 to 12 of 12

htaccess question before I install

This is a discussion on htaccess question before I install within the General Discussion forums, part of the vBSEO SEO Plugin category; I just downloaded vbseo 3.2.0 RC5. Do I need to edit anything in the htaccess file before uploading it to ...

  1. #1
    Junior Member
    Real Name
    Bert Linson
    Join Date
    May 2008
    Posts
    3
    Liked
    0 times

    htaccess question before I install

    I just downloaded vbseo 3.2.0 RC5.

    Do I need to edit anything in the htaccess file before uploading it to the forum root folder?

    My domain name is xlforum.net.

    I have vbportal installed in a directory directly under the root call vbportal and vbulletin in a directory called forums within the vbportal directory.

    http://xlforum.net/vbportal/forums

  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,

    default .htaccess file should work without modifications, but it's suggested to apply non-www to www redirect rules as described in [How to] Setup www.yourdomain.com or yourdomain.com (www vs. non-www) - With .htaccess 301 redirects

  3. #3
    Junior Member
    Real Name
    Bert Linson
    Join Date
    May 2008
    Posts
    3
    Liked
    0 times
    Thanks. I was concerned because my domain is a .net domain and not .com .

    I don't have to change the .com to .net?

  4. #4
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,741
    Liked
    168 times
    You should specify your own domain name in rewrite rules.

  5. #5
    Junior Member
    Real Name
    Bert Linson
    Join Date
    May 2008
    Posts
    3
    Liked
    0 times
    Thanks again. So in others words I should uncomment the following two lines.

    Code:
    #RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
    #RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]
    And replace them with:

    Code:
    RewriteCond %{HTTP_HOST} !^www\.xlforum\.net
    RewriteRule (.*) http://xlforum.net/vbportal/forums/$1 [L,R=301]
    Right?

    Or should I just leave these lines alone if I do not want to rewrite the domain address?

  6. #6
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,741
    Liked
    168 times
    If you have forums URL defined as "xlforum.net" in vB admincp options, then you should use "xlforum.net" in both lines. If you have it defined as "www.xlforum.net", use www domain.

  7. #7
    Member
    Real Name
    Tran
    Join Date
    Feb 2006
    Posts
    83
    Liked
    0 times
    Hello
    I have my vbportal in my root directory. How Can I have rewrite rule?
    Thanks

  8. #8
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,741
    Liked
    168 times
    You will have to create a separate .htaccess file in root folder, an example is here: rewrite root vba cmps pages

  9. #9
    Member
    Real Name
    Tran
    Join Date
    Feb 2006
    Posts
    83
    Liked
    0 times
    Hello
    I have some module like this





    Can you show me some custome rewrite rule for them?
    Thanks

  10. #10
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,741
    Liked
    168 times
    Why do you want to rewrite URLs like "/modules/News/index.php"? They seem to be ok as is (without ?xx=aaa parameters).

  11. #11
    Member
    Real Name
    Tran
    Join Date
    Feb 2006
    Posts
    83
    Liked
    0 times
    Quote Originally Posted by Oleg Ignatiuk View Post
    Why do you want to rewrite URLs like "/modules/News/index.php"? They seem to be ok as is (without ?xx=aaa parameters).
    Hello

    Do you mean that I should not use vbseo with vbportal?

    Thanks

  12. #12
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,741
    Liked
    168 times
    I mean that it is not required to rewrite "modules/XXXX/index.php" URL. If you have other URLs to rewrite, that may be useful.

Similar Threads

  1. Install Question
    By kuyenmotdivad in forum Troubleshooting
    Replies: 5
    Last Post: 01-26-2008, 08:12 PM
  2. htaccess install error / question
    By pufftenticle in forum Troubleshooting
    Replies: 2
    Last Post: 12-01-2006, 02:48 PM
  3. htaccess problem with vBSEO install
    By Sonnie in forum Troubleshooting
    Replies: 15
    Last Post: 09-05-2006, 01:07 AM
  4. Question regarding install
    By soletrader in forum General Discussion
    Replies: 2
    Last Post: 08-15-2006, 05:27 PM
  5. Install Question
    By psinewe in forum General Discussion
    Replies: 1
    Last Post: 07-20-2006, 06:20 PM

Tags for this Thread

Posting Permissions

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