vBulletin 4, the most powerful community software + vBSEO 3.5, the ultimate SEO solution = Your ultimate platform for 2010 and beyond. Click below to learn more.

Results 1 to 10 of 10

Generate Sitemap for directory one-level up?

This is a discussion on Generate Sitemap for directory one-level up? within the Troubleshooting forums, part of the vBSEO Google/Yahoo Sitemap category; Can someone point me in the right direction on how i can create site maps for user generated content on ...

  1. #1
    Junior Member
    Real Name
    Lester Mendoza
    Join Date
    Apr 2007
    Posts
    21

    Generate Sitemap for directory one-level up?

    Can someone point me in the right direction on how i can create site maps for user generated content on non-vb pages that use global.php outside of the VBULLETIN/FORUM directory...

    I have 1000's of uploaded content that has its own dynamic URL that i want to add to a sitemap... any tips/pointers?

    Can i use VBSEO or do i have to manually do it...

    juss wanna know how i can first tag all the existing dynamic urlsthat look like this "...php?id=#" automatically and then capture them going forward?

    Is there anyway to maybe use RSS ... dunno.. juss grasping at straws here...

  2. #2
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,983
    if its in your database, you can query it directly.

    see the 'addons' folder for examples. its just 1 basic query with a loop of the recordset

  3. #3
    Junior Member
    Real Name
    Lester Mendoza
    Join Date
    Apr 2007
    Posts
    21
    Ok.. so i created a custom addon and did a test...

    I posted something in my forum about the new content added on another custom page... and waited a couple days...

    Then i put the full URL of the forum post in google and voila!! The post is there in google results... as expected...

    HOWEVER... the custom URL is nowhere to be found... when i put the entire url into google... it just returns the subfolder and not my specific url...

    eg) location: www.mysite.com/subfolder/play.php?id=12

    Google only returns the following entry in results: www.mysite.com/subfolder/

    What can i look at to troubleshoot? Other than doing a rewrite to make the URL a little more SE friendly eg).htm

  4. #4
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,983
    did you check the sitemap file iteself to make sure they are being included?
    extra's are the last things to get executed, so it should be in your last X.xml.gz file.

    pop it open in a browser.


    Also, did you include the addon to be included in the vb options for the sitemap? There's a blank at the bottom where you place the script name.

  5. #5
    Junior Member
    Real Name
    Lester Mendoza
    Join Date
    Apr 2007
    Posts
    21
    Yup.... the file is listed in the ADDON option textarea for VBSEO OPTIONS in admin panel...

    Plus... i see the entries in my last sitemap file... #17

    Code:
    <url>
     <loc>http://www.msyite.com/subfolder/play.php?Id=1069</loc> 
    
     <priority>0.5</priority> 
    
     <lastmod>1970-01-01T00:32:50+00:00</lastmod> 
    
     <changefreq>daily</changefreq> 
    
     </url>
    
     
    Hmm.... i actually see all 1069 entries in there... i wonder where its going to? Do you notice any loc, priority or changefreq issues?

    Thanks

  6. #6
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,983
    The last modified date should be addressed. It's defaulting to unix epoc time.

  7. #7
    Junior Member
    Real Name
    Lester Mendoza
    Join Date
    Apr 2007
    Posts
    21
    I checked my other entries though for the forum and they have the same time format... where wud i change it if i did? here's a couple other things i noticed...

    > Sitemap Downloads Log: This goes to page/link 240 and the last entry is at Feb.2.2009

    BUT

    my report list seem up to date with the latest entry:

    88 2009-04-29 02:02 80.31 s 323,808 +134 Yes Yes

  8. #8
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,983
    not thew format, the actual time itself.

    surely, the page wasn't last modified in 1970...

  9. #9
    Junior Member
    Real Name
    Lester Mendoza
    Join Date
    Apr 2007
    Posts
    21
    sorry for the 100 questions... but where is the XML deriving the timestamp from?

  10. #10
    Senior Member briansol's Avatar
    Real Name
    Brian
    Join Date
    Apr 2006
    Location
    Central CT, USA
    Posts
    6,983
    you can get the date from your query, and the dateline field if your data has it. it goes in the 3rd parameter of vbseo_add_url() function. If you don't have a dateline in your db for these pages, i would suggest using now() or some other more recent date than unix epoch.

Similar Threads

  1. Fatal error when try to generate sitemap
    By Eros in forum Troubleshooting
    Replies: 3
    Last Post: 01-19-2009, 12:16 AM
  2. How long should it take to generate the sitemap?
    By Morrus in forum General Discussion
    Replies: 2
    Last Post: 09-01-2008, 01:36 AM
  3. Can't generate Sitemap
    By Arkidas in forum Troubleshooting
    Replies: 7
    Last Post: 06-27-2008, 08:55 PM
  4. VBSEO on the same level as forums directory
    By Kihon in forum Troubleshooting
    Replies: 5
    Last Post: 01-31-2007, 06:53 AM
  5. Cannot generate a sitemap
    By GBSF in forum Troubleshooting
    Replies: 3
    Last Post: 10-10-2006, 11:16 AM