• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.

Question Plesk Domain Preview Broken - Subdirectory Install

first4it

New Pleskian
Server operating system version
AlmaLinux 9.5
Plesk version and microupdate number
Plesk Obsidian 18.0.68 Update #2
I am having an issue with Wordpress sites installed on my AlmaLinux 9 Plesk server. As a standard, we normally install WordPress sites into sub-directories as part of our overall security strategy. I know some people will consider this unnecessary or even pointless. This is something we have done now for many years, changing the WordPress settings for the site Address URL to https://www.mysite.com/myfolder and the Site Address URL set at https://www.mysite.com and then modifying the root index.php file to change the path of the WordPress install to /myfolder/.

When we do this and then login to the control panel for the users account and select the domain. The image thumbnail preview displays the site with a 404 error and clicking on the preview link results in the same. Plesk appears to try and load the site preview from the https://www.mysite.com/myfolder as opposed to https://www.mysite.com.

Is there a way around this to keep the site in a sub-directory but have plesk display the preview image and preview site correctly?

Many thanks for your help
 
Hello, @first4it . WP Tookit verifies the WordPress files. If I understand correctly, you still have the WordPress files in the subdirectory and only the index.php file outside of it. I don't think there is a way to "trick" it about the current site URL. It might be worth it to open a support ticket with Plesk support and double-check if our engineers can suggest a workaround to this particular scenario.
 
Back
Top