• Hi, Pleskians! We are running a UX testing of our upcoming product intended for server management and monitoring.
    We would like to invite you to have a call with us and have some fun checking our prototype. The agenda is pretty simple - we bring new design and some scenarios that you need to walk through and succeed. We will be watching and taking insights for further development of the design.
    If you would like to participate, please use this link to book a meeting. We will sent the link to the clickable prototype at the meeting.
  • (Plesk for Windows):
    MySQL Connector/ODBC 3.51, 5.1, and 5.3 are no longer shipped with Plesk because they have reached end of life. MariaDB Connector/ODBC 64-bit 3.2.4 is now used instead.
  • 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.

URGENT. problem with wordpress

jose_maria

New Pleskian
hola.

he creado un fichero php que me crea cliente,suscripcion y dominio y me lo relaciona, ademas de instalarme wordpress en mi dominio.

el problema que tengo es que en vez de instalarse en raiz se me crea una subdirectorio llamado wordpress donde se instala.

mi pregunta es si hay alguna forma de moverlo todo a / o directamente que se me instale ahi. pero desde el fichero php no desde el panel de plesk que ya comprobe que si funciona.

gracias.
 
hello.

I created php file to add client, domain and subscription and it relased to me.

Also, it install wordpress in domain.

my problem is it install wordpress ins subdirectory named wordpress instead root directory.

How it would be brought directly to root you were installing ?
 
For Apache, edit or create a file ".htaccess" in the root dicrectory with the following content:
Code:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^(www.)?YOURDOMAIN.COM$
RewriteRule ^(/)?$ wordpress [L]


For NGINX, please add the following lines in the text box "additional nginx directives" at the webserver setting:
Code:
if ($http_host ~ "^(www.)?YOURDOMAIN.COM$"){
set $rule_0 1;
}
if ($rule_0 = "1"){
rewrite ^(/)?$ /wordpress last;
}


If you want to move the worpress installation completly, please visit:

 
I haven t explained well.

solution that I've seen in many forums and no use to me.

I want all the default wordpress installed in the root directory. instead a folder " wordpress" is created.

thanks you.
 
In upcoming Plesk 12.1 version we have added possibility for installation first application to root directory. All other applications will be installed to corresponding directories for preventing possible conflicts between applications. Thus you can install WP first in root and then other applications if necessary.
In the current Plesk version you can select custom installation and remove directory for starting installation to the root directory.
 
Back
Top