Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Weird behavior of menu control when used in secondary domain

Weird behavior of menu control when used in secondary domain

Scheduled Pinned Locked Moved ASP.NET
comhostingbeta-testinghelpcode-review
1 Posts 1 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    AlexeiXX3
    wrote on last edited by
    #1

    Hi, thanks for looking I have a shared hosting account on godaddy, i can host unlimited domains, But im having a "problem" when hosting another domain besides the root domain This is what happens Lets say i have a second domain (mydomain.com) I can add this new domain to my hosting account, all i need to do is to link it to a folder inside the root folder in my hosting account, lets call this folder folder1 So i have this structure on my site: root/ (here is where my main domain is) root/folder1 (here is where mydomain.com is) I can access it and it works fine, the problem is that when i use a menu control to enable the navigation, the menu items link me to: www.mydomain.com/folder1/PageName.aspx instead of www.mydomain.com/PageName.aspx Ive tryed using the link without the ~/ in the sitemap but it still gets the full url (www.mydomain.com/folder1/PageName.aspx) This doesnt happen when i use links, even if i use ~/ to get the navigateurl Is there any way to avoid this behavior of the menu control I noticed that a dotnetnuke portal has the same behavior when i set it up as a secondary domain, it enters the site with www.sitename.com but once a menu item is clicked, it shows the www.sitename.com/folder/PageName.aspx Thanks for any feedback

    Alexei Rodriguez

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups