Results 1 to 2 of 2

vbSEO - Query strings and under the hood

This is a discussion on vbSEO - Query strings and under the hood within the General Discussion forums, part of the vBSEO SEO Plugin category; Hello all, I am currently developing a vBulletin modification that does some work with the query strings passed to scripts. ...

  1. #1
    Senior Member
    Real Name
    mreyes
    Join Date
    May 2008
    Posts
    125
    Liked
    3 times

    vbSEO - Query strings and under the hood

    Hello all,

    I am currently developing a vBulletin modification that does some work with the query strings passed to scripts. However I am coming across a problem which I believe to be related to how vbSeo handles/appends to query strings, so I need some details of what vbSeo is doing under the hood in relation to query strings.

    As an example if navigate to my "off topic" forum:

    http://www.mysite.com/off-topic/

    and run the following basic script code in the init_startup hook

    Code:
    print "<pre>";
    print_r($_GET);
    print "</pre>";
    print "Server Vars: $HTTP_SERVER_VARS['QUERY_STRING']";
    The output I get is:

    Array
    (
    [vbseourl] => off-topic/
    [f] => 10
    [forumid] => 10
    )

    Server Vars: f=10
    So it looks like vbseo is adding the query string values seen in $_GET and some of these make it to HTTP_SERVER_VARS. I assume it then invokes the forumdisplay.php script with these.

    I know I haven't really asked a question here, this is because I am not sure what question I need to ask, so I suppose the question is: How does vbSeo work with query strings?

  2. #2
    vBSEO Staff Oleg Ignatiuk's Avatar
    Real Name
    Oleg Ignatiuk
    Join Date
    Jun 2005
    Location
    Belarus
    Posts
    25,689
    Liked
    157 times
    Hello,

    yes, this is basically correct - vBSEO "preprocesses" rewritten URLs, extracts the details from them and then is "reconstructing" the original URL as if it was not rewritten, including restoring $_GET/$_REQUEST parameters and QUERY_STRING.
    Oleg Ignatiuk / Crawlability Inc.
    vBSEO 3.6.0 GOLD Released!
    Unveiling the NEW vBSEO Sitemap Generator 3.0. - available NOW for vBSEO Customers!


Similar Threads

  1. Query/Suggestion for vBSEO
    By gooster in forum General Discussion
    Replies: 9
    Last Post: 04-02-2008, 11:37 AM
  2. Can VBSEO do this? (Photopost Pro Query)
    By Jijo in forum Pre-Sales Questions
    Replies: 2
    Last Post: 11-28-2007, 09:45 AM
  3. removing query strings...
    By Slingblade61 in forum URL Rewrite Settings
    Replies: 2
    Last Post: 11-21-2007, 04:41 PM
  4. vbseo sitemap query
    By I, Brian in forum Troubleshooting
    Replies: 3
    Last Post: 05-11-2006, 05:56 PM
  5. Stripping strings from url
    By Noodles in forum General Discussion
    Replies: 4
    Last Post: 01-07-2006, 07:07 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •