• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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