rooofl Posted January 17, 2018 Posted January 17, 2018 Hello, I moved my project from /dev to / on my server and changed the /dev to / in the database. Now the url of the main admin nav bar (page, setup, modules…) still point to /dev. The front end of the website is not affected, neither the admin page tree. I first thought it was related to the cache as it appears I don’t have tracks of /dev in my database anymore. Can you help me to locate where to update those old URLs?
rooofl Posted January 30, 2018 Author Posted January 30, 2018 Anyone for this issue? Thanks in advance
kongondo Posted January 30, 2018 Posted January 30, 2018 On 17/01/2018 at 8:30 AM, rooofl said: Can you help me to locate where to update those old URLs? Unsure what's going on here. ProcessWire doesn't save URLs. They are created on the fly. You can change the name of your admin by editing the admin page. I am talking about the page Admin in the page tree, the one whose ID is 2. If you have Tracy Debugger, you can run the following code in its console, otherwise, you can run it in a template file (in that case wrap it around a check for superuser). echo $pages->get(2)->name; What does it show?
Peter Knight Posted January 31, 2018 Posted January 31, 2018 You don’t have something in the config file which includes the /dev/ host?
rooofl Posted February 1, 2018 Author Posted February 1, 2018 Thank you both for your answers. The problem solved itself after a day, I guess it is related to a cache issue.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now