I have Vbadvanced Dynamics installed. All of us using it are having 302 errors, as discussed here in previous threads. This is due to the way the internal SEF urls are being created/fetched.
I was wondering if it would be possible for someone knowledgable with VBseo and how they do things, to look this over and see if we can get it worked out.
There are folks working on this over there already, and Brian, the coder, is as well, but things are moving slow. I have tried myself but apparently do not know enough to get it fixed.
There are multiple spots in 2 files that handle rewriting of the SEF urls. I have narrowed the funciton that causes the 302 errors down. If the below snippets are removed, validator.w3.org will return the page without the 302 error.
We however, then lose the functionality to forward people to the proper urls if the entry/category title changes. Without these snippets, you could type ... /anything-8/ and get categoryid 8, or /anything-1234/ and get entryid 1234.
Both would then have any given text before the ID numbers, and if abused, could kill you with duplicate content.
Even if you can't fully fix the error due to not having full access to all the files, if you have any insight as to what kind of function is causing this, or any direction as to where to start trouble shooting, what things need to be rewritten, etc, that would be great.
I understand this is not directly related to VBseo and if in the wrong forum or inappropriate to post here, I apologize in advance. Just figuring folks who are familiar with doing this so well for default VB could help out getting this resolved. A lot of my main content outside of the forum is in Dynamics, and a full VBSeo integration doesn't look possible.
I can provide full files privately to anyone who wants to look it over, or set up a test installation and FTP for someone to play around with.
A donation via Paypal would be available as well if desired.
For Categories
For full entry pagesCode:// Make sure the URL matches up if ($vba_options['dyna_spiderurls'] AND $vbulletin->GPC['catrewrite']) { $caturl = fetch_cat_url($rewritecatid); if ($caturl != $vbulletin->GPC['catrewrite'] AND $caturl != $vbulletin->GPC['catrewrite'] . '/') { exec_header_redirect($vba_options['dyna_homeurl'] . '/' . $caturl); } }
(if bolded part is commented out, it returns without 302 errors)
Code:if (!defined('SF_ERROR')) { // Get the entry info $vba_dyna->load_entry('', true, true, true, true, true); $entry =& $vba_dyna->_entry; // Redirect them if the URL doesn't match up if ($vba_options['dyna_spiderurls'] AND $vbulletin->GPC['entryrewrite'] AND $entry['url'] != $vbulletin->GPC['catrewrite'] . '/' . $vbulletin->GPC['entryrewrite'] . '/') { exec_header_redirect($vba_options['dyna_homeurl'] . '/' . $entry['url']); } else if ($vba_options['dyna_spiderurls'] AND !$vbulletin->GPC['entryrewrite']) { exec_header_redirect($vba_options['dyna_homeurl'] . '/' . $entry['url']); } unset($query); if (!$catid) { $catid = $entry['catid']; } $entryuserid = $entry['userid']; }


LinkBack URL
About LinkBacks





Reply With Quote