Hello support team,
I am having hard time doing the right setup on nginx. I use a separate block for my wordpress installation under:
/var/www/example.com/html/
My Rehub theme is located at:
/var/www/example.com/html/wp-content/themes/rehub
but it also has some child themes and I use one of them called ‘revendor’ which is located at:
/var/www/example.com/html/wp-content/themes/rehub-vendor
I setup my site’s nginx conf file as follows:
` location / {
rewrite ^/var/www/example.com/html/wp-content/themes/rehub/(.*) /wp-content/themes/rehub/$1?sVbci_hide_my_wp=1234 last;
rewrite ^/var/www/example.com/html/wp-content/themes/rehub/\.css /?parent_wrapper=1&sVbci_hide_my_wp=1234 last;
rewrite ^/var/www/example.com/html/wp-content/themes/rehub/(.*) /wp-content/themes/rehub/$1?sVbci_hide_my_wp=1234 last;
try_files $uri $uri/ /index.php?q=$uri&$args;
}
but I still get an error when I press “nginx configuration’ button in your plugin’s settings.
What exactly do I need to do to make this work and hid my wp?
Please let me know if you need the exact path of anything on my server and I can add it here?
Thanks and look forward to hearing from you.
Kind regards,
Z