View Full Version : Dev site forwarding back to main
mathforum
05-03-2015, 12:44 AM
Hi everyone,
I'm trying to update my dev site by clearing out the old one and making a new copy. I've followed the directions posted here (https://www.vbulletin.com/docs/html/main/upgrade_testsite) and this process has worked before:
1) Turn off forum
2) Change forum folder and forum URL in AdminCP to point to dev site
3) Copy db
4) Change (2) back to main site values
5) Copy files over to dev site
6) Load db copy with new values
7) Change config.php file to new values
I've done all this but yet the dev site won't load and is immediately forwarding back to the main site. I do have DBseo installed but don't know how to account for this.
Any ideas?
ForceHSS
05-03-2015, 01:14 AM
htaccess file have you updated it
mathforum
05-03-2015, 01:19 AM
htaccess file have you updated it
Good catch. Didn't think of that.
The .htaccess file was in fact copied over and I just deleted it. Unfortunately it still redirects to the main site. Should I make a new .htaccess file and put something particular in it? I feel like the deletion would take care of potential issues.
ForceHSS
05-03-2015, 02:27 AM
I have this in mine
RewriteEngine on
RewriteCond %{HTTP_HOST} ^skaperend\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.skaperend\.com$
RewriteRule ^(.*)$ http://www.mystechtronics.net/$1 [R=301,L]
Change what you need and use
mathforum
05-03-2015, 02:45 AM
I have this in mine
RewriteEngine on
RewriteCond %{HTTP_HOST} ^skaperend\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.skaperend\.com$
RewriteRule ^(.*)$ http://www.mystechtronics.net/$1 [R=301,L]
Change what you need and use
Just to confirm, this is what you have for your dev site .htaccess? I have a main .htaccess file that is quite long with custom rewrites and stuff for DBSeo. My dev site is located in a folder like this: mainsite.com/dev/forum.php.
ForceHSS
05-03-2015, 03:30 AM
Just to confirm, this is what you have for your dev site .htaccess? I have a main .htaccess file that is quite long with custom rewrites and stuff for DBSeo. My dev site is located in a folder like this: mainsite.com/dev/forum.php.
Yes I have a lot more info in my htaccess file but there is no need to upload the whole file
mathforum
05-03-2015, 09:40 AM
Didn't work unfortunately.
The only thing I can think of is DBTech's DBSeo. On my old dev site we didn't have this since we made it before we installed the product, so maybe the doubled files are still redirecting to the main site. The issue is I can't get to the dev site AdminCP to check or disable the product. How can I disable a product without the AdminCP? Could I try just deleting those files on the dev site?
--------------- Added 1430654425 at 1430654425 ---------------
Ok, I disabled all plugins on the dev site by adding this to the config.php file - didn't work.
define('DISABLE_HOOKS', true);
This has got to mean the database copy didn't work properly and isn't pointing to the right place, right?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.