I have a site with the following structure
/
|-/cgi-bin
|-/acatalog
|-/products
All the navgation links use the search script - i.e. the link is to http://www.domain.co.uk/cgi-bin/ss00...html&NOLOGIN=1
Some of these links are on pages that reside in the /products directory (a throwback to pre-catalog days). On occasions, if the navigation link is clicked on a page in the /products directory, the search script searches for the section page in the /products directory not the /acatalog directory, e.g. the script tries to find
http://www.domain.co.uk/products/Section.html
rather than
http://www.domain.co.uk/acatalog/Section.html
Once this happens no matter which directory the script is called from, the script tries to display a page in the products directory.
Has anyone any idea how to restrict the script to the /acatalog directory?
TVMIA
/
|-/cgi-bin
|-/acatalog
|-/products
All the navgation links use the search script - i.e. the link is to http://www.domain.co.uk/cgi-bin/ss00...html&NOLOGIN=1
Some of these links are on pages that reside in the /products directory (a throwback to pre-catalog days). On occasions, if the navigation link is clicked on a page in the /products directory, the search script searches for the section page in the /products directory not the /acatalog directory, e.g. the script tries to find
http://www.domain.co.uk/products/Section.html
rather than
http://www.domain.co.uk/acatalog/Section.html
Once this happens no matter which directory the script is called from, the script tries to display a page in the products directory.
Has anyone any idea how to restrict the script to the /acatalog directory?
TVMIA
Comment