locked
sitemap Url RRS feed

  • Question

  • User-1896479928 posted

    I have site map file and I need to make the sitenode to has the same url but it gives me that the sitemap needs uniqe urls how can I set the nodes to refer to the same url?

     

    Thank you

    sms

    Wednesday, October 31, 2007 1:39 PM

Answers

  • User-168033412 posted

    Hi,

    Why don't you append # and any keyword with your url, which will make it unique. 

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, November 1, 2007 3:41 AM
  • User1702256038 posted

    Hi,

    Base on your description, you want to set the same url fot the sitemap node, right?

    There is not allowed the same url in the sitemap file, but you can add some different querystrings for the url to distinguish the URLs.

    For example:

      <siteMapNode title="Home" description="Home" url="~/default.aspx" >
        <siteMapNode title="Printers" description="Printer Service" url="~/printer_service.aspx">
          <siteMapNode title="Warranties" description="Extended Warranties" url="~/ext_warranty.aspx" />
          <siteMapNode title="Maintenance" description="Maintenance Aggrements" url="~/maintenance.aspx" />
          <siteMapNode title="ASP" description="Alternative Pricing" url="~/asp.aspx" />
          <siteMapNode title="Block Time" description="Block Time" url="~/block_time.aspx" />
        </siteMapNode>
        <siteMapNode title="Computers" description="PC Service" url="~/pc_service.aspx?1=1" >
          <siteMapNode title="Warranties" description="Extended Warranties" url="~/ext_warranty.aspx?2=2" />
          <siteMapNode title="Maintenance" description="Maintenance Aggrements" url="~/maintenance.aspx#" />
          <siteMapNode title="ASP" description="Alternative Pricing" url="~/asp.aspx?4=4" />
          <siteMapNode title="Block Time" description="Block Time" url="~/block_time.aspx?5=5" />

        </siteMapNode>
      </siteMapNode>

    Hope it helps.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, November 2, 2007 1:55 AM
  • User-1896479928 posted

    Thanks amanda .....

     

    Regards,

    sms

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, November 2, 2007 10:57 AM

All replies

  • User-168033412 posted

    Hi,

    Why don't you append # and any keyword with your url, which will make it unique. 

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, November 1, 2007 3:41 AM
  • User-1896479928 posted

    Thank you for your reply but how can i append # in the url and this will make it work. please give eg.

     

    regards,
    Sms

    Thursday, November 1, 2007 10:46 AM
  • User1702256038 posted

    Hi,

    Base on your description, you want to set the same url fot the sitemap node, right?

    There is not allowed the same url in the sitemap file, but you can add some different querystrings for the url to distinguish the URLs.

    For example:

      <siteMapNode title="Home" description="Home" url="~/default.aspx" >
        <siteMapNode title="Printers" description="Printer Service" url="~/printer_service.aspx">
          <siteMapNode title="Warranties" description="Extended Warranties" url="~/ext_warranty.aspx" />
          <siteMapNode title="Maintenance" description="Maintenance Aggrements" url="~/maintenance.aspx" />
          <siteMapNode title="ASP" description="Alternative Pricing" url="~/asp.aspx" />
          <siteMapNode title="Block Time" description="Block Time" url="~/block_time.aspx" />
        </siteMapNode>
        <siteMapNode title="Computers" description="PC Service" url="~/pc_service.aspx?1=1" >
          <siteMapNode title="Warranties" description="Extended Warranties" url="~/ext_warranty.aspx?2=2" />
          <siteMapNode title="Maintenance" description="Maintenance Aggrements" url="~/maintenance.aspx#" />
          <siteMapNode title="ASP" description="Alternative Pricing" url="~/asp.aspx?4=4" />
          <siteMapNode title="Block Time" description="Block Time" url="~/block_time.aspx?5=5" />

        </siteMapNode>
      </siteMapNode>

    Hope it helps.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, November 2, 2007 1:55 AM
  • User-1896479928 posted

    Thanks amanda .....

     

    Regards,

    sms

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, November 2, 2007 10:57 AM