DNN Forums

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

DNN Folder Structure

Sort:
You are not authorized to post a reply.





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?






    Advanced Member





      I am not aware of Dnn generating urls with an ending / , are you using some custom url provider or sitemap provider ?





      Veteran Member





        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





          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

          Chris Hammond Christoc.com Software Solutions
          With DNN since before it was DNN!
          Open Source Projects and Tutorials since 2003





          Senior Member





            I'm wondering if the "SEO guy" actually tested this? :)





            New Around Here





              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.
              You are not authorized to post a reply.

              These Forums are dedicated to the discussion of DNN Platform.

              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