• 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 BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question Problem with document root for wordpress.

giuseppees

New Pleskian
Hello, everybody.
I have a little problem with a website I'm developing.
The old site, which I didn't make, was built with old technology and is in a folder called httpdocs. The site is available at this address www.websitename.it.

Now I always under the same domain, I try to create a wordpress installation, and in the creation, I add to the address this : www.websitename.it/wp
In this way wordpress is available at this link www.websitename.it/wp.

I would now like the site created with wordpress to be displayed in root at www.websitename.it.

I tried to change in settings (( Document root * )) with the name of the wordpress directory (wp).
Wordpress doesn't work in this way. Neither wp-admin.
Plesk returns the error page.

Any idea how to fix it?
 
Last edited:
Try this approach to solve it:
1) Make sure that the Wordpress website is listed in the Wordpress-Toolkit overview in your Plesk panel. You can "search" for Wordpress websites there if it is not yet listed.
2) Once it is listed there, use the "clone" button to create a clone into a new subdomain of your domain.
3) Remove the Wordpress installation from its original location by using the "remove" menu function of the Wordpress toolkit for that Wordpress site.
4) Delete all files from the original path, do not delete the document root directory, but only the contents.
5) If you have done it right, the status is now as follows: Your Wordpress installation was migrated into a subdomain while the original Wordpress installation in /wp is no longer present.
6) Now use the "clone" button on the newly created Wordpress clone in the subdomain to clone this one back into your main domain.

While cloning, Plesk and the Wordpress toolkit will automatically adapt paths in the installation to their new location.

7) Your status after completion is this: You have two Wordpress installations with the same website. One is now running under the main domain. The other one is your initial clone in the subdomain. The subdomain can be removed if the clone in the main domain is working correctly.
 
Back
Top