-
1. Re: Forwarding my .com/xyz.html to just .com/xyz (delete the .html extension)
snapple82 Aug 14, 2014 8:38 AM (in response to snapple82)I found the answer, and here's a quick type up for the next person who needs this answer.
1. Open Notepad.
2. Enter this code (you don't need to replace any of the text in this code with your own page names or anything; just copy/paste):
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.html [NC,L]
3. Click save as.
4. Enter (with the quotes!!!) this as the filename: ".htaccess" (select Encoding: ANSI if it doesn't default to it; it's right next to the save button)
5. Open your FTP program (I used dreamweaver).
6. Upload this file to your website. As far as location, I understand that anywhere it is in the heirarchy of files, it will affect not only the folder it is placed in, but also any additional files within that tree.
7. Publish!
Hope that helps.
