Question

Photo of Dillan Cagnetta

0

Urgent: Page Routing Homepage problem

Hi all

I created a page route for page 3 that maps to admin so i could use http://externaldomain/admin

now whenever i go to my site it takes me to the rock login! i deleted the route i created, deleted cache, restarted rock and its still taking me to rock admin page

help please

  • Photo of Jim Michael

    0

    I don't think I have a solution to your issue (other than make sure your browser cache is cleared, too... but I assume you tried this from multiple clients) but I'm not quite understanding the circumstances. You said you pointed to page 3, but that *is* the Rock login page. So you said when you go to your site it "takes you to the Rock admin page"... which is, what, exactly? The internal homepage?

    When you edit your external site (General Settings | CMS Config | Sites | External Web Site) is the Default Page set to "External Homepage" like it should be?

    • Nick Airdo

      Right, page 3 is the login page. Dillan, you probably meant to map your "admin" route to page 12. Page 12 is the internal Rock admin site, not page 3.

    • Dillan Cagnetta

      Hi Jim. The external site default page is set to External Homepage. I redid it to make sure.
      I pointed "admin" to page 3 which is the internal homepage.
      after trying alot of things i decided just to do a restore. I dont think this problem was ever going to get solved.


      Advice: before creating a route, BACKUP!

    • Dillan Cagnetta

      problem is i deleted the route and still my site will not work! seeing as didn't think this was solvable i restored from a backup

    • Jim Michael

      Well, glad you got it working. I'm sure this could have been figured-out, and if there's a failure mode where setting a route and undoing it doesn't revert, we need to find it... But I understand your urgency to get it working again quickly.


      But just wanted to reiterate ONE more time that you were actually pointing at the login page (3) in your route. That doesn't explain why it didn't revert to normal after you removed the route, but does explain why you got the login page in the first place. The internal site homepage is 12 :-)


      I'm going to try and duplicate this on a dev box here.

    • Dillan Cagnetta

      Yeah thats what i thought. So i cleared Rocks cache a gazillion times, restarted, cleared browser cache, tried different browsers on different PC's


      so then i assumed the route was not deleted from the DB. check the DB and the route was not there


      but it was still taking me to the wrong page

  • Photo of Trey Hendon III

    0

    Can you try going specifically to a page in the public site possibly with a route (maybe /give)? It sounds like a portal caching issue I've seen many times on another ChMS. This becomes the request that Jim and I have to not allow cross portal page views to prevent this.
    • Dillan Cagnetta

      any other route on the public site works. its just that www.externaldomain.com takes you to the rockrms admin login page

  • Photo of Ken Roach

    0

    I'm having the same problem.

    I've created a sandbox (pre-prod site) by copying my database and wwwroot files to a new database and domain, and changing the web.connectionstrings.config file to point to the new database.  I logged onto the internal site and edited the global attributes for the external and internal root directories.

    But everytime I try to go the the external page I end up at http://www.mysite.org.nz/page/3?returnurl=%252f, not to .../page/1.  Sugestions?

    I need to resolve this because I'm trying to go from a dev environment to a production site. Thanks.

     

    -------

    My issue was resolved by editing the External Website and the Rock RMS site on the  "CMS Configuration/Sites" page.

    See https://www.rockrms.com/Rock/Ask/Troubleshooting/Questions/672