View Full Version : I have a wordpress page but I want to keep my forum
Fudgyyy
04-17-2012, 03:19 AM
So I have a vBulletin forum and it's been in my root folder since I first started. But I want to make a wordpress page my homepage, and have the vBulletin forum as part of the site. So my site is named www.maddenstudents.com, and as of right now that takes it to our vBulletin forum. The forum is also linked www.maddenstudents.com/forum.php.
My wordpress page is set to www.maddenstudents.com/home. How do I get it so that my wordpress page automatically comes up when I type in www.maddenstudents.com instead of the forum.
EasyEazy
04-17-2012, 04:33 AM
So I have a vBulletin forum and it's been in my root folder since I first started. But I want to make a wordpress page my homepage, and have the vBulletin forum as part of the site. So my site is named www.maddenstudents.com, and as of right now that takes it to our vBulletin forum. The forum is also linked www.maddenstudents.com/forum.php.
My wordpress page is set to www.maddenstudents.com/home. How do I get it so that my wordpress page automatically comes up when I type in www.maddenstudents.com instead of the forum.
Have you got access to your cPanel? If so why not use a redirect in there. If you don't have cPanel or access then why not drop a redirect in the htaccess file in the public_html folder. Its simple enough to do.
Something like the code below you would be looking for
# .htaccess main domain to subfolder redirect
# Copy and paste the following code into the .htaccess file
# in the public_html folder of your hosting account
# make the changes to the file according to the instructions.
# Do not change this line.
RewriteEngine on
# Change yourdomain.com to be your main domain.
RewriteCond %{HTTP_HOST} ^(www.)?maddenstudents.com$ [NC]
# Change 'subfolder' to be the folder you will use for your main domain.
RewriteCond %{REQUEST_URI} !^/home/
# Don't change these lines.
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# Change 'subfolder' to be the folder you will use for your main domain.
RewriteRule ^(.*)$ /home/$1 [L]
# Change yourdomain.com to be your main domain again.
# Change 'subfolder' to be the folder you will use for your main domain
# followed by / then the main file for your site, index.php, index.html, etc.
RewriteCond %{HTTP_HOST} ^(www.)?maddenstudents.com$ [NC]
RewriteRule ^(/)?$ home/index.php [L]
if you need any help feel free to PM me
Fudgyyy
04-17-2012, 06:04 PM
I should also mention that I have the wordpress page under folder /home
EasyEazy
04-17-2012, 09:08 PM
I should also mention that I have the wordpress page under folder /home
yeah thats fine. In the code i provided i noticed you had it in that directory.
Have you dropped this code into your htacces file?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.