dimanche 3 avril 2016

How do I redirect "web-site/page" to "website/page.html" when people type it in browser

I recently started using a static site with godaddy.com. It's a basic website I uploaded and is only html/js/css.

When people type "website.com/page" they get 404 not found. When they type "http://ift.tt/LkwFNa" they get the correct page.

None of my wordpress or rails app sites have this problem and I don't know what is causing it. None of my wordpress or rails app sites require the user to type in ".html" at the end.

How can fix my site so users can simply type "website/page" and not be forced to type "website/page.html" without using php?




Aucun commentaire:

Enregistrer un commentaire