Webinoly is just the perfect tool for NGINX experts. Give it a try!
0 votes
116 views
by
My site is not forcing the www after using the command

sudo site example.com -force-redirect=www

How can I correct that?

1 Answer

0 votes
by Expert

Hi Sidney,

Can you please check what is inside /etc/nginx/sites-available/example.com to see if redirection rules are correct?

Also, do a sudo webinoly -verify just to be sure everything is right.

Regards.

Welcome to the Community site for Webinoly.

Our Optimized LEMP Web Server is a powerful set of commands for doing just about anything you could wish.

With Webinoly you can set up your NGINX web server in just one step.

* * * * * * *

To report a bug, please create a new issue on GitHub or ask a question here with the bug tag.
Webinoly Support Paypal Donations

PayPal · GitHub Sponsors · Bitcoin

It is very important that any visitor to the site read the disclaimer, terms of use and privacy and legal statement before start browsing.

...