Results 1 to 4 of 4

Thread: relative link problem for soft 404 page

  1. #1

    Default relative link problem for soft 404 page

    We use a heirarchical page structure and set up a soft 404 page 4 levels down from the home page. We set our server to render this page instead of the standard "page not found". For example, www.berkeleyandbeyond.com/a/b/c/d/foo.html shows the soft 404 page. Using view source I see that the page requests javascript files ../../../../rollover.js and ../../../../jquery.js which are in the home page and are found successfullly (I assume NOF stores them here). However, if I put in a bad page 5 or more levels deep, these files are not found and most of the images are broken--see www.berkeleyandbeyond.com/a/b/c/d/e/foo.html. The soft 404 page is still in the same place, the references to the js files are still the same in the view source but the files are not found. Any ideas what is the cause?

  2. #2
    Senior Member gotFusion's Avatar
    Join Date
    Jan 2010
    Location
    www.gotHosting.biz
    Posts
    4,529

    Default

    Why don't you use your hosting control panel to create the 404 link to your fusion created page? That is the normal way to handle page not found errors.

    http://www.gotfusion.com/support/tut...-x3-error.html
    NetObjects Fusion Cloud Linux enabled Web Hosting, support + training starts at $14.95
    NetObjects Fusion web Hosting and support + ASP + PHP + ColdFusion + MySQL + MS SQL
    FREE NetObjects Fusion Support & training comes with all web hosting accounts
    NetObjects Fusion Web Hosting: http://www.gotHosting.biz

  3. #3

    Default

    We wanted to have the 404 page look like our standard NOF page (see berkeleyandbeyond.com/x/y/z for desired soft 404 page). It has links, standard heirarchical menus, specific image. The control panel, as per your demo, just lets us enter some plain text. Is there any way to tell NOF to use absolute links (in particular for <a href> tags) on a particular page?

  4. #4
    Senior Member gotFusion's Avatar
    Join Date
    Jan 2010
    Location
    www.gotHosting.biz
    Posts
    4,529

    Default

    server errors (404, 500, 301, etc) are all handled server side. You have to use your web hosting companies hosting interface to #1 tap the error #2 do something

    You need to enter in some redirect code, not text

    I did a quick redirect on this domain

    http://toyota-campers.com/

    type in some gibberish.html page after the domain and it will redirect.

    http://toyota-campers.com/gibberish.html

    This is the code I entered in the control panel. Change the URL to a landing page name on your site that you made in Fusion. the 0 (zero) and 10 are "timers". Set them to any level from 0 (instant) to a delay in milliseconds before you are redirected.

    <meta http-equiv = "refresh" content = "0; URL = http://www.gotfusion.com/subscriptions/index.cfm">
    <meta name="robots" content="NOINDEX, FOLLOW">
    <script language="JavaScript"><!--
    setTimeout("top.location.href = 'http://gotfusion.com/subscriptions/index.cfm'",10);
    //--></script>
    NetObjects Fusion Cloud Linux enabled Web Hosting, support + training starts at $14.95
    NetObjects Fusion web Hosting and support + ASP + PHP + ColdFusion + MySQL + MS SQL
    FREE NetObjects Fusion Support & training comes with all web hosting accounts
    NetObjects Fusion Web Hosting: http://www.gotHosting.biz

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •