473,398 Members | 2,165 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,398 software developers and data experts.

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 1220
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

7
by: Chuck Hartman | last post by:
I have a Windows service that requests web pages from a site using an HttpWebRequest object. When I try to request a page from an ASP.NET 2 site, I get a WebException with message "The remote...
7
by: tfsmag | last post by:
Has anyone had a problem with putting a menu control into a master page in .net 2.0? I have a problem where if i just drop a menu control on a regular page the menu works fine, the submenus work...
4
by: Ben | last post by:
Hi, I'm using images in my menu control. I have my menu setup based on this example: http://msdn2.microsoft.com/en-US/library/system.web.ui.webcontrols.menuitembinding.imageurlfield(VS.80).aspx ...
2
by: jason | last post by:
Does anybody know how I would get borders around each menuitem? Do I have incorportate into a table? Thanks. The below produces a border around the entire menu. <form id="form1" runat="server">...
2
by: Kevin L. Kitchens | last post by:
Howdy... Been toying the the asp:menu object in order to dump the manually generated menu I've been using, however, I cannot seem to get the coloring to work properly. First off, what CSS...
2
by: Steve Richter | last post by:
I would like to have a standard site navigation menu, horizontal across the page, at the top of the page. When I hover over a top level menu item I want a drop down menu to appear with the same...
0
by: jobs | last post by:
Hi. I have a menu horizontal on the top. I figured out that if I set this property the black arrow on parent items goes away.. StaticEnableDefaultPopOutImage="False" However, the item is...
3
by: kenny bones | last post by:
Hi! I'm currently working on a menu which is based on CSS and is listed with <li> tags. The CSS code looks like this: #nav { position: absolute; top: 101px; left: 390px; list-style: none;...
3
by: win | last post by:
I've create menu in a webform. <asp:Menu ID="Menu1" runat="server" CssClass="toolbar" Orientation="Horizontal"> <Items> <asp:MenuItem Text="Master" Value="Master"> <asp:MenuItem...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.