Results 1 to 4 of 4

Tricky Rewrite Settings

This is a discussion on Tricky Rewrite Settings within the General Discussion forums, part of the vBSEO SEO Plugin category; Hi everyone, I just started a new vb forum and I'm in the process of setting things up. I'd like ...

  1. #1
    Member
    Real Name
    Jim MacDiarmid
    Join Date
    Mar 2008
    Posts
    48
    Liked
    0 times

    Tricky Rewrite Settings

    Hi everyone,

    I just started a new vb forum and I'm in the process of setting things up. I'd like to get another copy of vbSEO for it but I'm not sure how it's going to work. The reason is because I set my new forum up as an addon domain to my primary domain on BlueHost.com. Without any futher configuration, this will give the following url configurations:

    http://addondomain.primarydomain.com/

    -and-

    http://www.primarydomain.com/addondomain/

    Now, here's the catch. I've purchased a new .com domain name to go with this addon domain. In the Bluehost FAQ page, they give instructions on adding a few lines to your .htaccess file which will prevent anyone from accessing your addon domain through the previously mentioned urls, and have it forwarded (301'd) to your new .com domain. Here is the commands they suggest using:

    Code:
     
    RewriteEngine On
    RewriteCond %{HTTP_HOST} ^addondomain.primarydomain.net$ [OR] 
    RewriteCond %{HTTP_HOST} ^www.addondomain.primarydomain.net$ 
    RewriteRule .* http://newdomain.com/ [r]
    I'd like to be able to use vbSEO to optimize my site, however I don't know if or how it will affect my website.

    Thanks in advance for any help and advice on this,
    Jim

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

    these rewrite rules will NOT be conflicting with vBSEO, there should be no issues.

  3. #3
    Member
    Real Name
    Jim MacDiarmid
    Join Date
    Mar 2008
    Posts
    48
    Liked
    0 times
    Quote Originally Posted by Oleg Ignatiuk View Post
    Hello,

    these rewrite rules will NOT be conflicting with vBSEO, there should be no issues.
    Ok very good to hear! Thank you. Would there be anything special I need to do, such as is there an order that the rules need to appear in the htaccess file?

  4. #4
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,742
    Liked
    168 times
    You will just append vBSEO rewrite rules to your existing .htaccess file in this case.

Similar Threads

  1. Which URL Rewrite Pre-settings to Use?
    By Neutral Singh in forum URL Rewrite Settings
    Replies: 2
    Last Post: 02-14-2008, 07:24 AM
  2. URL Rewrite Settings
    By shazi_786 in forum Espaņol
    Replies: 2
    Last Post: 12-03-2007, 03:30 AM
  3. Replies: 8
    Last Post: 02-25-2007, 08:39 AM
  4. Rewrite settings - which is best?
    By jdougher in forum URL Rewrite Settings
    Replies: 2
    Last Post: 02-23-2007, 01:37 PM
  5. URL Rewrite Settings / Custom Rewrite Rules
    By shanemcse in forum General Discussion
    Replies: 0
    Last Post: 03-04-2006, 01:57 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
  •