PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

Redirect URL from content page to the layout page.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Redirect URL from content page to the layout page.

    I'm using ASP includes which allows me to seperate my content from my page layout theme without using frames.

    The Zoom Search Engine returns the links to the content page, which is not contain the frameless theme (left and top border menus, company logos, ...).

    Is there away to redirect the URL to another parallel link. My content and layout are maintain in parallel directories as described below:

    http://root/layout/.../.../myPage.asp
    http://root/content/.../.../myPage.asp

    Thanks in advance for your help.
    The world is a dangerous place to live, not because of the people who are evil, but because of the people who don't do anything about it.

    Albert Einstein

  • #2
    Are you using spider or offline mode for indexing?

    If you use spider mode (which is generally recommended for dynamically generated sites like ASP and PHP), you should not have this problem. Spider mode only locates pages by following the links it finds on each page. Now assuming that the links on your page should always point to the "presentation version" of a page (ie: the one which contains borders, logos and the layout for which the content is 'inserted') because that is what you want your users to see, then the spider should never come across your "behind the scenes" content pages.

    But if you have links to the content pages (without the layout) then the spider would find them. Or perhaps you are linking to these files unknowingly.

    Perhaps you can give us a URL to your website so we can see what you mean? Also tell us the start URL you are using to index from.
    --Ray
    Wrensoft Web Software
    Sydney, Australia
    Zoom Search Engine

    Comment


    • #3
      I was using the offline mode. I switched to the Spider mode and I couldn't get it to traverse the web tree. Below is a link to the site:

      http://mecsglobal.hostirian.com/Envi...ut/default.asp

      Thanks for the quick response.
      The world is a dangerous place to live, not because of the people who are evil, but because of the people who don't do anything about it.

      Albert Einstein

      Comment


      • #4
        The starting point for the spider you have selected is fairly deep inside your site.

        You have specified a point that is already a couple of levels deep.
        Code:
        /Enviro-Chem/layout/
        This will result in only files under this level being indexed.

        So the file,
        Code:
        /Enviro-Chem/layout/SulfuricAcid/sulfuric_acid.asp
        gets indexed, but for example, the file,
        Code:
        /Enviro-Chem/images/TechBriefs/2011.pdf
        will not be indexed. This is normal behaviour.

        If you turn on verbose mode in Zoom, you can see the files being skipped.
        Code:
        [SKIPPED] Skipping http://mecsglobal.hostirian.com/Enviro-Chem/default.htm (External site - does not match base URL)
        The solution is to either change the start point to the top level of your site or add additional start points using the "More" button in the main window of Zoom.

        ------
        David

        Comment

        Working...
        X