Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...DNNFriendlyUrl urlFormat="advanced" causes all popups to 404DNNFriendlyUrl urlFormat="advanced" causes all popups to 404
Previous
 
Next
New Post
6/24/2014 8:20 PM
 

In "advanced" mode, I can use either /login or /login.aspx. In "humanfriendly" mode, I need to have the .aspx extension.

 
New Post
6/25/2014 12:33 PM
 
the fact that you can do /login in advanced mode means that the advanced url rewriter is working (i.e. it handles an extensionless url), so the hotfix is either applied or not applicable (as support is built into the revision of IIS you are running) - I should have looked closer but your issue is that your url is not correctly generated i.e. it's //ctl/Ask/mid/435?popUp=true whereas it should have the page name i.e. /home/ctl/Ask/mid/435?popUp=true (e.g. a valid local modal link in my install has this url: http://localhost/dnn_platform/Host/Extensions/ctl/Edit/mid/345/packageid/83/portalid/0?popUp=true ). I do not know why your link does not have the page name. I'm guessing you generate it via custom code - are you using NavigateUrl?

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
6/25/2014 8:31 PM
 

Hi,

Yes, we are using NavigateURL:

lnkAsk.Attributes.Add("onclick", "return " & UrlUtils.PopUpUrl(Globals.NavigateURL(TabId, "Ask", "mid=" & ModuleId), Me, PortalSettings, True, False))

However, the problem exists even on the built-in editor: //ctl/Edit/mid/418?popUp=true

---

Breakthrough! I have discovered this problem only exists on the home page. The home page has a custom URL of "/", to prevent http://host.tld/ and http://host.tld/Home from showing the same content (SEO says this is a Very Bad Thing).

It seems the URL rewriter is redirecting /Home/ctl/... to //ctl/... and breaking things. This is likely a bug?

Unfortunately, because all popups are broken, I can't edit the page settings for the homepage anymore. I shall have to edit the database and change it manually.

Perhaps there is a workaround for this? Another method of implementing a 403 Redirect from /Home to /?

 
New Post
8/10/2014 11:06 PM
 

I have found a work-around for my particular issue. I returned the custom URL to the default host.tld/Home format, and configured the site's Home Page setting (Site Settings -> Advanced -> Page Management -> Home Page) to /Home. This seems to make the host.tld/Home URL redirect to host.tld/, which is what I wanted in the first place.

This seems to only cover up the "/" custom URL issue - the underlying cause in the code is still there, but our site no longer runs into this issue.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...DNNFriendlyUrl urlFormat="advanced" causes all popups to 404DNNFriendlyUrl urlFormat="advanced" causes all popups to 404


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out