only home page added to sitemap
« on: July 15, 2008, 05:53:39 PM »
hello

my site has only external links
the links are like this
html: href="?host=hostname"
php: echo "<script>window.location.href='http://hostname.com'</script>";
the free online sitemap-generator use to add all the links in the sitemap
but then I change the php line with
header("Location: http://hostname.com");
now it does add only the home page

don't know if it is because of this
but when I try to generate the sitemap, it says

Pages scanned: 1
Added in sitemap: 1
Pages left: 38

and only the home page is added

can you tell what I'm doing wrong

thanks!
Re: only home page added to sitemap
« Reply #1 on: July 16, 2008, 08:09:18 AM »
Hello,

all links must be presented in html format, javascript links are not followed by the crawler.
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.
Re: only home page added to sitemap
« Reply #2 on: July 16, 2008, 08:26:35 AM »
Hi
Thanks for your reply

As I said, when I used javascript links all the links were added.
But now, I don't have any javascript link.
All my links are like this
<a href="?host=hostname" target="_blank">Hostname</a>
And a php script opens the hostname page:
> case 'hostname':
> header("Location: http://hostname.com");

Re: only home page added to sitemap
« Reply #3 on: July 17, 2008, 07:51:45 PM »
Are those links pointing to external sites?
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.
Re: only home page added to sitemap
« Reply #4 on: July 18, 2008, 06:24:40 AM »
yes

html links point to http://mysite.org?host=hostname
then php script opens http://hostname.com
Re: only home page added to sitemap
« Reply #5 on: July 18, 2008, 05:28:14 PM »
This links are not being indexed since they are redirected to external site.
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.