vBulletin SEO Forums

SEO

vBulletin Search Engine Optimization

Buy vBSEO Now! HACKER SAFE certified sites prevent over 99.9% of hacker crime.
ne nw
vBSEO Total Support Team Launches DeskPro New vBSEO Discount Level for Network Builders vBSEO 3.2.0 GOLD Has Landed Success with vBSEO = 600ore Web Visitors + $1400 in a Day! Crawlability Inc. Files for SEO Technology Patent
se sw

404 Not Found after move

This is a discussion on 404 Not Found after move within the Troubleshooting forums, part of the vBSEO SEO Plugin category; I just moved my website to a new host, and I am having trouble getting vBSEO to work. When I ...

Go Back   vBulletin SEO Forums > vBSEO SEO Plugin > Troubleshooting

Enhancing 80 million pages.

Register FAQ Members List Social Groups Calendar Search Today's Posts Mark Forums Read

Reply

 

LinkBack Thread Tools
  #1  
Old 08-20-2008, 02:14 PM
Junior Member
 
Real Name: Philip
Join Date: Jan 2007
Posts: 11
404 Not Found after move

I just moved my website to a new host, and I am having trouble getting vBSEO to work. When I visit rewriten links, I get a 404 error which states that "the requested .../.../vbseo.php was not found on this server."

What could be causing this, and what can I do to fix this?

Thanks in advance.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #2  
Old 08-20-2008, 02:16 PM
Joe Ward's Avatar
vBSEO Staff
vBSEO Total Customer SupportvBSEO Documenter
 
Real Name: Joseph Ward
Join Date: Jun 2005
Location: Puerto Rico
Posts: 20,166
Blog Entries: 7
Did you verify that the vbseo.php file is on the new server. Did you make any changes, such as the domain name, or folder the forum is in, etc?
__________________
Joe Ward / Crawlability Inc.
Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service

vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations

6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #3  
Old 08-20-2008, 02:38 PM
Mert Gökçeimam's Avatar
vBSEO.com Webmaster
vBSEO Total Customer SupportvBulletin HackerBig Board Administrator
 
Real Name: Lizard King
Join Date: Oct 2005
Location: Istanbul
Posts: 8,360
Blog Entries: 1
Send a message via MSN to Mert Gökçeimam
Hello Philip ,

Please download config_vbseo.php to your pc , manually edit the file and look for the following setting
PHP Code:
    define('VBSEO_CUSTOM_DOCROOT',         ''); 
Add your forum path between two brackets. Save and reupload the file. then login to your vBSEO Control Panel and save settings without changing anything
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #4  
Old 08-20-2008, 02:40 PM
Junior Member
 
Real Name: Philip
Join Date: Jan 2007
Posts: 11
Quote:
Originally Posted by Joe Ward View Post
Did you verify that the vbseo.php file is on the new server. Did you make any changes, such as the domain name, or folder the forum is in, etc?
The vbseo.php file is on the new server. Before migrating to the new server I updated vBSEO to its newest version, and checked so that everything was working on the first server.

The folder that the forum is in is changed, along with the domain. Before redirecting the DNS I am using a temporary "domain" to check if things work.

Quote:
Originally Posted by Mert Gökçeimam View Post
Hello Philip ,

Please download config_vbseo.php to your pc , manually edit the file and look for the following setting
PHP Code:
    define('VBSEO_CUSTOM_DOCROOT',         ''); 
Add your forum path between two brackets. Save and reupload the file. then login to your vBSEO Control Panel and save settings without changing anything
I'll try this out and get back to you
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #5  
Old 08-20-2008, 02:54 PM
Junior Member
 
Real Name: Philip
Join Date: Jan 2007
Posts: 11
I am not able to access my AdminCP to complete your instructions because I get the same 404 error as on other pages.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #6  
Old 08-20-2008, 03:46 PM
briansol's Avatar
Senior Member
vBSEO Pre-Release TeamDesign for SEOBig Board Administrator
 
Real Name: Brian
Join Date: Apr 2006
Location: Central CT, USA
Posts: 5,776
That is not in the admincp.
/forums/includes/config_vbseo.php

you need to ftp the file down locally, edit it, ftp upload it back.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #7  
Old 08-20-2008, 06:13 PM
Junior Member
 
