Question

Photo of Andrew Lee

0

Website redirecting

We recently had to restore our rock installation and ever since then notice the following:

when browsing with "www" the external website loads
when browsing without the www the regular default page 12 loads.
 
the web.config has the default url going to page 12 (defaultUrl="Page/12")
 
For example
www.domainname.com -> Redirects to https://www.domainname.com as the external website
domainname.com -> Redirects to https://hccrock.com/page/3?returnurl=%252f
 
Any suggestions?
 
 
  • Photo of Andrew Lee

    0

    I first resolved this issue by modifying the "Default Page" on the external site from Internal homepage to external homepage.  I then saw Jeremy's post on removing the external site domain all together since we are not using it.  I removed the domain www.domainname.com from the Home/CMS Configuration/Sites/External Website section.  This also resolved the issue.

    Thank you all for your assistance.

  • Photo of Jeremy Turgeon

    0

    Hi Andrew,

    Does the site have the correct URL information in Rock?  You can check this by going to Admin Tools > CMS Configuration > Sites > Your Site Name > Edit > Domains.  The domains section should have www.domainname.com listed if that's the site you want people navigating to.

    • Andrew Lee

      The ROCK RMS site shows localhost, www.domainname.com and the external website site shows www.domainname.com

    • Andrew Lee

      We are not utilizing the external site. Perhaps that is something we incorrectly programmed from the start. What do others do?

  • Photo of Trey Hendon III

    0

    Prior to restore were you possibly using an IIS redirect (in the web.config file) to redirect users from the hccrock.com to www.hccrock.com?

    • Andrew Lee

      I'm not 100 percent sure -- It's possible. Is there a place in the web.config I could look/modify?