Cant Create Sitemap

I am having a hard time creating a site map with  Could it be because I have several pages (including the home page) that were made with Mobirise and the rest are classic asp pages?  I've tried several online xml site map creators and none seem to be working for me.
Bob SchneiderCo-OwnerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
Bob, what have you tried so far and what failed?
Bob SchneiderCo-OwnerAuthor Commented: gave me this:

<?xml version="1.0" encoding="UTF-8"?>

-<urlset xsi:schemaLocation="" xmlns:xsi="" xmlns="">

<!-- created with Free Online Sitemap Generator -->


Open in new window

Scanned 1 page
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
Bob, I wonder if that is because you tried the free version?  Have a look at this list from google

You can also build your own site map and google allows a text site map

Open in new window

This means you can hard code some pages and use your asp script to query the database to generate the rest.  When you do this, make sure your pages have content. One of the problems with using auto generated site map creators is they may not be able to select and click. As example Results > Fitness Events > Road Race brings you to this page where you get a blank page.  Instead, your site map should show something with content like

What you want to do is create  your site map where there are viewable items. I have seen on your site when you get to an old event there is a modal that says something like this event is past. That may be hard to get indexed. It may be better to have a notice at the top of the page instead of the modal and allow the page to be indexed by google.

Your asp site map page may look like
' add connection string here
' create your recordset for event_type(event_type=5)
' loop through records for all active event_id's event_id=725
response.write ""&rs("event_type")&"&event_id="&rs("event_id")&vbcrlf
' create your recordset for calendar items
' loop through records
response.write ""&rs("event_id")&vbcrlf

Open in new window

I think based on what you are doing , this will be the best option.

However, I find sometimes you are almost better off not using a site map and just make sure you have really good links on your site. The downside to a site map is if you add a page later, make sure it is in the site map. I have found that google will skip new links if not included on the site map.

The other option I suggest is to cache the site map to a file. In other words, instead of submitting the page sitemaps.asp that runs dynamically each time it runs, create the page using FileSystemObject and instead of response.write, use write.line.  Run this each night as a scheduled task and call the file sitemap.txt and submit that file.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Bob SchneiderCo-OwnerAuthor Commented:
Thanks Scott!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.