So confused. Please help...
« on: March 16, 2009, 05:08:41 PM »
Man, I just can't figure this out.

Okay, so I ran the sitemap generator and uploaded the .xhtml file to my root folder, but I don't get how to make the links show up on my sitemap.htm page???

Like basically I want it like other peoples websites where you click sitemap.htm and it shows all the links of the site, keeping the similar website theme on that page.

Could someone explain what to copy and paste in my sitemap.htm page to show all the links? Also, what is the .xhtml page even doing..like what is it's function?


Thanks,
Joey
Re: So confused. Please help...
« Reply #1 on: March 16, 2009, 09:16:09 PM »
Joey,

First of all your newly generated XML sitemap file should uploaded as a .xml file, not a .xhtml file. Uploading it to your root is fine so the address would be like; www. whatever .com/sitemap.xml

The links won't show up on your .htm page because they have to be manually updated within the .htm page...

Regards,
Joel
Re: So confused. Please help...
« Reply #2 on: March 16, 2009, 11:11:34 PM »
So at the bottom of my website where I have my links, would I link to the sitemap.xml page......or should I create a separate .htm page?
Re: So confused. Please help...
« Reply #3 on: March 17, 2009, 02:33:07 AM »
I've recently learned in another thread at this forum that you don't need to link your .htm pages to your .xml sitemap. You would simply add a statement in your robots.txt file like this;

Sitemap: http:// www. domain .com/sitemap.xml

So your robots.txt file should now look something like this;

User-agent: *
Disallow: /images/
Sitemap: http:// www. domain .com/sitemap.xml


Regards,
Joel