Question
Add trailing slash to a domain name
I want to redirect from http://domain.com to http://domain.com/
Common answers like:
rewrite ^([^.]*[^/])$ $1/ permanent
don’t solve the problem.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×