DNN Forums

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

Multiple URLS same portal?

Sort:
You are not authorized to post a reply.





New Around Here





    The scenario I want is this:
    URL 1 --> custom homepage --> user logs in --> url1/mydashboard

    URL 2 --> custom homepage---> user logs in --> url 2 / mydashboard

    My dashboard is the same page however should show the appropriate URL from the page user came from?  Also MyDashboard should follow the same skin as the main url page.

    Is this possible with DNN? (I'm assuming it is) how do i set this up?

    Thanks!






    Veteran Member





      If it is actually the same site, just add an alias under site settings.

      Tjep's digital agencyRegards,
      Tycho de Waard

      Tjep's digital agency
      We just love DNN
      https://www.tjeps.com





      New Around Here





        The page itself would be different -- completely brand/colors/skin  the content for the homepage would be different, the internal user-generated content would be updated (in custom modules) based on URL.  So i have that managed.

        what I want to know is how to show the different homepage based on URL and have the skin follow through.  can an alias have a different skin?






        Veteran Member





          I think an alias can have a different skin (or styling) if you use the Style helper from 40Fingers: https://www.40fingers.net...ucts/DNN-Stylehelper

          Tjep's digital agencyRegards,
          Tycho de Waard

          Tjep's digital agency
          We just love DNN
          https://www.tjeps.com





          New Around Here





            Cool  Thanks for that pointer.  Any idea how I can change content based on URL for the main landing page?






            Veteran Member





              As I am not a developer, I would probably do an unconventional solution like putting an actionform on the homepage.
              And then add a staticfield, do all the HTML I want and put a condition on that field with one of the DNN Core tokens like [Url:Domain] =='domainhere' 
              And below that a variant of that field but with a condition  [Url:Domain] !='domainhere' 

              Or maybe just a copy of the entire homepage, rework to what you want and put a redirect/forward on url2 to url1/home2

              Tjep's digital agencyRegards,
              Tycho de Waard

              Tjep's digital agency
              We just love DNN
              https://www.tjeps.com





              New Around Here





                i'm leaning towards the action form solution.  The issue with the forwarding solution is it changes the URL which is not desirable.  Maybe though some type of URL manipulation maybe in order eg: home2 --> home2/page1 

                Thanks for the great ideas and pointers  I appreciate it :-)






                Veteran Member





                  The url would actually not change, was simply to show how the 'sitemap' would be. If you have both urls as aliasses, you should be fine.

                  Tjep's digital agencyRegards,
                  Tycho de Waard

                  Tjep's digital agency
                  We just love DNN
                  https://www.tjeps.com





                  New Around Here





                    good article free tiktok followers

                    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