vBulletin Search Engine Optimization
This is a discussion on Regarding sitemaps and its addons within the General Discussion forums, part of the vBSEO Google/Yahoo Sitemap category; hello.. I have created a custom addon to extract dynamic urls from a mod of mine. Its working fine, but ...
| |||||||
Enhancing 80 million pages. | Register | FAQ | Members List | Social Groups | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| ||||
| ||||
| Regarding sitemaps and its addons
hello.. I have created a custom addon to extract dynamic urls from a mod of mine. Its working fine, but I need to add more URL's to it. Here is the code. PHP Code: 1. As in above, mypage.php?do=this&uid=XX is added BUT how to add more URL's like mypage.php?do=that&uid=XX and so on from the same query. Do I need to run the same query again coz I see vbseo_add_url function doesn't accept more than one "url" as argument. 2. Also, may I know how do we extract page URL's ? like I have 11 pages currently showing 8 records each, so how do I extract pages as their page no (id) isn't stored in database. Thank You |
|
#2
| ||||
| ||||
|
Hello, 1. You can just add this inside while() loop: PHP Code:
__________________ Oleg Ignatiuk / Crawlability Inc. Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations 6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You. |
|
#3
| ||||
| ||||
|
1. ah thank you, it works ! 2. Can you pleasee explain it programmatically ? my mod is simple and has just one table. This is my query:- PHP Code: thank you |
|
#4
| ||||
| ||||
|
The code would look like: PHP Code:
__________________ Oleg Ignatiuk / Crawlability Inc. Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations 6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You. |
|
#5
| ||||
| ||||
|
ohh thank you so so much sir ! It worked great. btw, I had to use query_read (instead of query_first) and $count = $db->num_rows($entries_no); (for division part) to get it all working. 3. One thing left in my addon is extracting page URL's for Category pages like this and so on. I am not able to understand what and how the query would be run for it. My category search query is simple:- PHP Code: 4. I read somewhere that DISTINCT clause in SQL query isn't much efficient when there are a lot of records to search from. Is there an alternative for it (I found one but it was hard to understand for me). What can be the alternate query for this:- PHP Code: |
|
#6
| ||||
| ||||
|
3. Try this: PHP Code:
__________________ Oleg Ignatiuk / Crawlability Inc. Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations 6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You. Last edited by Oleg Ignatiuk; 09-15-2008 at 07:48 PM. |
|
#7
| ||||
| ||||
|
3. But I need to extract page URL's for category pages just like you did in post #4.
|
|
#8
| ||||
| ||||
|
You will probably have to combine it with code from post #4 and created nested loop.
__________________ Oleg Ignatiuk / Crawlability Inc. Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations 6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You. |
|
#9
| ||||
| ||||
|
alright sir, I have it now working PERFECT, its grabbing all the inside category pages now ! PHP Code: 6. Is there a way to see some kind of debug info of addons ? (like query counts etc.) 7. Can you please tell me, how do we convert titles into lowercase and replace blanks with a hyphen -. Just like vBSEO does for every forum, thread, etc. ? Thank You |
|
#10
| ||||
| ||||
|
Hello, 5. You can use a single query to find list of categories and counts: PHP Code: 7. You can use vBSEO Functions for Extensibility for that (look for vbseo_filter_text($title) function).
__________________ Oleg Ignatiuk / Crawlability Inc. Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations 6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You. |
|
#11
| ||||
| ||||
|
5. Awesome 6. Fine 7. Superb Thank you so much for your help sir. I got my sitemap addon, CRR's and everything working perfect. |
|
#12
| ||||
| ||||
|
You are very welcome
__________________ Oleg Ignatiuk / Crawlability Inc. Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations 6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You. |
|
#13
| ||||
| ||||
|
hii.. after so many days I noticed a problem in my directory addon for vbseo sitemap. Maybe because I didn't tested it with vbseo turned off. okay.. my problem is that sitemap produces errors with the original URL's i.e. with vbseo turned OFF (it works perfect with vbseo ON) I'm getting the following error in sitemap:- Code: XML Parsing Error: not well-formed Location: http://mysite.com/sitemap_1.xml.gz Line Number 39, Column 54: <loc>http://mysite.com/links.php?do=review&title=Vinayaks.com&uid=2</loc> ----------------------------------------------------------------------------^ Thank you |
|
#14
| ||||
| ||||
|
Hello, are you using an add-on to include links.php?xx URLs in sitemap?
__________________ Oleg Ignatiuk / Crawlability Inc. Support Team Launches New DeskPro Powered Tool Enhanced Support at Your Service vBSEO 3.2.0 Launched - Maximum Overdrive for Your Web Traffic! Over 100 Instant SEO Optimizations 6X Traffic - $1400 in One Day with vBSEO! Imagine What the vBSEO Patent Pending Technology Can Do For You. |
|
#15
| ||||
| ||||
|
Yes sir... I'm using an addon as they are dynamic URL's generated off the database.
|
| Tags |
| addon, sitemap, tech555 |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| vBSEO and official AddOns | Hoffi | General Discussion | 4 | 07-11-2007 05:46 PM |
| Custom Rewrite Rules for my addons | Snitz | Custom Rewrite Rules | 0 | 10-17-2006 04:15 PM |
| Custom Addons Rewrite | Amos | Troubleshooting | 10 | 10-14-2005 03:53 PM |