.HTM Extensions (v. 2.62 - 2.84e)

Some hosting providers, like Yahoo, might not allow .htaccess updates. Using .htm or .html extensions or static pages will *not* work on these hosts. Please contact your hosting provider before following the directions below.

Pappashop.com SiteBuilder can be set up to reformat the way the pages appear. You can choose .htm or .html extensions for each page, which masks the use of PHP on your site; all pages will end in .htm or .html instead of ending in .php. You can also choose to use static page formats, which includes the category or item name in the link, and eliminate the need for ? and = in the URL. You can use both the .htm/.html estensions and the static page setup if you'd like, or just choose to implement one.

If you plan to use .htm or .html extensions for your site pages, set up a MIME type to allow htm and html pages to be parsed as PHP pages.

  1. Add an .htaccess file if one does not already exist.

  2. Add the following to the .htaccess file in your main file directory (the same directory that has the stconfig.php page):
    AddType application/x-httpd-php .php .htm .html

  3. On some servers, you may need a different MIME type statement. If the above line doesn't work:

    • View some Common MIME Types that may work on your server.
    • Contact your web host to determine the exact statement needed.
  4. Please note that some shared hosting servers do not allow you to set MIME type changes through .htaccess files. In addition, you may not be able to set .htaccess file changes on Windows servers or servers that have FrontPage extensions enabled.

  5. Access your /storeadmin/ area, select the Site Settings, and change the page extension to .htm or .html as desired.

  6. Manually change all the main site pages from .php to .html or .htm (depending on what you set in the Site Settings above). You will only need to do this once. Change the .php pages in the main folder (ie. index.php -> index.htm or index.html, catalog.php -> catalog.htm or catalog.html, weblinks.php -> weblinks.htm or weblinks.html, etc.), but ...

    • Do *not* change the extension of the stconfig.php page in the main directory.

    • Do *not* change the extension of the style.php page in the main directory.

    • Do *not* change the extensions of any files in the /enc/, /template/, /storeadmin/ or /sbconf/ directory.

    • If you have already added additional site pages, you will need to also change the extension of these files in the /pages/ directory as well.

    • If the site map feature is used, you must also change the itemlist.php page in the /go/ folder to itemlist.htm or itemlist.html (depending on the extension you're using). Do not change any other extensions of files in the /go/ folder.

    • Make sure to change all the extensions to match what you have in the site settings area.