Real Name: Philip
Join Date: Jan 2007
Posts: 11
Quote:
Originally Posted by Mert Gökçeimam View Post
Hello Philip ,

Please download config_vbseo.php to your pc , manually edit the file and look for the following setting
PHP Code:
    define('VBSEO_CUSTOM_DOCROOT',         ''); 
Add your forum path between two brackets. Save and reupload the file. then login to your vBSEO Control Panel and save settings without changing anything
Quote:
Originally Posted by briansol View Post
That is not in the admincp.
/forums/includes/config_vbseo.php

you need to ftp the file down locally, edit it, ftp upload it back.
Mert suggests that I edit the file, and upload it to the server. However, he then says that I should login to my vBSEO CP and save the settings.

If anyone knows what is wrong I would really appreciate it if they could share their wisdom
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #8  
Old 08-20-2008, 07:04 PM
briansol's Avatar
Senior Member
vBSEO Pre-Release TeamDesign for SEOBig Board Administrator
 
Real Name: Brian
Join Date: Apr 2006
Location: Central CT, USA
Posts: 5,776
yes, AFTER you do what i suggest.

do this exactly

Ftp down
edit
ftp up
log in
save settings


When you change the docroot, you should be able to login again
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #9  
Old 08-20-2008, 07:07 PM
Junior Member
 
Real Name: Philip
Join Date: Jan 2007
Posts: 11
Quote:
Originally Posted by briansol View Post
yes, AFTER you do what i suggest.

do this exactly

Ftp down
edit
ftp up
log in
save settings


When you change the docroot, you should be able to login again
I have done that, but I am not able to save settings since I don't have access to the AdminCP.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #10  
Old 08-20-2008, 07:09 PM
briansol's Avatar
Senior Member
vBSEO Pre-Release TeamDesign for SEOBig Board Administrator
 
Real Name: Brian
Join Date: Apr 2006
Location: Central CT, USA
Posts: 5,776
go direct to the vbseo file...

http://yoursite.com/forums/vbseocp.php
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #11  
Old 08-20-2008, 07:13 PM
Junior Member
 
Real Name: Philip
Join Date: Jan 2007
Posts: 11
Tried that, and it still gives me the 404 error. Could this have anything to do with the domain name not being correct? At the moment I am visiting the site through the server IP/folder/folder etc.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #12  
Old 08-20-2008, 08:45 PM
briansol's Avatar
Senior Member
vBSEO Pre-Release TeamDesign for SEOBig Board Administrator
 
Real Name: Brian
Join Date: Apr 2006
Location: Central CT, USA
Posts: 5,776
vbseo and vbulletin only works on 1 domain, as defnied in the vb options, not IP. so yes, that very well may be the problem you're having.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #13  
Old 08-30-2008, 09:32 AM
Junior Member
 
Real Name: Philip
Join Date: Jan 2007
Posts: 11
Still having problems with this. I have redirected the domain to the new server, and whenever I visit a URL which should be rewritten, I get this (shortened version):

PHP Code:
<?php

/************************************************************************************
vBSEO 3.2.0 for vBulletin v3.x.x by Crawlability, Inc.
*                                                                                   *
* Copyright © 2005-2008, Crawlability, Inc. All rights reserved.                    *
* You may not redistribute this file or its derivatives without written permission. *
*                                                                                   *
* Sales Email: sales@crawlability.com                                               *
*                                                                                   *
*----------------------------vBSEO IS NOT FREE SOFTWARE-----------------------------*
* http://www.crawlability.com/vbseo/license/                                        *
************************************************************************************/

