• Dear Pleskians! The Plesk Forum will be undergoing scheduled maintenance on Monday, 7th of July, at 9:00 AM UTC. The expected maintenance window is 2 hours.
    Thank you in advance for your patience and understanding on the matter.

Issue WordPress page in subdirectory does not work - forwarding to root

Slakish

New Pleskian
Server operating system version
Ubuntu 22.04.5 LTS
Plesk version and microupdate number
Plesk Obsidian v18.0.67_build1800250205.19 os_Ubuntu 22.04
Hello,

I had to restore my website from the WP Toolkit backup. Unfortunately, my site domain.com/blog is not properly accessible. If you enter domain.com/blog in the browser, an HTML version of the page appears. When I try to log in to WP Admin I am redirected to domain.com/wp-admin. It seems that the domain is no longer set correctly in Plesk. The URL change function also recognizes that I need to change from domain.com to domain.com/blog. When I start the task it eventually times out. How can I fix this without having to delete the domain?
 
@Slakish could you please execute the following command on the server:

plesk ext wp-toolkit --wp-cli -instance-id [ID] -- option get siteurl

Where [ID] (please remove the brackets) is the ID of the WordPress installation in Plesk. To learn
the ID, go to WordPress and click the name of the WordPress
installation. The ID will be displayed at the end of the URL in the
browser. For example, if the URL ends with /id/2, then the ID=2.
 
Back
Top