Multiple Domains, Multiple Websites, on One Host, .htaccess

# ————————————
# CDSEO Pro
# ————————————
# This directory index is recommended to replace the
# x-cart default within this .htaccess file
DirectoryIndex home.php index.html index.php
php_value register_long_arrays On

# Enable mod rewrite engine
RewriteEngine On
# Some servers require this Options directive to be disabled
# Remove # at the beginning of this line to disable:
#Options -Multiviews

# Some servers require the Rewritebase directive to be enabled
# Remove # at the beginning of this line to enable:
RewriteBase /

RewriteCond %{REQUEST_URI} !(/admin/|/provider/)
RewriteCond %{REQUEST_FILENAME} !\.(jpg|gif|php)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ cdseopro.php
# ————————————
# / CDSEO Pro
# ————————————
RewriteCond %{HTTP_HOST}  www.xuyi168.com$ [NC]
RewriteCond %{REQUEST_URI} !^/bbs/.*$
RewriteRule ^(.*)$  /bbs/$1  [R]

RewriteCond %{HTTP_HOST}  www.xuyi168.net$ [NC]
RewriteCond %{REQUEST_URI} !^/forum/.*$
RewriteRule ^(.*)$  /forum/$1 [R]

Posted in Other. No Comments »

How to install vbulletin blog?

Upload all files to you via ftp. Import produtct from your vbulltin control panel, import the product : include/xml/product-vbblog.

Conditional to check if home page, show different header of vbulletin?

I want to show a different header for the home page versus all interior pages, and am wondering what conditional I should write to check for that, but also, how to create and reference a different header for the homepage.

 Add the following code at header or footer templates.

<if condition=”THIS_SCRIPT == ‘index’”>
{banner for index here}
<else />
{banner for all other pages here}
</if>

How to Fix broken user profiles of Vbulletin?

Go to Admin Control Panel –> Maintenance –> Update Counters –> Fix broken user profiles

Done.