Jump to content

Old URLs remain in admin nav after moving the website


rooofl
 Share

Recommended Posts

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?

Link to comment
Share on other sites

  • 2 weeks later...
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?

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...