vBSEO! Really need help!

vinni

New Member
I've been trying to get this for a very long time and I think I'm already going insane lol. My problem is that my url rewrites become something like:

http://mydomain.com/domains/mydomain.com/html/forums/members/username.html

The red part is my problem. My site is hosted on MediaTemple and it seems that it gives out the full path from the server itself. How can I make it so it appends only forums/members/username.html? One more thing, I was wondering why the full path starts after mydomain.com. Why is it that forums/ is not includedm even though i have RewriteRule ^(.*)$ http://mydomain.com/forums/$1 [L,R=301] in my htaccess?

Using vBulletin 3.8.0 and vBSEO 3.2.0, here's the full htaccess:

PHP:
# 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 /forums/

RewriteCond %{HTTP_HOST} ^www\.mydomain\.com$
RewriteRule ^(.*)$ http://mydomain.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]

I'd really appreciate it guys! Thanks a lot and more power to vBTEAM!
 

virus

New Member
put this htaccess in your forum directori not in root (public_html)

RewriteEngine On

RewriteBase /forums/

RewriteCond %{HTTP_HOST} ^www.mydomain.com [NC]
RewriteRule ^(.*)$ http://mydomain.com/forums/$1 [R=301,L]

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]
 

Grinderhand

New Member
AdminCP -> vBulletin Options -> Site Name/URL/Contact List -> Forum URL

This should be EXACTLY what would appear in your browser to access your site, such as "http://www.yoursite.com". If you just have "www.yoursite.com" that could be the cause.
 

vinni

New Member
the url has http:// in it. i even tried it with and without www.

do you think this has something to do with mediatemple? cause it works fine on my localhost

i just need to cut the path and start it from 'forums/members/username.html' instead of the whole 'domains/mydomain.com/html/forums/members/username.html' for example :(
 

bulletin

New Member
alright your .htaccess is not the main problem, i think you have not changed your settings in vbseo, that created problem for you.

First give permission 777 to config_vbseo.php file in includes folder. Then Go to vbseo control panel, put your password there and see the settings, where you will be asked to give your subfolder name, if your subfolder name is forums, then put forums name in that settings, thats all it should work now.
 

vinni

New Member
Sorry but where in the settings do i put the correct subforum? I already changed permissions to config_vbseo.php and nothing changed.

Ahh im stuck with disabling forum rewrite, did anyone here encounter something similar before?
 

peeyooshk

New Member
After installation everything works perfect except that users r unable to login as they are being re-directed to the homepage after they enter there username & password. please help.
 
Top