DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

DNN Folder Structure

 5 Replies
 3 Subscribed to this topic
 21 Subscribed to this forum
Sort:
Author
Messages
New Around Here
Posts: 1
New Around Here

Hi everyone,

My first time posting, not a programmer, looking for suggestions.  My seo guy says DNN (version is 7, but I will be using 9 in the future) creates two versions of a page because it does not automatically end the URL with a backslash, for example domainname/about-us and domainname/about-us/ both exist -- how can I make dnn only and always create domainname/about-us/ with the slash at the end?

Veteran Member
Posts: 349
Veteran Member
3 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
MVP
MVP
You're an MVP!
Engaged Reader
Engaged Reader
You are an engaged reader!
Avid Reader
Avid Reader
Avid Reader art thou!
I am not aware of Dnn generating urls with an ending / , are you using some custom url provider or sitemap provider ?
Senior Member
Posts: 1322
Senior Member
3 Helpful Replier
Helpful Replier
Thanks for being such a helpful replier!
Lifesaver
Lifesaver
You're Life Saver!
New Poster
New Poster
Congrats on posting!
3 Engaged Reader
Engaged Reader
You are an engaged reader!
Posted By Daniel Valadas on 03 Jul 2019 05:03 AM
I am not aware of Dnn generating urls with an ending / , are you using some custom url provider or sitemap provider ?

I just tested in DNN 7 & 9 and the / at the end is removed if you enter it

 

 

Growing Member
Posts: 55
Growing Member
MVP
MVP
You're an MVP!

I tested one of my DNN 9 sites and was provided a 301 direct 

https://www.chrishammond.com/About/

redirected to

https://www.chrishammond.com/About

Senior Member
Posts: 1607
Senior Member
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!
I'm wondering if the "SEO guy" actually tested this? :)
New Around Here
Posts: 24
New Around Here
MVP
MVP
You're an MVP!
DNN actually creates a few "versions" of the URL depending upon what the name of your page is.

In addition to what is mentioned above, if you have a space in your page name (with the space reflected as a dash depending upon your settings) then the URL will work with or without the space. Also if you have .aspx at the end of the URL it will work.

Examples:

www.mysite.com/about-me will also work as www.mysite.com/aboutme

www.mysite.com/about-me will also work as www.mysite.com/aboutme.aspx or www.mysite.com/about-me.aspx

In the examples above, DNN will redirect you to the "master" version of the URL so there shouldn't be an issue with SEO. I'd also suggest forcing lowercase so that you don't end up with multiple "versions of the pages" in analytics due to a case issue.

Also, if custom modifications to the advanced URL regular expressions are made, you could end up with some interesting combinations and probably force the / at the end of URL's if you really wanted to.

These Forums are for the discussion of the open source CMS DNN platform and ecosystem.

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

  1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
  2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
  3. 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.
  4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  5. No Flaming or Trolling.
  6. No Profanity, Racism, or Prejudice.
  7. Site Moderators have the final word on approving / removing a thread or post or comment.
  8. English language posting only, please.

Would you like to help us?

Awesome! Simply post in the forums using the link below and we'll get you started.

Get Involved