Results 1 to 4 of 4

Subdomain htaccess on vbseo

This is a discussion on Subdomain htaccess on vbseo within the Pre-Sales Questions forums, part of the Announcements & Pre-Sales category; Hi. I have to buy a new license for my new forum. If I wanted to install my forum with ...

  1. #1
    Member cionfs's Avatar
    Real Name
    Antonio
    Join Date
    Jul 2007
    Location
    Taranto, Italy, Italy
    Posts
    86
    Liked
    0 times

    Subdomain htaccess on vbseo

    Hi.

    I have to buy a new license for my new forum.

    If I wanted to install my forum with VBSeo in a subdomain, have I to edit the htaccess file?

    Example standard htaccess.

    Code:
    # Comment the following line (add '#' at the beginning)
    # to disable mod_rewrite functions.
    # Please note: you still need to disable the hack in
    # the vBSEO control panel to stop url rewrites.
    RewriteEngine On
    
    # Some servers require the Rewritebase directive to be
    # enabled (remove '#' at the beginning to activate)
    # Please note: when enabled, you must include the path
    # to your root vBulletin folder (i.e. RewriteBase /forums)
    #RewriteBase /
    
    #RewriteCond %{HTTP_HOST} !^www.yourdomain.com
    #RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]
    
    RewriteRule ^((urllist|sitemap_).*.(xml|txt)(.gz)?)$ vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L]
    
    RewriteCond %{QUERY_STRING} !vbseourl=
    RewriteCond %{REQUEST_URI} !(admincp/|modcp/|chat|cron)
    RewriteRule ^(.*.php)$ vbseo.php?vbseourl=$1 [L,QSA]
    
    RewriteCond %{REQUEST_FILENAME} !.(jpg|gif)$
    RewriteRule ^(archive/.*)$ vbseo.php?vbseourl=$1 [L,QSA]
    
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    
    RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/RewriteRule ^(.+)$ vbseo.php?vbseourl=$1 [L,QSA]
    For my subdomain (example: forum.domain.ltd) how can I do?
    Can I use the standard htaccess?

    Thank you.

  2. #2
    Senior Member
    Real Name
    Michael Biddle
    Join Date
    Jan 2007
    Location
    Southern California
    Posts
    7,097
    Liked
    4 times
    Hello,

    The standard .htaccess will do.
    The Forum Hosting - Forum Hosting from the Forum Experts

  3. #3
    vBSEO Staff Brian Cummiskey's Avatar
    Real Name
    Brian Cummiskey
    Join Date
    Jul 2009
    Location
    btwn NYC and Boston
    Posts
    12,782
    Liked
    648 times
    Blog Entries
    2
    To claify, the only thing you would need to ensure is that your htaccess is IN the subdomain, and you change our the www's below for your 'forum' subdomain, ie:

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

    to

    RewriteCond %{HTTP_HOST} !^forum.yourdomain.com
    RewriteRule (.*) http://forum.yourdomain.com/$1 [L,R=301]
    Brian Cummiskey / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


  4. #4
    Member cionfs's Avatar
    Real Name
    Antonio
    Join Date
    Jul 2007
    Location
    Taranto, Italy, Italy
    Posts
    86
    Liked
    0 times
    Ok. Thank you very much.

Similar Threads

  1. Problem mit Domain Subdomain und .htaccess
    By SirHappy in forum Deutsch
    Replies: 11
    Last Post: 06-21-2009, 11:54 AM
  2. Subdomain vBSEO htaccess - Blank Pages
    By Neal in forum Troubleshooting
    Replies: 2
    Last Post: 11-27-2008, 01:45 PM
  3. silly subdomain fights with htaccess :)
    By sfnet in forum URL Rewrite Settings
    Replies: 3
    Last Post: 12-07-2007, 02:43 PM
  4. subdomain redirect with .htaccess
    By eJM in forum General Discussion
    Replies: 0
    Last Post: 10-28-2007, 08:14 AM

Posting Permissions

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