Plugin Support
Peter
(@petersquirrly)
Hi @nurkamol,
Thank you for reaching out.
Please enable Priority Loading from Hide My WP > Advanced > Compatibility and give it another go. This should do the trick.
Hi @petersquirrly, thank you for your reply, here are the screenshots and compatibility is enabled:
View post on imgur.com
View post on imgur.com
Plugin Support
Peter
(@petersquirrly)
I see, thank you for the screenshots, it’s really helpful.
You should put listen 80; where the port 80 is, not on 8080.
Please check you have vhost on Nginx and follow the instructions here:
https://hidemywpghost.com/how-to-configure-hide-my-wp-on-nginx-web-server-with-virtual-private-server/
@petersquirrly, thank you for your reply!
I’ve changed 8080 to 80 and the site is down. Rolled back to 8080.
If it’s possible, can you check vhost config:
https://pastebin.com/3vqAR9P1
Thank you for your help!
Plugin Support
Peter
(@petersquirrly)
The port didn’t need to be changed, just to put the included line where port 80 is.
The best and safest way to move forward would be to follow this tutorial
https://hidemywpghost.com/how-to-configure-hide-my-wp-on-nginx-web-server-with-virtual-private-server/
Hi again, @petersquirrly!
Already tried the official manual for VPS.
And included a line pasted to listed 80:
server {
listen 80;
listen [::]:80;
listen 443 ssl http2;
listen [::]:443 ssl http2;
{{ssl_certificate_key}}
{{ssl_certificate}}
server_name www.domain.com;
return 301 https://domain.cm$request_uri;
include /home/path-to-domain/hidemywpghost.conf;
}
and didn’t get the results.
Screenshot: https://imgur.com/a/8H5BKUv
Plugin Support
Peter
(@petersquirrly)
Please check once more if you have vhost set in Nginx and follow the instructions here:
https://hidemywpghost.com/how-to-configure-hide-my-wp-on-nginx-web-server-with-virtual-private-server/
What you tried is in the main config file, but in vhost it should go into the directory
/etc/nginx/conf.d/ or /etc/nginx/sites-enabled/
and see if it somehow you don’t have a config with the name of the site
There you can also find the disclaimer of WordPress rules:
try_files $uri $uri/ /index.php?$args;
If you can’t find it, talk to the host and explain where to put the include line from HMWP Ghost.
I use Cloudpanel too. You need to update permalinks after you install HMWP Ghost. Clear all caches first.
Hi @hdavy2002,
Already fix the issue a long time ago, forgot to post here.
In CP 2.2+ version, you’ve to just add the path to config after 69 line in vhost file.
{{settings}}
***insert path to the config file***
location ~/\.git {
deny all;
}