XML Sitemaps Generator

Author Topic: variables showing up on sitemap, and want them removed.  (Read 4859 times)

sm

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 10
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 admins only]

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
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.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

sm

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 10
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?

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
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
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

sm

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 10
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"

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: variables showing up on sitemap, and want them removed.
« Reply #5 on: December 19, 2015, 04:29:19 AM »
Note that there should be no commas in the list - all words separated with spaces.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

sm

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 10
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 admins 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 »

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
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.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

sm

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 10
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 »

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
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.
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

sm

  • Registered Customer
  • Jr. Member
  • *
  • Posts: 10
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.

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10624
Re: variables showing up on sitemap, and want them removed.
« Reply #11 on: December 31, 2015, 12:32:10 AM »
Please append "version=new" to the download link like:
https://www.xml-sitemaps.com/dl-xxxxxxx-yourlink-here-xxxxxx/?version=new
Oleg Ignatiuk
www.xml-sitemaps.com
Send me a Private Message

For maximum exposure and traffic for your web site check out our additional SEO Services.

 

SMF 2.0.12 | SMF © 2014, Simple Machines
XHTML RSS WAP2