Did vbseo 3.5 fixe this?
site:vbulletin.com "vBulletin Community Forum - Should I upgrade to 4.0 or wait" - Recherche Google
This is a discussion on vBSEO 3.5 Release Candidate 1 is here! within the vBSEO Announcements forums, part of the Announcements & Pre-Sales category; Did vbseo 3.5 fixe this? site:vbulletin.com "vBulletin Community Forum - Should I upgrade to 4.0 or wait" - Recherche Google...
Did vbseo 3.5 fixe this?
site:vbulletin.com "vBulletin Community Forum - Should I upgrade to 4.0 or wait" - Recherche Google
Yes, vbseo would rewrite that page to something like
http://www.vbulletin.com/content/163...-wait-article/
comments would be #hashed
http://www.vbulletin.com/content/163...comment1894238
etc
Brian Cummiskey / Crawlability Inc.
vBSEO 3.6.0 GOLD Released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
Any fixes yet for the main page. I have vbulletin the latest version and vbseo the latest version and still the homepage will not go to the main route...keeps redirecting homepage as /content
I edit admin setttings for vbulletin like you guys said...still not working...so still a bug there...everything else seems to work great but a big issue is not to have my main url route available :{
see here: Radar Detector Reviews Forum. Laser Jammers & Radar Detectors
I have successfully set it up so that CMS is in root with NO extension/page/folder, and forums are also in root, but with /forums/ acting as the forum home page, but not a parent.
Root vb4 install
Step 1
Make sure index.php is set to require Content.
and that forum is commented out.Code:require('content.php');
Step 2:
In vBoptions => forum Home Page options
set the first entry to
And in vboptions -> CMS options,Code:forum
Make sure the 'site tab URL' script is content.php
Step 3
in vbseocp
URL Reweite Settings -> CMS => Advanced Settings tab
set CMS Home
to your FULL .com with trailing slash.
in my case, i used, http://vbtest.mydomain.com/
DO NOT screw up your www's here. Use them or don't use them as your htaccess and vboptions are EXACTLY set up, or you'll end up in a loop.
Step 4:
Add the CRR
vbseocp -> Custom Rewrite Rules
Done!Code:'^forum\.php$' => 'forum/'
Assuming you are using preset 002 (as vbseo does) on all major sections, this gives you:
/ => CMS Homepage
/content/man-steals-pigs-motorcycle-22/=> actual article page
/forums/ => ForumHome
/f123/ => forumdisplay for f123 (exactly like vbseo.com does)
/blogs/ => blogs
etc
Tested and working on 4.0.1 and vbseo rc2 pre-release.
/forums (or another folder name) vb4 install
Puts the CMS in root, outside of your forums folder, with no /content/ redirect and your forums remain in their subfolder as always.
Step 1
Copy forums/index.php to your root directory.
Make sure index.php is set to require Content.
and that the forum require code bit is commented out.Code:require('content.php');
You will also need to uncomment the Relative Path directive and make sure it reflects accurately to your forum install location:
Code:define(VB_RELATIVE_PATH, 'forums/');
Do one of the following:
Step 2a:
rename forums/index.php to forums/index_old.php or some other name to keep it around, but not named index.
rename forums/forum.php to forums/index.php
OR:
Step 2b:
edit forums/index.php
Set it to:
Step 3:Code://define(VB_RELATIVE_PATH, ''); require('forum.php');
In vBoptions => forumhome Page options
set the first entry to
And in vboptions -> CMS options,Code:index
Make sure the 'site tab URL' script is
Code:content.php
Also,
CMS URL
"Optional URL for your CMS."
In the vboptions -> CMS options panel should be left BLANK!.
Step 4:
in vbseocp
URL Reweite Settings -> CMS => Advanced Settings tab
set CMS Home
to your FULL .com root with trailing slash, aka
DO NOT screw up your www's here. Use them or don't use them as your htaccess and vboptions for BBURL are EXACTLY set up, or you'll end up in a loop.Code:http://www.yourdomain.com/
Step 5:
In vbseocp, Seo Functions -> Homepage settings
set Force forum root as homepage to Yes
and enter
in the aliases box.Code:forums/index.php forums/index.php?
Save settings.
Step 6:
create an htaccess file in your site root with the following. Note, the forums/ path in some of the rules. You may need to adjust to your folder name.
Step 7: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 ^forums/((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ forums/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 [L] RewriteCond %{REQUEST_URI} !(admincp/|modcp/|cron|vbseo_sitemap) RewriteRule ^forums/((archive/)?(.*\.php(/.*)?))$ forums/vbseo.php [L,QSA] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !/(admincp|modcp|clientscript|cpstyles|images)/ RewriteRule ^(.+)$ forums/vbseo.php [L,QSA]
Only Required in RC2 pre-release and lower. Not needed in 3.6 Gold or higher
Open vbseo/includes/functions_vbseo_vb.php file:
find:
Replace with:Code:$headinclude = preg_replace('#<base href.*?>#is', '', $headinclude);
Done.Code:if(defined('VBSEO_PREPROCESSED')) $headinclude = preg_replace('#<base href[^>]*?>(\s*?<!--\[if IE\]><\/base><!\[endif\]-->)?#is', '', $headinclude);
/ => CMS
/forums/ = forum home
Nginx Only install
Step 1
Your nginx conf edit should be like following
and that forum is commented out.Code:location / { error_page 404 = /404.html; error_page 500 502 503 504 = /50x.html; rewrite ^/forum/((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ /forum/vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 last; if (!-e $request_filename) { rewrite ^/forum/(.*)$ /forum/vbseo.php last; } } if ($request_filename ~ "\.php$") { rewrite ^/forum/(.*)$ /forum/vbseo.php last; }
You also need to edit content.php file that is located in your forum directory and change
toPHP Code:// Bootstrapping
require_once('vb/bootstrap.php');
PHP Code:// Bootstrapping
require_once('forum/vb/bootstrap.php');
Last edited by Brian Cummiskey; 12-22-2011 at 10:50 PM.
Brian Cummiskey / Crawlability Inc.
vBSEO 3.6.0 GOLD Released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
can you explain step 1...very brief...give more detailed instructions so I can try it out
I am sorry, but what do you mean step one?
The Forum Hosting - Forum Hosting from the Forum Experts
Fixed via PM.
Brian Cummiskey / Crawlability Inc.
vBSEO 3.6.0 GOLD Released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
BRIAN, thanks for the help.
I set all of this however now my forums are reading http://domain.com/forums/forums/ I think that is only for the navbar.
index.php in site root = "require('content.php');" with "define(VB_RELATIVE_PATH, 'forums');"
index.php in forum root = "require('forum.php');"
My homepage isnt loading correctly since it appears to be referencing http://domain.com/images/... instead of /forums/images/
Also, my blog is showing as /forums/blog/
Any ideas?
Did you isntall the vb suite in root? if not, the above won't work. You will always end up being in the /forums/ directory.
Brian Cummiskey / Crawlability Inc.
vBSEO 3.6.0 GOLD Released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
No I did not, previously I had vbAdvanced and /forums was vbroot, and the site root had nothing but the vbAdvanced index.php
So if I migrate everything to /root the forums will still be re-written as /forums?
Arg, what a Pain :(
Yes, if you migrate to root, using the above you will be set up exactly like vbseo with the fake 'forums/ directory for forumhome, and then /f23/ for your forum display (or whatever style you have chosen) NOT nested behind forums/, exactly as above:
/ => CMS Homepage
/content/man-steals-pigs-motorcycle-22/=> actual article page
/forums/ => ForumHome
/f123/ => forumdisplay for f123 (exactly like vbseo.com does)
/blogs/ => blogs
Brian Cummiskey / Crawlability Inc.
vBSEO 3.6.0 GOLD Released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
Thanks for the help, moving now.
Note, if you are well-indexed, moving might not be the best idea. At the very least, you should set up 301's from the old location to the new location.
to make it easy, i would highly suggest using a different URL.
ie, if yo're currently in /forums i would make the CRR forum with out the 'S' and physically keep the folder there and do a simple htacess file as outlined here:
Moving to forum root
if you keep the same folder name as the CRR, everything gets complicated as you will have to manually set up rules for every section instead of just a generic move command.
Brian Cummiskey / Crawlability Inc.
vBSEO 3.6.0 GOLD Released!
Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!
Thanks for the heads up, I will have to do a 301 redirect for now. New domain name is planned for the future. After all the issues I have had I wouldn't be surprised if Google bans me.
FYI, Google Analytics has new asynchronous code out:
Asynchronous Tracking - Google Analytics - Google Code
Hopefully this will be used in vBSEO RC2 final or gold in order to improve performance a bit.