You were right Peter, Google refused the subdomains, even when the
sitemap file was under "domain.com".
But this doesn't seem logical. If a sitemap can represent sub
directories, it should be able to represent sub domains below it
hierarchically.
Thanks for the reply...
On Jan 2, 11:15 pm,
The sitemaps.org says:
> For instance, if the Sitemap is located at
> http://www.example.com/sitemap.xml, it can't include URLs from
> http://subdomain.example.com.
But if I place it under "example.com" (without the "www") it should be
ok for the subdomains.
On Jan 2, 5:55 pm, Peter Rowell
> How can I add URLs with sub-domains to my sitemap files?
If you are talking about XML sitemaps, you can't.
>From http://www.sitemaps.org/protocol.php:
Note that this means that all URLs listed in the Sitemap must use the
same protocol (http, in this example) and reside on the same host as
the
Well, I figured out that overriding the "get_urls" method of the
Sitemap class solves the problem. But, remember to call the private
__get() method like _Sitemap__get() in your class.
Though, a cleaner solution is appreciated...
On Jan 2, 3:38 pm, omat <[EMAIL PROTECTED]> wrote:
> In my sitema
In my sitemap file, I want to include subdomain links such as:
http://user1.domain.com, http://user2.domain.com, ...
But when I specify a URL in "location" method of the sitemap class, a
"http://example.com"; (or whatever is specified in the sites contrib
app) is prepended to the URL.
Same with
5 matches
Mail list logo