Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Session ids in sitemap


askewz

Recommended Posts

Hi All,

 

Ok I have gone through the many posts on this forum and none seem to be solving my problem.

 

The problem is I ran a sitemap generator on my site and it kept creating session id's when it crawls it how do i stop these session id's from appearing? Because surly that wouldn't be good to submit to google and others.

 

seeing as when it crawls it creating session id's i am sure that search engines would be doing the same.

 

Any help will be very much appreciated its starting to stress me out trying to solve it :(

 

Thank you,

 

Antony

Link to comment
Share on other sites

Hi All,

 

Ok I have gone through the many posts on this forum and none seem to be solving my problem.

 

The problem is I ran a sitemap generator on my site and it kept creating session id's when it crawls it how do i stop these session id's from appearing? Because surly that wouldn't be good to submit to google and others.

 

seeing as when it crawls it creating session id's i am sure that search engines would be doing the same.

 

Any help will be very much appreciated its starting to stress me out trying to solve it :(

 

Thank you,

 

Antony

 

1. in your web shop admin: Set Prevent Spider Sessions to "true"

 

2. add the identifier string for the bot/spider from your sitemap generator in this file in your shop: includes/spiders.txt

Link to comment
Share on other sites

1. in your web shop admin: Set Prevent Spider Sessions to "true"

 

2. add the identifier string for the bot/spider from your sitemap generator in this file in your shop: includes/spiders.txt

 

Hi,

 

Thank you for the fast reply!

 

Yes the "Set Prevent Spider Sessions" have always been set to "true" i didn't think they was working as when i use the sitemap generater it shown the sessions in the urls it generated.

 

this is the sitemap generator i'm using: http://www.auditmypc.com/xml-sitemap.asp what would be the string to add in spiders.txt for that?

 

Thank you,

 

Antony

Link to comment
Share on other sites

you can eighter scedule a crawl of your site and find the bot identifier in your stats program or just contact the company behind the sitemap generator and request the bot/spider id.

Link to comment
Share on other sites

you can eighter scedule a crawl of your site and find the bot identifier in your stats program or just contact the company behind the sitemap generator and request the bot/spider id.

 

thank you again Nick for your reply.

 

I did another crawl but unsure where i'll find the identifer exactly? can you explain exactly where it would appear please?

 

thank you

Link to comment
Share on other sites

i have done all the above but still it is showing the sessions :(

 

do you think to best way to do it would be to upload my entire site into all on big file on my computer then making the site map offline then upload that site map to the site?

 

what sitemap programs do you use? ( that goes to everyone )

Link to comment
Share on other sites

  • 2 months later...
i have done all the above but still it is showing the sessions :(

 

do you think to best way to do it would be to upload my entire site into all on big file on my computer then making the site map offline then upload that site map to the site?

 

what sitemap programs do you use? ( that goes to everyone )

 

 

I think you would be very well equipped using the EXCELLENT automatic site map generator by CHEMO.

 

http://addons.oscommerce.com/info/3233

 

This does the work for you. Only tell google the location of the sitemap generator on your site and thats it.

 

Good luck /Marcus

Link to comment
Share on other sites

i have done all the above but still it is showing the sessions :(

 

do you think to best way to do it would be to upload my entire site into all on big file on my computer then making the site map offline then upload that site map to the site?

 

what sitemap programs do you use? ( that goes to everyone )

Do you have, in admin, configuration, my store, Use Search-Engine Safe URLs (still in development) set to false as you should?

Link to comment
Share on other sites

in includes/functions/html_output.php

if (isset($_sid)) {

$link .= $separator . tep_output_string($_sid);

}

 

to

if (isset($_sid && $php_self!= 'yoursitemappage')) {

$link .= $separator . tep_output_string($_sid);

}

Ask/Skype for Free osCommerce value addon/SEO suggestion tips for your site.

 

Check My About US For who am I and what My company does.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...