error_reporting(0);
include_once(
'includes/functions_vbseo.php');
include_once(
'includes/' VBSEO_VB_CONFIG);
if(isset(
$_GET['vbseourl']))
$vbseo_url_ =  $_GET['vbseourl'];
else
{
list(
$vbseo_url_$vbseo_url_par) = explode('?'VBSEO_REQURL);
$vbseo_url_ urldecode($vbseo_url_);
}
if (
ini_get("magic_quotes_gpc"))
{
$vbseo_url_ stripslashes($vbseo_url_);
}
$vbseo_fullurl VBSEO_TOPREL $vbseo_url_;
$vbseo_url_suggest '';
switch (
$vbseo_url_)
{
case 
'vbseo.php':
exit;
break;
case 
'vbseo_sitemap.php':
case 
'vbseocp.php':
case 
'cron.php':
case 
'cron.html':
include 
$vbseo_url_;
exit;
break;
}
if (
VBSEO_IN_PINGBACK && ($vbseo_url_ == 'vbseo-xmlrpc/'))
{
if (!
defined('THIS_SCRIPT'))
@
define('THIS_SCRIPT''newreply');
include 
dirname(__FILE__) . '/global.' VBSEO_VB_EXT;
vbseo_extra_inc('linkback');
vbseo_xmlrpc_proc();
exit;
}
if (
VBSEO_REDIRECT_PRIV_EXTERNAL && ($vbseo_url_ == VBSEO_REDIRECT_URI))
{         
$uredir urldecode($_GET['redirect']);
$uredir preg_replace('#&(?![a-z0-9\#]+;)#si''&amp;'$uredir);
$uredir str_replace('"''&quot;'$uredir);
if (
preg_match('#^https?:\/\/#'$uredir) && !preg_match('#["<>]#'$uredir))
{
echo 
'<html><head><meta http-equiv="refresh" content="0;url=' $uredir '"></head><body></body></html>';
exit;
}
}
if (!
VBSEO_ENABLED && preg_match('#^(.*?\.php)/(.*)$#'$vbseo_url_$vu_match) &&
file_exists($vu_match[1]))
$vbseo_url_ $vu_match[1];
define('VBSEO_BASEURL'basename($vbseo_url_));
global 
$vbseo_gcache$found_object_ids;
if(isset(
$_GET['vbseorelpath']))
$vbseo_relpath $_GET['vbseorelpath'];
if(!
file_exists($vbseo_relpath))
$vbseo_relpath '';
define('VBSEO_RELPATH'$vbseo_relpath != '');
if (
VBSEO_RELPATH)
chdir($vbseo_relpath);
if (
vbseo_security_check($vbseo_url_))
vbseo_404();
$vbseo_file_exists = (file_exists($vbseo_url_
|| (
file_exists(basename($vbseo_url_)) && strstr($vbseo_url_'.' VBSEO_VB_EXT))) 
&& (
$vbseo_url_[strlen($vbseo_url_)-1] != '/');
$vbseo_file_exists_deep file_exists($vbseo_url_) && strstr($vbseo_url_'/');
$vbseo_found false;
define('VBSEO_PREPROC'1);
$vbseo_proc VBSEO_ENABLED && !defined('VBSEO_UNREG_EXPIRED');
if (
$vbseo_proc)
{
The contents of my .htaccess located in the /forum/ directory is the following:

Quote:
# 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 vB folder (i.e. RewriteBase /forums/)
RewriteBase /forum/

#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]

RemoveHandler .html .htm AddType application/x-httpd-php .php .htm .html
This is getting very tiring, could someone please help me?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #14  
Old 08-30-2008, 04:49 PM
briansol's Avatar
Senior Member
vBSEO Pre-Release TeamDesign for SEOBig Board Administrator
 
Real Name: Brian
Join Date: Apr 2006
Location: Central CT, USA
Posts: 5,776
if you're actually seeing php output, you php installation is fubar.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
  #15  
Old 08-30-2008, 06:39 PM
Junior Member
 
Real Name: Philip
Join Date: Jan 2007
Posts: 11
Quote:
Originally Posted by briansol View Post
if you're actually seeing php output, you php installation is fubar.
That is what I thought at first aswell, but I am able to access my index.php for vBAdvanced as normal. So this can be ruled out...

Any other suggestions?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Share on Facebook!
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads

Thread Thread Starter Forum Replies Last Post
Move Copyright? John3971 General Discussion 3 05-28-2008 03:41 PM
move from .ext to .com magnaromagna General Discussion 1 03-03-2007 05:11 PM
Server Move gedsta General Discussion 3 01-21-2007 01:44 PM
Where do I edit to MOVE it Kihon General Discussion 1 09-20-2006 03:40 PM
move threads cfages URL Rewrite Settings 2 05-28-2006 12:19 PM


All times are GMT -4. The time now is 05:36 PM.


Powered by vBulletin Version 3.8.0 Release Candidate 2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.5 ©2008, Crawlability, Inc.