vBulletin Search Engine Optimization
This is a discussion on URL and skin problem within the Troubleshooting forums, part of the vBSEO SEO Plugin category; Guys Hello I had some troubles with my server and had to get a backup restored yesterday,I then decided to ...
| |||||||
Enhancing 80 million pages. | Register | FAQ | Members List | Social Groups | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| ||||
| ||||
| URL and skin problem
Guys Hello I had some troubles with my server and had to get a backup restored yesterday,I then decided to play around and Purchased a new forum template, everything is running fine after spending all day putting my cutomizations back in. Here is my problem when I go to www.taskforcealliance.com it takes me to my site but I get the default Vbulletin template, when I go to taskforcealliance.com I get the new forum template, for this reason I think it could be VB SEO related. It has taken me hours to work out what was happening, I only just realised it was the URL doing it. Custom skin is set to on, users can not change skin, I have rebuilt the templates in VB maintenace, so why is this changing on me through the URL? This is very confusing, I really hope this is a VB seo problem haha,because I have tried every other avenue. |
|
#2
| ||||
| ||||
|
skin choices are cookied. cookies are different for www VS non-www access. Fix: open your htaccess in your forums directory, and uncomment the two lines to direct non-www to www (basically, pick one. I DONT use www's) comments in htaccess start with "#" use this for www included: Code: #RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
#RewriteRule (.*) http://www.yourdomain.com/forums/$1 [L,R=301]
Code: RewriteCond %{HTTP_HOST} ^www\.yourdomain\.com
RewriteRule (.*) http://yourdomain.com/$1 [R=301,L]
|
|
#3
| ||||
| ||||
|
after that is done, those who are logged into the other that you chose will need to re-login and possibly re-select the new skin.
|
|
#4
| ||||
| ||||
|
ok thanks for the fast response, should I put my domain name in there instead of my domain? because default didnt have my url in it it just had yourdomain..
|
|
#5
| ||||
| ||||
|
Ok Code: RewriteCond %{HTTP_HOST} ^www\.yourdomain\.com
RewriteRule (.*) http://yourdomain.com/$1 [R=301,L]
So I had to revert back. I selected Custom user skin when I select a skin in my homepage, it auto bumps me to the forums with the new skin I selected, then I hit homepage and I go back to default? this is annoying the hell out of me haha |
|
#6
| ||||
| ||||
|
Could I disable rewrites and start with a fresh htaccess file?
|
|
#7
| ||||
| ||||
|
Ok all fixed ,I had to enable the skin on my end for both urls then its fixed, if I dont do that it keeps occuring. I guess if we run vbSEO you cant have user select theme on for forums unless url re-writes are off? no biggie because I only run the 1 template anyway,its just strange thats all. |
|
#8
| ||||
| ||||
|
sorry, i had a typo in there.... the first code block should NOT have the #'s on it. need to remove those (to un-comment those lines) and yes, obviously change 'yourdomain' to your actual board domain name. |
|
#9
| ||||
| ||||
|
Ok I am in a bit of trouble here now My .htaccess looks like 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 %{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] I dont use the www either, what can we do to get my site back up ^^ |
|
#10
| ||||
| ||||
|
Ok I dont know what I have changed but now it it working ,but not the way I intend, I punch in taskforcealliance.com and it brings me to www.taskforcealliance.com/forums. I just want http://taskforcealliance.com and taskforcealliance to both bring me to my homepage, but at the moment I cant access it till we fix my file, I am tired now must get some sleep , hopefully we can work on this later. |
|
#11
| ||||
| ||||
|
I think I know what i was doing wrong ,being tired I was putting it in my root, and not my forum root. I can access my site now. Can you look at my access file and let me know if it looks ok? Code:
#RewriteCond %{HTTP_HOST} ^www\.taskforcealliance.com\.com
#RewriteRule (.*) http://taskforcealliance.com/$1 [R=301,L]
|
|
#12
| ||||
| ||||
| Quote:
http://www.vbseo.com/tickets/
__________________ 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. |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| skin styles and forum home link problem | msalman | General Discussion | 0 | 08-12-2007 04:49 PM |
| vBSeo Skin? | Ad1tya | Pre-Sales Questions | 2 | 06-17-2007 10:05 PM |
| VBSEO Skin ? | Future | Pre-Sales Questions | 16 | 05-14-2007 10:57 PM |
| What forum skin are you using | sportsmedjosh | Off-Topic & Chit Chat | 14 | 04-19-2007 03:33 PM |