nickmchardy/random-code/master/301/.htaccess
# # ReWrite Engine for Apache # # Enables nice URLs like http://www.example.com/site/article/viewarticle/home/ to be utilised with Apache. RewriteEngine on RewriteRule ^(.+)/?$ index.php?/$1 [L]
Files
![](https://www.askapache.com/s/u.askapache.com/htaccess-file/2016/github/nickmchardy/random-code-301-htaccess.png)
# # ReWrite Engine for Apache # # Enables nice URLs like http://www.example.com/site/article/viewarticle/home/ to be utilised with Apache. RewriteEngine on RewriteRule ^(.+)/?$ index.php?/$1 [L]