• Welcome to Sitemap Generator Forum.
 

only home page added to sitemap

Started by sebaro, July 15, 2008, 05:53:39 PM

Previous topic - Next topic

sebaro

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!

XML-Sitemaps Support

Hello,

all links must be presented in html format, javascript links are not followed by the crawler.

sebaro

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 ]");



sebaro

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 ]