Google Sitemaps Excluded URL patterns - Help Please!

1 replies
Hey all,

Quick question.

I'm trying to get my sitemaps compiled via Google's (new) tool, and there's an issue I'm running into with a few of my maps.

A very small number of my link paths in certain sitemaps have a * character in them, which results in an error status when I submit these maps to Google.

There's a place where I can enter excluded URL patterns, and I'd like to exclude any links that have a * inside them.

As it turns out, * also happens to signify "all" when it comes to this. How do I do this so that it's only excluding the character, and not all links within my webroot directory, as it would now if I just did /*

I'm stuck here - any help is greatly appreciated.

Thanks!
#excluded #google #patterns #sitemaps #url
  • Profile picture of the author Jeremy Morgan
    That's a really tricky one because the * character is such a crucial part of Regex in the first place. I'm sure it can be done, but I have no idea how, because it creates a lot of ambiguity. I would focus on removing the * from your URLs, because it seems like it could cause more problems than it's worth.
    Signature
    Jeremy Morgan, Software Developer / SEO
    Check out my Programming Blog for news, tips, and tutorials
    {{ DiscussionBoard.errors[1017901].message }}

Trending Topics