I recently added an SSL cert to my forum and changed all the URLs to include the https:// protocol. However, since making this change, vBSEO keeps removing the base tags in my pages, so no relative links or images resolve properly:
I fixed the problem after removing the following from vbseo/vbseo_functions_vb.php:
Note the vbseo_is_https() call is what causes the issue, because the base tag is removed and never put back... I assume that vBSEO no longer adds the base tag in vBulletin 4 since it is always present in stock vB4 now, but this line was never updated to be consistent with the change.Code:if(defined('VBSEO_PREPROCESSED') || vbseo_is_https()) $headinclude = preg_replace('#<base href[^>]*?>(\s*?<!--\[if IE\]><\/base><!\[endif\]-->)?#is', '', $headinclude);


LinkBack URL
About LinkBacks





Reply With Quote