XML Sitemaps Generator

Author Topic: only home page added to sitemap  (Read 17376 times)

sebaro

  • Approved member
  • *
  • Posts: 3
only home page added to sitemap
« on: July 15, 2008, 04: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 admins 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 admins 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

  • Administrator
  • Hero Member
  • *****
  • Posts: 10625
Re: only home page added to sitemap
« Reply #1 on: July 16, 2008, 07: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.

sebaro

  • Approved member
  • *
  • Posts: 3
Re: only home page added to sitemap
« Reply #2 on: July 16, 2008, 07: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 admins only]");


XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10625
Re: only home page added to sitemap
« Reply #3 on: July 17, 2008, 06: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.

sebaro

  • Approved member
  • *
  • Posts: 3
Re: only home page added to sitemap
« Reply #4 on: July 18, 2008, 05:24:40 AM »
yes

html links point to [external links are visible to admins only]host=hostname
then php script opens [external links are visible to admins only]

XML-Sitemaps Support

  • Administrator
  • Hero Member
  • *****
  • Posts: 10625
Re: only home page added to sitemap
« Reply #5 on: July 18, 2008, 04: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.

 

SMF 2.0.12 | SMF © 2014, Simple Machines
XHTML RSS WAP2