Clean URLs for Adobe Muse Tutorial and Script

by Ken Haskins |

All you have to do is unzip the file and upload it to your server and it should work just fine IF YOU DON'T ALREADY HAVE ONE.

If you do already have one, just 1) download your current .HTACCESS file 2) Open up my .HTACCESS file/copy the text 3) Paste the text onto your existing file and 4) Save and upload the file back to your server.

The .HTACCESS file not only hides the .html extension, but it also works as a redirect. The browser will only load the web page without the extension.

Watch the Video

Copy the Code

## Go Daddy servers need the Options -MultiViews code below
Options -MultiViews
RewriteEngine On
RewriteBase /
# Hide .html extension
## External Redirect
RewriteCond %{THE_REQUEST} ^[A-Z]{3,}\s([^.]+)\.html [NC]
RewriteRule ^ %1 [R,NC]
## ## Internal Redirect
RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule ^ %{REQUEST_URI}.html

NOTE: Make sure that you change all of your hyperlinks. Instead of using, links should be

MAC USERS: Depending on your settings, your computer may classify the .HTACCESS file as a hidden file. 
Thus, when you download the zip file, your computer may show the content as empty. You need to adjust your settings to show hidden files in order see the download file.

photo of Ken Haskins
About The Author

Ken Haskins is a web developer from Maryland, who has a strong passion for web design, teaching and customer service. He has been publicly recognized on several occassions for his commitment to excellence.