MOD rewrite for sitewide extention on links?

Discussion in 'Site & Server Administration' started by qbty, Sep 23, 2008.

  1. #1
    Ok, let's see if I can explain this.

    I just switched hosts (godaddy to networksolutions) and I am finding that network solutions does not use like page names to find pages.

    FOR EXAMPLE:

    My pages are named: www.site.com/page.shtml

    however some of my linked pages and links away from my site are
    www.site.com/page

    These links results in pages NOT FOUND.

    with the extensions .shtml

    is there a server rewrite or something I can do to fix this?

    Thank you!
     
    qbty, Sep 23, 2008 IP
  2. nimhost

    nimhost Active Member

    Messages:
    235
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    58
    #2
    make file notfound.html

    and put this on your .htaccess file

    ErrorDocument 404 /notfound.html
     
    nimhost, Sep 23, 2008 IP