PDA

View Full Version : p46 Sitemap making it SEO friendly


abcohen
01-09-2006, 04:16 PM
surprized this one isnt been updated, yet... but here are my quick code edits and they seem to work

in p46_sitemap.php

line 28
from this...
**********echo $fullpadstring . $delimiter . '<a href="index.php?categoryid=' . $subcategory['categoryid'] . '">' . $subcategory['name'] . '</a><br />';

change to this...
**********echo $fullpadstring . $delimiter . '<a href="' . RewriteLink('index.php?categoryid=' . $subcategory['categoryid']) . '">' . $subcategory['name'] . '</a><br />';



and on line 59

from this...
******echo '<a href="index.php?categoryid=' . $category['categoryid'] . '">' . $category['name'] . '</a><br />';

change to this...
**** echo '<a href="' . RewriteLink('index.php?categoryid=' . $category['categoryid']) . '">' . $category['name'] . '</a><br />';

thomas
01-09-2006, 10:42 PM
maybe you could get this fixed on subdreamer.com? awsome find.

Is the cloning problem fixed??

abcohen
01-09-2006, 10:55 PM
http://www.subdreamer.com/forum/showthread.php?t=5519

yah I fixed that too...

72dpi
01-09-2006, 11:59 PM
You're a champ abcohen, thanks for that. I hadn't turned on the sitemap yet because of that.

Cheers!

abcohen
06-07-2006, 12:54 PM
bump someone just asked about this on SD.com

Community
11-11-2006, 12:24 AM
for google it has to be in xml! maybe someone can make a xml sitemap maker specialy for SD? because you don't to have all your article urls in it and so,,

micron
11-11-2006, 04:12 PM
the sitemap generator already writes to sitemap.xml file ...

abcohen
11-13-2006, 03:02 AM
ok this was for the sitemap plugin (not the sitemap generator - thats located in spib's blog two different plugins)

Community
11-14-2006, 08:23 PM
where can I find the sitemap generator then?

SSSlippy
11-14-2006, 08:38 PM
where can I find the sitemap generator then?

ok this was for the sitemap plugin (not the sitemap generator - thats located in spib's blog two different plugins)

Maybe in spibs blog like he said?

Pixelrage
11-14-2006, 08:46 PM
sitemap plugin = sitemap generator.

SSSlippy
11-14-2006, 08:55 PM
Actually if I remember correct these were 2 different things.

abcohen
11-14-2006, 09:03 PM
sitemap plugin = sitemap plugin
http://www.subdreamer.com/sd_plugins/p13_sectionid/3/p13_fileid/116

sitemap generator = sitemap generator
http://www.subdreamer.org/forum/showthread.php?t=887

clear?

Pixelrage
11-14-2006, 09:22 PM
Oh, I was thinking about the google sitemap, or the 2nd link.

micron
11-15-2006, 09:38 AM
sitemap plugin = sitemap plugin
http://www.subdreamer.com/sd_plugins/p13_sectionid/3/p13_fileid/116

sitemap generator = sitemap generator
http://www.subdreamer.org/forum/showthread.php?t=887

clear?

i know about that difference.
I was just pointing out that there is the google sitemap generator plug in for xml sitemap creation.

Chill

abcohen
11-15-2006, 11:54 PM
yes.. the google sitemap is what generates a subdreamer google xml sitemap.