Status
Not open for further replies.

neounix

Customer
Hey!

Now working the site sitemaps, I notice when I generate a sitemap, for example for "Show Posts" where our showpost.php DBSEO URL has format:

Code:
[thread_title]-[post_id]/[forum_title]/post[post_count].html

The DBSEO URL is correct (in the above format), but the sitemap URL has a "0" where the [post_id} should be:

For example:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>http://linode.unix.com/how-search-file-name-length-0/unix-dummies-questions-answers/post1.html</loc>
<lastmod>2009-06-25T19:55:02+00:00</lastmod>
<changefreq>yearly</changefreq>
<priority>0.2089</priority>
</url>
<url>
<loc>http://linode.unix.com/how-search-file-name-length-0/unix-dummies-questions-answers/post2.html</loc>
<lastmod>2009-06-25T20:06:20+00:00</lastmod>
<changefreq>yearly</changefreq>
<priority>0.2102</priority>
</url>

I was going to test these sitemap function (threads, posts and tags)... haha.. but I'm stuck in "next" mode and cannot kill the current manual build sitemap process (and when I leave the page, it simply resumes when I come back). So, I cannot "kill" a sitemap build after it is started and we are on file 13 of maybe 40 !!

I guess I can restart apache and clear this; but there must be a better way ! :)
 
OK.. just confirmed that [post_id] is not being written (as mentioned above); but the [thread_id] seems OK.

I'm creating / testing different sitemaps separately (threads.. then posts.. then tags), each time only selecting one item (posts, threads, or tags) to build. This is the same way we submit to Google and Bing (manually) BTW, because we have our own mod code which updates each thread and post (in the DB) when GoogleBot or Bingbot visit that thread or post; so we fully track this for each thread and post (and tag I think)
 
Update: tags are OK as well... the only bug we see is with the [post_id] when writing posts to the sitemaps.
 
Hey!

Now working the site sitemaps, I notice when I generate a sitemap, for example for "Show Posts" where our showpost.php DBSEO URL has format:

Code:
[thread_title]-[post_id]/[forum_title]/post[post_count].html

The DBSEO URL is correct (in the above format), but the sitemap URL has a "0" where the [post_id} should be
Confirmed :)

I was going to test these sitemap function (threads, posts and tags)... haha.. but I'm stuck in "next" mode and cannot kill the current manual build sitemap process (and when I leave the page, it simply resumes when I come back). So, I cannot "kill" a sitemap build after it is started and we are on file 13 of maybe 40 !!

I guess I can restart apache and clear this; but there must be a better way ! :)
That will not prevent the sitemap from resuming.

It will only allow you to kill a build in process if the build process failed for whatever reason. If you stop the page loading or navigate away from the page during the build of one particular sitemap file, when you come back it will simply restart that particular file :)
 
OK... now I generated a sitemap of threads, posts, tags, and forums:

Code:
server:/var/www/dbseo_sitemap# ls -l
total 14024
-rw-r--r-- 1 www-data www-data  21068 Dec 11 14:00 dbseo_sitemap_forum_28.xml.gz
-rw-r--r-- 1 www-data www-data    446 Dec 11 14:00 dbseo_sitemap_index.xml.gz
-rw-r--r-- 1 www-data www-data 472484 Dec 11 13:47 dbseo_sitemap_post_0.xml.gz
-rw-r--r-- 1 www-data www-data 474745 Dec 11 13:52 dbseo_sitemap_post_10.xml.gz
-rw-r--r-- 1 www-data www-data 475318 Dec 11 13:53 dbseo_sitemap_post_11.xml.gz
-rw-r--r-- 1 www-data www-data 469298 Dec 11 13:53 dbseo_sitemap_post_12.xml.gz
-rw-r--r-- 1 www-data www-data 470704 Dec 11 13:54 dbseo_sitemap_post_13.xml.gz
-rw-r--r-- 1 www-data www-data 466686 Dec 11 13:54 dbseo_sitemap_post_14.xml.gz
-rw-r--r-- 1 www-data www-data 468979 Dec 11 13:55 dbseo_sitemap_post_15.xml.gz
-rw-r--r-- 1 www-data www-data 469236 Dec 11 13:55 dbseo_sitemap_post_16.xml.gz
-rw-r--r-- 1 www-data www-data 470578 Dec 11 13:56 dbseo_sitemap_post_17.xml.gz
-rw-r--r-- 1 www-data www-data 469113 Dec 11 13:56 dbseo_sitemap_post_18.xml.gz
-rw-r--r-- 1 www-data www-data 466037 Dec 11 13:57 dbseo_sitemap_post_19.xml.gz
-rw-r--r-- 1 www-data www-data 484574 Dec 11 13:48 dbseo_sitemap_post_1.xml.gz
-rw-r--r-- 1 www-data www-data 464747 Dec 11 13:57 dbseo_sitemap_post_20.xml.gz
-rw-r--r-- 1 www-data www-data 308117 Dec 11 13:58 dbseo_sitemap_post_21.xml.gz
-rw-r--r-- 1 www-data www-data 482915 Dec 11 13:48 dbseo_sitemap_post_2.xml.gz
-rw-r--r-- 1 www-data www-data 476976 Dec 11 13:49 dbseo_sitemap_post_3.xml.gz
-rw-r--r-- 1 www-data www-data 469259 Dec 11 13:49 dbseo_sitemap_post_4.xml.gz
-rw-r--r-- 1 www-data www-data 476046 Dec 11 13:50 dbseo_sitemap_post_5.xml.gz
-rw-r--r-- 1 www-data www-data 477491 Dec 11 13:50 dbseo_sitemap_post_6.xml.gz
-rw-r--r-- 1 www-data www-data 468090 Dec 11 13:51 dbseo_sitemap_post_7.xml.gz
-rw-r--r-- 1 www-data www-data 476980 Dec 11 13:51 dbseo_sitemap_post_8.xml.gz
-rw-r--r-- 1 www-data www-data 475995 Dec 11 13:52 dbseo_sitemap_post_9.xml.gz
-rw-r--r-- 1 www-data www-data 160604 Dec 11 14:00 dbseo_sitemap_tags_29.xml.gz
-rw-r--r-- 1 www-data www-data 701204 Dec 11 13:58 dbseo_sitemap_thread_22.xml.gz
-rw-r--r-- 1 www-data www-data 701555 Dec 11 13:58 dbseo_sitemap_thread_23.xml.gz
-rw-r--r-- 1 www-data www-data 718482 Dec 11 13:59 dbseo_sitemap_thread_24.xml.gz
-rw-r--r-- 1 www-data www-data 705935 Dec 11 13:59 dbseo_sitemap_thread_25.xml.gz
-rw-r--r-- 1 www-data www-data 704651 Dec 11 13:59 dbseo_sitemap_thread_26.xml.gz
-rw-r--r-- 1 www-data www-data 341076 Dec 11 14:00 dbseo_sitemap_thread_27.xml.gz
server:/var/www/dbseo_sitemap#

All sitemaps URLs are OK except for "posts", which are all missing the post_id from the URL in the sitemap .

Cheers.
 
/dbtech/dbseo/includes/library/showpost.php has been hotfixed live & on your site.
 
Thanks! Confirmed! Working now!

I'm going to give you a rest and take a break for today!

Thank you again for the amazingly good support!
 
Status
Not open for further replies.

Legacy DragonByte SEO

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
7,172
Customer rating
5.00 star(s) 1 ratings
Back
Top