Allow optional trailing slash in Apache with Rewrite moduleedit27 Feb 2015
mod_rewrite module is helping to correct this unfortunate human typos.
At first let’s check whether the Apache’s
mod_rewrite is enabled.
If it was not, then reload configuration
to assure that the rewrite will work you need to assure the one more thing, it is
option in the
Now put the following snippet into
.htaccess located in the folder of your website (
That’s it, happy re-writing!