Web Forms :: How To Create A Sitemap For Dynamic Urls
Jun 3, 2010
i have a website that generates urls dynamicly.(?Department=1&Category=4&Page=2) then i rewrite the url to (Phone-d1/Sony-Ericsson-c4/)
I have hunderds of products so how do i create a sitemap for this, or should i doit only for the Departments, if so how would i do it.
View 2 Replies
Similar Messages:
May 25, 2010
How I can to Create a dynamic Google SiteMap in ASP.NET 2 or higher??
now I can to Create Static dynamic Google SiteMap.
View 1 Replies
Jul 20, 2010
how to create dynamic google sitemap from my database?
View 4 Replies
Feb 15, 2010
I'm not sure that what I need to do is possible.I'm using the SQL SiteMap Provider as the source for my main navigation menu. When a user hits my site, they are asked to enter their location (town name). This preference setting is being stored using the Profile Provider. The page then reloads to showwww.mysite.com/liverpool in the address bar, for example. The information shown on this page is relevant to where they are. I'm using URL rewriting to map this to a page that is passed a parameter (eg. viewZone.aspx?ZoneID=234). I now need to insert the town name into some of the URLs generated from the sitemap. For example:www.mysite.com/cars-for-salewould becomewww.mysite.com/liverpool/cars-for-saleSome URLs would need to remain unchanged such as www.mysite.com/shop.Do you know if this is possible? If needed I could put a placeholder inside the URL in the database - **townName**/cars-for-sale and then run some kind of replacement procedure at run-time, but I don't know where in the execution process I could do that.
View 5 Replies
Oct 20, 2010
URLs are stored in a database, example:
home/page1
gallery/image1
info/IT/contact
home/page2
home/page3
gallery/image2
info/IT/map
and so on.
I would like to arrange the above urls into a tree fashion as shown below (each item will be a url link). The final output would be a simple HTML List (plus any sub list(s))
thus:
home gallery info
page1 image1 IT
page2 image2 contact
page3 map
Programming Language is C# , platform is asp.net
EDIT 1:
In the above example, we end up with Three Lists because in our example there is three main 'groups' eg: home, gallery, info.
View 3 Replies
Jan 25, 2011
I've got a custom menu navigation built from a web.sitemap file, the first line of this would be something like:
SiteMapNodeCollection topLevelNodes = SiteMap.RootNode.ChildNodes;
However, now I want to be able to create multiple web.sitemap files, and then programmatically determine which web.sitemap file to use, but I can't seem to find out how to do this. I'm assuming I could either create one custom SiteMapProvider that can perform the logic to determine which web.sitemap file to load, or I have multiple providers, each one with the SiteMapFile property set to a specific *.sitemap file, and then switch providers programmatically before I access SiteMap.RootNode.
View 2 Replies
Jan 27, 2010
I need to make a sitemap with all the products i have in database.
I can make it easly in aspx web file, but is it better if i make it in Web.sitemap file? Would search engines find it?
And if is better to make it in Web.sitemap, how can i create siteMapNode for each product i have (and i add) in database?
View 12 Replies
Aug 12, 2010
i want to convert my dynamic urls to static urls.
I dont have apache installed on my server so it cant be through .htaccess re-write.
Here is the example what i want :
[URL]
I want to change all odds.asp pages to static URLs.My previous posts and new posts too.
Here is my odds.asp file
[URL]
View 1 Replies
Jun 11, 2010
I would like to generate a dynamic sitemap to my website.It should be updated daily. Depends up on database user i have to generate.I am in initial stage of my website development.What are the things i have to take care. And how to develop a sitemap according to my requirement. I am using TeamSys 2008
View 3 Replies
Feb 22, 2010
Here is my web.sitemap code:
[Code]....
I wanna to show bread crumbs navigation like:
Home > Column1 > Content
the problem is: "~/Index.aspx" and "~/Column.aspx?ColumnId=1" are actual URLs and navigation bar: "Home > Column1" really works,
but "~/Content.aspx?ColumnId=1" is only the beginning part of actual dynamic URL, for example: it may be
~/Content.aspx?ColumnId=1&NewsId=12598 or ~/Content.aspx?ColumnId=1&NewsId=37215
all the previous Urls are articles of Column1 with same "~/Content.aspx?ColumnId=1" but are followed with different "&NewsId=number".
So, how can I realize this kind of navigation bar?
Home > Column1 > Content
View 3 Replies
Mar 1, 2010
I'm guessing this is actually an impossible task, but I thought I'd run it by StackOverflow to see if I'm wrong. Basically we have some dynamically created URLs for SEO purposes (around 300,000+ of them) and we want to do 301 redirects to them.
Our current URLs look like this:
http://www.site.com/<Brand>/<Product Name>/<productGuid>
Our old URLs looked something like this:
http://www.site.com/productpage.aspx?productGUID=<productGuid>
Google still has a load of the old URLs indexed, but we obviously want them to know that they should be replaced with our newer ones (and that it's not just duplicate content), hence the 301 redirects.
Our problem is that the <Brand> and <Product Name> parts of the new URLs are obviously dynamically created... making it impossible to create 301 redirects for them.
View 2 Replies
Jan 25, 2011
i want to build dynamic sitemap from database..even my menu items are also dynamic...and i want do display sitemap having categories and related menu items from database..
so i dont know how to build dynamic site and create dymanic links of that menus and categories..
View 1 Replies
Jul 6, 2010
I have a web application that contains a MasterPage and a Web.sitemap file for the navigation. I am loading the navigation into an <asp:Repeater> control and I associating it with <asp:LinkButton>; something like this:
[Code]....
I have two issues:
Setting Session Variables: I'd like to set some session variables when any menu item is clicked.Dynamic Url: Once the Session variables are set, I'd like to set the url dynamically after the Session variable is set The thing is, I'd like to use the same aspx file for two different menu items, and I'd also like to set some session variables at the time of menu selection. I am aware that I cannot use the same url when I define the url in the web.sitemap file.
View 2 Replies
Mar 4, 2010
I want to determine if the following could be implememted using a sitemap and menu control.
I have implemented the selection and navigation using tables and urls.
Each page request the querystring data, get the sql data and create the required selection and navigation urls.
Customers.aspx contains a list of customers with a url for each customer.
[code]....
Can I use a sitemap and menu or tree to provide the back navigation described in the scenario above.
Is it possible to modify the url for one or more sitemapnodes based on a user selection on a page?
Is it possible to add/remove sitemapnodes based on a user selection on a menu?
View 1 Replies
Feb 7, 2011
Does anybody knows how to detect outgoing URL from dynamic flash Object data ? I have some Flash widgets from other sites that contain realtime dynamic data with urls to their site. I want to open those url using popup window like shadowbox instead of targetting new windows.
View 3 Replies
Sep 2, 2010
I have to create a sitemap for my website in asp.net 2.0.
Can anybody tell me the procedure for the same.I am totally new to this concept..
View 1 Replies
Aug 29, 2012
I want to make Sitemap for my website. How to create Sitemap in asp.net?
View 1 Replies
Dec 19, 2011
I have a web app with treeview based on a fairly simple sitemap. The only catch is that I want to be able to remove nodes based on a user's role. We are NOT using the asp.net security so I can't take advantage of the built-in function.When I put code in the master page load event (or anywhere else it seems), there seems to be nothing in the treeview object yet, so I can't make changes to it.
View 7 Replies
Feb 11, 2011
I want to create my menu, but something is not clear. I have:
-Default1.aspx
-Default2.aspx
-Web.sitemap
Default1.aspx:
<asp:Menu ID="Menu1" runat="server" DataSourceID="SiteMapDataSource1">
</ asp: Menu>
<asp:SiteMapDataSource ID="SiteMapDataSource10" runat="server" />
Default2.aspx:
<asp:Menu ID="Menu1" runat="server" DataSourceID="SiteMapDataSource1">
</ asp: Menu>
<asp:SiteMapDataSource ID="SiteMapDataSource10" runat="server" />
Web.sitemap:
<? xml version = "1.0" encoding = "utf-8"?>
<siteMap xmlns[URL]
<siteMapNode url="test" title="test" description="">
<siteMapNode url="" title="test" description="" />
<siteMapNode url="" title="" description="" />
</ siteMapNode>
</ sitemap>
Both the menu are the same. How to Default1.aspx create one menu, and how to create Default2.aspx second menu?
View 1 Replies
Aug 18, 2010
When I login to application, i want Button ad a Header menu like (Admin,Quote....2 button should visible).
If Login User is Admin/Quote then Click on that Button it should show all its child nodes must be as the button horizontally.
[Code]....
Even i have to write the code in the Code Behind of Site.Master. I think i need Repeter's OnItemCommand event but it does not run that methods and how can i filter the sitemap with Role in this Method? I can not able to Find the control in the Code Behind.. Is it possible to show these type of custom menus using SiteMap with Role Filteration?
View 2 Replies
Apr 20, 2010
I have a menu of products which are created at runtime from the database and populated into menu control.
But i need to also create a sitemap and display when the relevant menu or submenu item is selected
View 1 Replies
Jul 19, 2010
I have a website that's in Classic ASP on a hosted server. I'd like to be able to create some "virtual" pages so I can specify google-friendly URLs that translate to ASPs [URL] this_is_the_help_page instead of [URL]admin/helpsubsystem/help.aspx?current_user etc As the server also supports ASP.NET - could I use an HTTP Handler to intercept these calls and do any necessary translations?
View 1 Replies
Nov 16, 2010
i have a function that pulls URLs from various web resources. needless to say some are full valid URLS and some are relative as per the HTML of the page. below is my asp.net/ c# logic i derived for examining the URL and then generate a full usable URL from whats pulled from the site...
NOTE:
origianlurl is the full url of the first searched page, and relativeUrl is a url found within the searched page (it can be a full www.site.com or a /contactus.html)
private string ResolveRelativePaths(string relativeUrl, string originatingUrl)
{
if (relativeUrl.StartsWith("http") || relativeUrl.StartsWith("www"))
return relativeUrl;
if (relativeUrl.StartsWith("/"))
{
//get main url something.com
[code]...
View 1 Replies
May 11, 2010
We are getting this error message when we try to click the link in the menu to go to Report Server:
Source Error:
Line 31: <siteMapNode title="Reports" description="Reports">
Line 32:
Line 33: <siteMapNode url="https://ffxsqldgc01.ffx.co.fairfax.va.us/Reports/Pages/Folder.aspx?ItemPath=%2fDPZ&ViewMode=List" title="View Reports"
description="Click here to view the reports" />
Line 34: </siteMapNode>
Line 35:
I tried to add after the &, as it was suggested on one of the forum but it did not work. Any other ideas.
View 5 Replies
Oct 4, 2010
can anyone tell me how to create a sitemap dynamically from a database
cuz I have tried all the static generaors without any good result
View 4 Replies