sm

*
  • *
  • 12
variables showing up on sitemap, and want them removed.
« on: December 15, 2015, 08:12:36 PM »

when I run my sitemap, the sitemap comes up with links like:

mydomain.com/search=&fromprice=&toprice=&tracking=

The variables/strings are blank and hard coded into the website, so they can't be removed.

I've tried many options including excluding on robots.txt, session id, and many variations of excluding URLs.

I'm looking for guidance how how to remove these unnecessary tags.
[ External links are visible to forum administrators only ]
Re: variables showing up on sitemap, and want them removed.
« Reply #1 on: December 16, 2015, 08:14:14 AM »
Hello,

you can add "search=" in Exclude URLs setting and it will remove all links with "search=" in them.

sm

*
  • *
  • 12
Re: variables showing up on sitemap, and want them removed.
« Reply #2 on: December 18, 2015, 12:20:55 AM »
Adding search= to the "Exclude URLs:" config allows the site to only index the home page.

Adding search= to "Add directly in sitemap (do not parse) URLs:" comes up with the sitemap including : search=&fromprice=&toprice=&tracking=

Adding search= to "Crawl, but do not include URLs:" comes up with the home page with and without the index.php

Adding search= to ""Include ONLY" URLs:" results in the sitemap including : search=&fromprice=&toprice=&tracking=

Adding search= to ""Parse ONLY" URLs:"  results in the sitemap including : search=&fromprice=&toprice=&tracking=

adding "PHPSESSID sid osCsid search" to "Remove session ID from URLs:"  results in the sitemap including : search=&fromprice=&toprice=&tracking=


I've tried every combination that I feel would work before I posted this, as well as just did it again.

Any other suggestions?
Re: variables showing up on sitemap, and want them removed.
« Reply #3 on: December 18, 2015, 07:09:49 AM »
You can add this in "Remove session ID from URLs" setting:
search fromprice toprice tracking

sm

*
  • *
  • 12
Re: variables showing up on sitemap, and want them removed.
« Reply #4 on: December 18, 2015, 09:57:34 PM »
As I noted above, I did try adding "search" to the "Remove session ID from URLs:" and it didn't work.

So, with your recommendation, I have now also tried the following in the "Remove session ID from URLs:" box:

"search fromprice toprice tracking"
"PHPSESSID, sid, osCsid search fromprice toprice tracking"

sm

*
  • *
  • 12
Re: variables showing up on sitemap, and want them removed.
« Reply #6 on: December 23, 2015, 11:44:30 PM »
Still doesn't work.


Results include:
1. [ External links are visible to forum administrators only ] <-don't want any products_** files added.
2. all files with xxx.html?search=&fromprice=&toprice=&tracking= <-don't want any strings
« Last Edit: January 04, 2016, 09:13:00 AM by xml-sitemaps »
Re: variables showing up on sitemap, and want them removed.
« Reply #7 on: December 24, 2015, 06:07:35 AM »
Hello,

1. there are not URLs with "products_" in sitemap from what I see.

2. please try to redownload and reinstall sitemap generator - this issue should be corrected now.

sm

*
  • *
  • 12
Re: variables showing up on sitemap, and want them removed.
« Reply #8 on: December 24, 2015, 06:43:03 PM »
Still having the issue. Sorry that I can't seem to get this right.

Fresh install noted here:



« Last Edit: January 04, 2016, 09:11:44 AM by xml-sitemaps »
Re: variables showing up on sitemap, and want them removed.
« Reply #9 on: December 25, 2015, 08:36:34 AM »
Did you re-download the package though? (as it has been updated on our side)
Please clear browser cache when downloading to make sure it's an updated file.

sm

*
  • *
  • 12
Re: variables showing up on sitemap, and want them removed.
« Reply #10 on: December 29, 2015, 08:36:14 PM »
Yes, I re-downloaded the fresh script, and browser cache is cleared as well as having my computer factory reset for other reasons.