Template for Wordpress on php7.3

I was impressed of having almost no issues on Hestia setup and running php7.3 on my server. But there are no templates for Wordpress, so after migrating one of my sites all my permalinks return 404.

I tried to copy template PHP-73, added there a line

include     %home%/%user%/web/%domain%/public_html/*.conf*;

and then added to public_html conf file:

location / {
try_files $uri $uri/ /index.php?$args;

rewrite /wp-admin$ $scheme://$host$uri/ permanent;

location ~ \.php$ {

try_files $uri =404;

include       fastcgi_params;
fastcgi_index index.php;
fastcgi_pass  unix:/var/run/php-fpm.sock;
fastcgi_param SCRIPT_FILENAME

Is there any wordpress-ready template for php7.3 on Hestia?

Yes we plan to include templates for all popular CMS/Carts/Frameworks very soon…

When asking for help, please always specify if you are using Apache or Nginx.
Presuming Nginx, just insert this line after the directive
location /{
try_files $uri $uri/ /index.php$is_args$args;

Be sure to chmod +x your xx.sh template file or else it won’t create the FPM pool.

Good luck

Oh yes, sure, i’m running nginx. Thanks, that worked!

while you could also use template from vestacp or mine

For WordPress, it is best to use apache2handler because on some sites via php-fpm the server freezes and falls with 503 error. Tested.

1 Like