• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

.html in url?

L

lennie

Guest
Suddenly this morning one of the sites on my server stopped shopped showing up. The reason. . . when you put the URL in the browser addess bar, it forces the file index.html (http://website.com/index.html). The problem here is that the default page has always been index.shtml. So the index.html didn't exist, so a page not found error appeared.

I have added an index.httml page so the site works but the url still shows in the address window as http://www.findbliss.com/index.html
click here to see what I mean.

The link above goes to :http://www.findbliss.com/ without the index.html.

Help, this is annoying. . .
 
Create an .htaccess file inside the directory.
Inside that file (or opening an existing one), add this line:

DirectoryIndex index.shtml index.html

This will force all browsers to automatically check for the shtml first, then fall back on html if it does not exist.
 
Back
Top