469,625 Members | 1,655 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,625 developers. It's quick & easy.

asp:menu and search engine visibility

Newbie question: I'm guessing that using asp:menu in an aspx 2.0 web
form doesn't allow search engines to index pages via the menu tree.

Please can anyone confirm this? Assuming this is correct then what are
the suggested ways if improving search engine visibility? I was
wondering for example whether there's any simple way of converting a
web.sitemap file to a text file of hyperlinks. (Again I'm assuming
that web.sitemap isn't enough on its own to guide the indexing
process.)

JGD
Aug 6 '06 #1
3 1125
John,
First of all, let's not confuse web.sitemap which is solely for the use of
the control, with a "google sitemap" which is an xml document that google's
crawler will use to index your site. They are two completely different things.

In general, search engine crawlers do nothing but follow hyperlinks.
However, they "prefer" generic links that point directly to a resource, such
as "http://mysite/myfolder/mypage.aspx" They will follow multiple links with
the same page but different querystring items, but "only up to a point".

Your best bet is to supply a list of "generic" hyperlinks to everything in
your menu, say, at the very bottom of the page. You can also create a
separate google sitemap.
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"John Dann" wrote:
Newbie question: I'm guessing that using asp:menu in an aspx 2.0 web
form doesn't allow search engines to index pages via the menu tree.

Please can anyone confirm this? Assuming this is correct then what are
the suggested ways if improving search engine visibility? I was
wondering for example whether there's any simple way of converting a
web.sitemap file to a text file of hyperlinks. (Again I'm assuming
that web.sitemap isn't enough on its own to guide the indexing
process.)

JGD
Aug 6 '06 #2
On Sun, 6 Aug 2006 11:26:01 -0700, Peter Bromberg [C# MVP]
<pb*******@yahoo.nospammin.comwrote:
>First of all, let's not confuse web.sitemap which is solely for the use of
the control, with a "google sitemap" which is an xml document that google's
crawler will use to index your site. They are two completely different things.

In general, search engine crawlers do nothing but follow hyperlinks.
However, they "prefer" generic links that point directly to a resource, such
as "http://mysite/myfolder/mypage.aspx" They will follow multiple links with
the same page but different querystring items, but "only up to a point".

Your best bet is to supply a list of "generic" hyperlinks to everything in
your menu, say, at the very bottom of the page. You can also create a
separate google sitemap.
Thanks. Is there any utility available that can accept an aspx
web.sitemap file (which I already have) as an input and then output a
file in Google sitemap format? I imagine that this should be fairly
straightforward but don't want to reinvent the wheel.

JGD
Aug 6 '06 #3
A google sitemap is an extrreeeeemly simple xml document:

<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.google.com/schemas/sitemap/0.84">
<url>
<loc>http://www.yoursite.com/yourappname/default.aspx?id=2</loc>
<lastmod>2006-08-05</lastmod>
<changefreq>weekly</changefreq>
<priority>0.08</priority>
</url>
(more url nodes, then... the closing:
</urlset>

Methinks one could do this in a text editor even with little or no knowledge
of xml,
by just taking the menu sitemap and doing some strategic Search and replace.
Cheers,
Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"John Dann" wrote:
On Sun, 6 Aug 2006 11:26:01 -0700, Peter Bromberg [C# MVP]
<pb*******@yahoo.nospammin.comwrote:
First of all, let's not confuse web.sitemap which is solely for the use of
the control, with a "google sitemap" which is an xml document that google's
crawler will use to index your site. They are two completely different things.

In general, search engine crawlers do nothing but follow hyperlinks.
However, they "prefer" generic links that point directly to a resource, such
as "http://mysite/myfolder/mypage.aspx" They will follow multiple links with
the same page but different querystring items, but "only up to a point".

Your best bet is to supply a list of "generic" hyperlinks to everything in
your menu, say, at the very bottom of the page. You can also create a
separate google sitemap.

Thanks. Is there any utility available that can accept an aspx
web.sitemap file (which I already have) as an input and then output a
file in Google sitemap format? I imagine that this should be fairly
straightforward but don't want to reinvent the wheel.

JGD
Aug 6 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by Chuck Hartman | last post: by
7 posts views Thread by tfsmag | last post: by
4 posts views Thread by Ben | last post: by
2 posts views Thread by jason | last post: by
2 posts views Thread by Kevin L. Kitchens | last post: by
2 posts views Thread by Steve Richter | last post: by
3 posts views Thread by win | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.