Whats up with the tears everywhere? Its saddening.
Any way for a search engine bot such as google to identify pages on your site when it crawls your site is by downloading the HTML output that is rendered to browsers.
When the have this document they scan through looking for the contents that are within the href element (example href"http://www.YourSite.Com/AnotherPage.aspx")
Once they have all the links from this page they will do this to all your pages until they have a complete list of links and no more pages to crawl.
Remember it can take weeks before google will index your site! Even then they do not all ways display all your pages.
Use google web master tools to find out errors google is having with your site.
To eveluate if your page is rendering correctly use "Developer Tools" or "View Source" that will be found in tools or options depending on the browser of your choice you should even have one of these options by right clicking on the HTML content in the browser.
Regards Regan.
Classifieds Starter Kit
Trading Center is a Continuation of the Classifieds Starter Kit onCode Plex.
Your options are to either use the image/a tag combo like i mentioned in my first post or manually create an xml sitemap so that google can find your pages that way.
You can use tool to create xml sitemap and upload to you website.
This way don't need waste your server resource, dynamic xml sitemap may affect your website performance.
Codewriter90...
Member
21 Points
85 Posts
xml sitemap for google
Dec 14, 2009 07:54 AM|LINK
Hi :D
i have a big problem!
i have build a web site in asp.net with master page...
i need to create the xml sitemap for google for indicizate my site.....
the web site generator of xml sitemap see only the default.aspx page....
how i must be ??
plz help meeeeeeeeeeee
rtpHarry
All-Star
56620 Points
8958 Posts
Re: xml sitemap for google
Dec 14, 2009 10:14 AM|LINK
All of your page links are imagebuttons which render out to code like this:
<input type="image" name="ctl00$BttRegistrazione0" id="ctl00_BttRegistrazione0" tabindex="53" src="../../Image/pulsanti/registrazione.jpg" onclick="javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("ctl00$BttRegistrazione0", "", false, "", "../../Registrati/", false, false))" style="border-width:0px;" />As you can see there is no href there that google can follow so it can only see your homepage.
You should have proper <a href> tags in your navigation like this:
Or you can use <asp:HyperLink> and <asp:Image> if you prefer.
How are you generating this navigation at the moment?
Codewriter90...
Member
21 Points
85 Posts
Re: xml sitemap for google
Dec 14, 2009 01:00 PM|LINK
mmmm google see the linkbutton??
Spider Maste...
Participant
1664 Points
483 Posts
Re: xml sitemap for google
Dec 15, 2009 05:25 AM|LINK
That is what rtpHarry has told you.
Whats up with the tears everywhere? Its saddening.
Any way for a search engine bot such as google to identify pages on your site when it crawls your site is by downloading the HTML output that is rendered to browsers.
When the have this document they scan through looking for the contents that are within the href element (example href"http://www.YourSite.Com/AnotherPage.aspx")
Once they have all the links from this page they will do this to all your pages until they have a complete list of links and no more pages to crawl.
Remember it can take weeks before google will index your site! Even then they do not all ways display all your pages.
Right now Google has indexed 2 Links to your site as found here http://www.google.co.nz/search?rlz=1C1CHMY_enNZ310NZ315&sourceid=chrome&ie=UTF-8&q=site:www.hobbyshopping.it
Use google web master tools to find out errors google is having with your site.
To eveluate if your page is rendering correctly use "Developer Tools" or "View Source" that will be found in tools or options depending on the browser of your choice you should even have one of these options by right clicking on the HTML content in the browser.
Regards Regan.
Trading Center is a Continuation of the Classifieds Starter Kit onCode Plex.
rtpHarry
All-Star
56620 Points
8958 Posts
Re: xml sitemap for google
Dec 17, 2009 07:21 AM|LINK
No google wont be able to follow links embedded in a linkbutton.
rtpHarry
All-Star
56620 Points
8958 Posts
Re: xml sitemap for google
Dec 17, 2009 07:22 AM|LINK
Your options are to either use the image/a tag combo like i mentioned in my first post or manually create an xml sitemap so that google can find your pages that way.
The first option is the best though.
Codewriter90...
Member
21 Points
85 Posts
Re: xml sitemap for google
Dec 17, 2009 10:04 PM|LINK
I have modify the page.... for exmple:
<td runat="server" style="">
<a href='<%# "/Prodotti/Sottocategoria/?Sc="+ Eval("*****").ToString() + "&Categoria=" + Categoria %>'>
<asp:LinkButton runat="server" PostBackUrl='<%# "~/Prodotti/Sottocategoria/?Sc="+ Eval("******").ToString() + "&Categoria=" + Categoria.ToString)%>' Font-Overline="false">
<asp:Label ID="SCLabel" runat="server" Text='<%# Eval("******") %>' Font-Names="arial" Font-Size="Small" />
<br />
</asp:LinkButton></a>
</td>
the xml generator see the link but google in the sitemap acept only one link....








rtpHarry
All-Star
56620 Points
8958 Posts
Re: xml sitemap for google
Dec 22, 2009 03:11 PM|LINK
Hey,
That seems closer but I would still put it differently - I dont think a linkbutton is valid content within an anchor tag...
<td runat="server" style=""> <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl='<%# string.Format("/Prodotti/Sottocategoria/?Sc={0}&Categoria={1}", Eval("*****").ToString(), Categoria) %>' Text='<%# Eval("******") %>' /> <br /> </td>jason tb
Member
138 Points
29 Posts
Re: xml sitemap for google
Dec 24, 2010 02:11 AM|LINK
Hello,
You can use tool to create xml sitemap and upload to you website.
This way don't need waste your server resource, dynamic xml sitemap may affect your website performance.
Good Luck!