Vbseo url rewrite problem need help :(

ntvirus

New Member
Hello guys

i am having a problem with vbseo when ever i turn it on it duplicates my forum url like


www.domain.com to --->> www.domain.com/www.domain.com/


and the pages also don,t open any solution to this problem?

i need some help on this

the main page is not duplicate but all other pages other than main page are duplicate
 

CarlMan

New Member
i have this problem as well. im using vb 3.7 and vbseo 3.1 . can someone plz tell what the hell is going on here? :)
 

CarlMan

New Member
here is the .htaccesss file...

Code:
# 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 /

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

dracula51

New Member
use this-

Code:
# 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 /

#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 %{REQUEST_URI} !(admincp/|modcp/|cron)
RewriteRule ^((archive/)?(.*\.php(/.*)?)?)$ vbseo.php [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !^(admincp|modcp|clientscript|cpstyles|images)/
RewriteRule ^(.+)$ vbseo.php [L,QSA]

let me know the result
 

CarlMan

New Member
Now it does not show the error message anymore, but corrupts the pages. I cannot acces any page now.
 

Grinderhand

New Member
You're using the .htaccess dracula51 posted above and it's giving you errors?

Did you get the copy of VBSEO here?

Which copy are you using? There are several available; one is notorious for causing problems.
 

CarlMan

New Member
Well, i tried to update to 3.2 that is here. It seems to not work well when you update from 3.1 to 3.2. I dont remember where i downloaded it . Is it any help if I say it worked with PHP SAFE mode on?
 

CarlMan

New Member
Ok. I have Uninstalled 3.1 and removed VBSEO in databse.

The current installed version is 3.2 . But now i only get a "Page not found" error on the StartPage.
 

Grinderhand

New Member
Now, when you say your "startpage" are you referring to your forum home page?

And what is the "everything else" that IS working?
 

CarlMan

New Member
yes, the home page forum listing is the only page that cannot be viewed. All other pages can be viewed and works correctly.

For instance if i go into members/xxxxx.html ... everything will work. From there i can follow all links, to all categories,threads and posts. But if i go to the forum homepage it will show "Page not found"
 

Grinderhand

New Member
That's odd. It's usually the other way around - home page loads but everything else errors out.

(rolls up sleeves)

If you disable VBSEO, everything works normally?
 
Top