Vbseo url rewrite problem need help :(

IrishJerk

New Member
I have had all those problem also don't give up the stuff works.
.1 I use CMPS i didn't name my index.php right
.2 Vbeso rewrote my members list avatars (setting needed to be turned off)
3. .htaccess was wrong on two levels....
Vbeso's htacess needs to be installed in the forums root folder in my case it is www.mysite.com/forum another htacess was needed to make my homepage work correctly, so i had to use an error redirect for a few days until I figured it out...
Don't give up it depends on your site structure all the stuff in here works if it doesn't it is operator error and the info is in here u just have to look for it
 

CarlMan

New Member
How do you mean? the file is not hidden.

perhaps i need to chmod the .htacces file to something else than 644 ?

i have also noticed one wierd thing.. some threads is still showing the full path to the forum in the middle of the URL,, corrupting the whole url.. but some is working correctly.

Do you have any explanation to this? maybe i can update the URL's somehow?
 

Grinderhand

New Member
If you turn off VBSEO but still have the rewrite rules enabled in the .htaccess file, it will create problems because they work together. You have to either rename the .htaccess file or comment out the rewrite rules. If you disable both the .htaccess and VBSEO, do you still have the problem?

Also, it sounds like you may have a problem with your VB settings, but we'll address that next.
 

CarlMan

New Member
If .htaccess is removed from the ftp (disabled), and vBSEO is disabled, Then the forum works with 100%.
 

virus

New Member
ntvirus said:
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

this simple my solution that a problem in admincp about your url and hompage url not in vbseo

try this
Code:
set your admincp > vboption> site name/url/contac details

put your url > http://www.yourdomain.com

your homepage >> http://www.yourdomain.com


[b]httpaccsess
[/b]

RewriteEngine On

RewriteBase /

RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301] << ( if get some error disble them with # this >> #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]
 

CarlMan

New Member
hi virus.. you were 100% correct. but i I got two questions.


1: what if the domain for the forum looks like this: - How will the htaccess look like?
a) http://forum.yourdomain.com
b) or http://domain.com - without the www


2: YAYY!! This fixes the "Page not found" Problem. But now all the layout-pictures is lost on the website. How do i fix this?

Thanks for the help
 
Top