Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Not allowed to access this page wp-admin page

My website was https://www.example1.com now I have just replaced the siteurl with https://www.example2.com. My website is working fine with new url. but the problem is with wp-admin page. When I am accessing it, it is showing

Sorry, you are not allowed to access this page. 

If I just change the url it works fine again but not with new url.

Could you please tell me what is the mistake I am doing

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

Thanks in advance!

Note: My website is on godaddy’s plask server

>Solution :

There are all sorts of internal links in WordPress sites. When you migrate a site from one URL to another it’s best to use a migration plugin. I like Duplicator, but there are others. The migration plugins fix up all the internal links and other stuff.

You may be trying to display a backend page from the old site, because some link or other did not get fixed.

And, don’t forget to visit Settings / Permalinks and make sure the permalinks on your new setup are the same as on the old.

Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading