The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Redirection issue
I have vbulletin suite 4.2.2 patch 1
I am not using the CMS and have it disabled. I am using Wordpress for main page CMS. My vbulletin forums are in /forum/ My wordpress is in /main/ When going to root domain URL it is redirecting to forum.php where I would rather going to root went to /main Any idea how to achieve this ? |
#2
|
|||
|
|||
anyone any help or info. really annoying me.
|
#3
|
||||
|
||||
If your vbulletin files are in /forum and not in the root, then it is your .htaccess or your root index.php file that is doing the redirecting, so you will need to look at them.
|
#4
|
|||
|
|||
Thanks Lynne, yeh I have been looking at both all day but just can't figure it out.
Heres what I have in htaccess ## EXPIRES CACHING ## <IfModule mod_expires.c> ExpiresActive On ExpiresByType image/jpg "access 1 year" ExpiresByType image/jpeg "access 1 year" ExpiresByType image/gif "access 1 year" ExpiresByType image/png "access 1 year" ExpiresByType text/css "access 1 month" ExpiresByType application/pdf "access 1 month" ExpiresByType text/x-javascript "access 1 month" ExpiresByType application/x-shockwave-flash "access 1 month" ExpiresByType image/x-icon "access 1 year" ExpiresDefault "access 2 days" </IfModule> ## EXPIRES CACHING ## <IfModule mod_rewrite.c> RewriteEngine on # Set to vbulletin directory RewriteBase / # Retrieve gamedata requests and send to new dbtech locations RewriteRule ^arcade/gamedata/(.*) dbtech/vbarcade/media/$1 [L] # Retrieve crossdomain requests and send to new dbtech location RewriteRule ^crossdomain\.xml dbtech/vbarcade/crossdomain.xml [L] # Send hardcoded legacy scores to arcade instead RewriteCond %{REQUEST_URI} newscore\.php [OR] RewriteCond %{REQUEST_URI} viewgame\.php RewriteRule .* arcade.php?sendscore=legacy [L,QSA] # Send hardcoded legacy scores to arcade instead RewriteCond %{QUERY_STRING} func=storeScore [OR] RewriteCond %{QUERY_STRING} autocom=arcade [OR] RewriteCond %{QUERY_STRING} act=arcadelib [OR] RewriteCond %{QUERY_STRING} act=Arcade RewriteRule .* arcade.php [L,QSA] # Reroute v3arcade liveinstaller RewriteCond %{QUERY_STRING} do=liveinstall RewriteCond %{REQUEST_URI} v3arcade_admin\.php # If you renamed your admincp directory, change it here RewriteRule .* %{DOCUMENT_ROOT}/admincp/arcade_admin.php?%{QUERY_STRING}&do=review&import= browse&system=v3a [L,R=301] </IfModule> RewriteEngine on # If you are having problems or are using VirtualDocumentRoot, uncomment this line and set it to your vBulletin directory. RewriteBase / # If you are having problems with the rewrite from content/ to content.php, uncomment this line to turn MultiViews off. # Options -MultiViews RewriteRule ^forum/(.*)$ /$1 [L,R=301] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [NC,L] # Forum RewriteRule ^threads/.* showthread.php [QSA] RewriteRule ^forums/.* forumdisplay.php [QSA] RewriteRule ^members/.* member.php [QSA] RewriteRule ^blogs/.* blog.php [QSA] RewriteRule ^entries/.* entry.php [QSA] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [NC,L] # MVC RewriteRule ^(?.*?)(?:/|$))(.*|$)$ $1.php?r=$2 [QSA] # Check MVC result RewriteCond %{REQUEST_FILENAME} -f RewriteRule ^(.*)$ - [NC,L] RewriteRule ^(.*)$ - [R=404,L] <IfModule mod_security.c> SecFilterEngine Off SecFilterScanPOST Off </IfModule> # BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress redirect 301 /arcade.php http://********.com redirect 301 /content.php http://********.com/main And here is my index php <?php /* Tell forum.php to redirect to the default url as defined in the navigation manager */ define('VB_REDIRECT', true); /** * If you want to move this file to the root of your website, change the * line below to your vBulletin directory and uncomment it (delete the //). * * For example, if vBulletin is installed in '/forum' the line should * state: define('VB_RELATIVE_PATH', 'forum'); * * Note: You may need to change the cookie path of your vBulletin * installation to enable your users to log in at the root of your website. * If you move this file to the root of your website then you should ensure * the cookie path is set to '/'. * * See 'Admin Control Panel * ->Cookies and HTTP Header Options * ->Path to Save Cookies */ //define('VB_RELATIVE_PATH', 'forum'); // Do not edit anything below // if (defined('VB_RELATIVE_PATH')) { chdir('./' . VB_RELATIVE_PATH); } require('forum.php'); |
#5
|
||||
|
||||
You've got the default vbulletin index.php page in your root. It is going to redirect anyone to your vbulletin site. If you want to redirect them somewhere else, then you need to either do so in your .htaccess file or write your own index.php file which redirects them.
|
#6
|
|||
|
|||
I tried putting in the wordpress indexphp which works. I try checking my site with seocentro or other sites and it shows a 503 error although I can see the page when browsing via url no problem. confused.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|