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='[ External links are visible to forum administrators only ]'</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: [ External links are visible to forum administrators only ]");
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.
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: [ External links are visible to forum administrators only ]");

Re: only home page added to sitemap
« Reply #4 on: July 18, 2008, 06:24:40 AM »
yes

html links point to [ External links are visible to forum administrators only ]host=hostname
then php script opens [ External links are visible to forum administrators only ]
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.