So anyway, I needed to work out a method of removing the 'index.html' bit from the url. I came up with the following and added it to my htaccess file:
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{THE_REQUEST} \/index.html\ HTTP [NC]
RewriteRule (.*)index.html$ /$1 [R=301,L]Now the first two lines may already be in your site's .htaccess file. If you're using WordPress, the second line definitely is as it's required to get pretty permilinks to work. The third line checks to see if the 'index.html' bit is found within the url and the fourth lines removes it but leaves everything else there.
If you're using WordPress, since you don't use 'index.html' files but 'index.php' you need to use the following instead:
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{THE_REQUEST} \/index.php\ HTTP [NC]
RewriteRule (.*)index.php$ /$1 [R=301,L]Does it work for you? Here's a pair of links to a previous post about Mac Wallpapers. The first link has the index.html bit and while the second does not. Give it a try.
Mac Desktop Wallpaper
Mac Desktop Wallpaper
Leave a comment
Please feel free to leave a comment. Please note that we do have a comment policy and we do ask that you respect it.