[ad_1]
I changed the URL, because i am trying to move my website from a subdomain to the primary domain – but i should not have done that. I cant get back to the site now, and i cant change it back. How can i make this right again?
It says 403 forbidden
Please please please help.
[ad_2]
Edit wp-config.php file
If you have ssh access to the site, you can use wp cli
WP search-replace domain1.com domain2.com –all-tables –precise –report-changed-only –dry-run
Take out the dry run if the first run looks OK.
Tbh tho I haven’t see a 403 on bad urls. 403 is normally a permissions error. Might need to check the permissions of files in your site root.