Support

Admin Tools for WordPress

#35014 After moving site I get 403 error

Posted in ‘Admin Tools for WordPress’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

WordPress version
n/a
PHP version
n/a
Admin Tools version
n/a

Latest post by nicholas on Wednesday, 07 April 2021 08:29 CDT

mwlake

I have moved my site from Sub-domain to Root domain and the site continues to not load and redirect to empty subdomain with 403 error. What files do I need to change to get the site to load from root?

I am using Admintools for Wordpress Pro. I have done this before and have looked in the wp-config.php and wp-settings.php .htaccess and made the proper changes but the site continues not to load properly. I have change the site access points in the database also

Your help is requested.

If there is a location with proper instructions how to move a site from sub to root a link to that information will suffice.

nicholas
Akeeba Staff
Manager

If there is a location with proper instructions how to move a site from sub to root a link to that information will suffice.

 You have actually figured out the root cause of the problem: you can't just move the site's files, you need a full solution to also deal with WordPress' hardcoded URLs in its files and its database data, including serialised data.
 
The easiest way to transfer a site I can give you is to use Akeeba Backup Core for WordPress. This is our free of charge version. Check out the following video tutorials in this order:

The idea is to install Akeeba Backup on the site that's in the subdomain, take a backup and restore the backup on the main site.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

mwlake

I didn't do this the last time I transferred a site from Sub to Root, but your solution worked like a charm.

As always, I thank you for responding promptly and with the needed information to solve the problem.

Excellent work. You may close this thread.

nicholas
Akeeba Staff
Manager

You're welcome! Have a great day :)

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!