Missing slash on URL?

Floren Munteanu nginx at yqed.com
Thu May 29 08:40:02 MSD 2008

Hi Igor,

> -----Original Message-----
> From: Igor Sysoev [mailto:is-G97k7egY2jIKNkxEY4oc4w at public.gmane.org]
> Posted At: Tuesday, May 27, 2008 4:39 AM
> Posted To: gmane.comp.web.nginx.english
> Conversation: Missing slash on URL?
> Subject: Re: Missing slash on URL?
> > /var/www/html/forum is a directory, not a file.
> > /var/www/html/forum/index.php exist and is readable, can be accessed
> through
> > a browser.
> Then /forum will be handled in location '/' as static file or dir,
> and it will be redirected to /forum/.

So how would I make the server add the / at the end of the URL?
If the URL is http://domain.com/forum, I would like it to become

Wordpress uses nginx, as server. If you visit:

the missing slash will be automatically added at the end, to become:

Thanks for your help,


More information about the nginx mailing list