PassMark Logo
Home » Forum

Announcement

Collapse
No announcement yet.

Only finding top level pages

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

  • Only finding top level pages

    You will have to excuse me, because I am new to Zoom and search tools in general. I got the tool working on one site, but now am trying to install it on another and it is not working the same way. I currently have the zoom files in a folder root/search. When I go into any of the files on root/x.html and preform a search, I get results, but when I go into root/subcategory/x.html and do a search it is trying to go into root/subcategory/search and it is unable to find that folder (because it is not there). How do I tell it to go up one directory on certain searches?

    Thanks

  • #2
    I am assuming that you have created a search form and have added that search form on to every page on your site?

    I further assume your search form looks something like this.
    Code:
     
    <form method="get" action="search.php">
    <input type="text" name="zoom_query" size="20" />
    <input type="submit" value="Search" />
    </form>
    If this is the case, then you might need to change the form action to be a absolute URL rather than a relative URL. e.g.
    <form method="get" action="http://wwwyoursite.com/search/search.php">

    Comment

    Working...
    X