The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [OT] Web ASP or javascript code help needed


  • To: ukha_d@xxxxxxx
  • Subject: Re: [OT] Web ASP or javascript code help needed
  • From: "Graham Howe" <graham@xxxxxxx>
  • Date: Tue, 24 Jun 2003 08:34:02 -0000
  • Mailing-list: list ukha_d@xxxxxxx; contact ukha_d-owner@xxxxxxx
  • Reply-to: ukha_d@xxxxxxx

--- In ukha_d@xxxxxxx, steve.cooper@u... wrote:
>
> Ok the redesign of the site is going quite well but I have just
got to get
> over one issue.
>
> The site has no frames but instead uses some asp code to combine
various
> files together (e.g. header, side menu etc) so you get a phpnukem
type of
> look.  This causes a problem when you do a search as the site
search engine
> picks up the individual files.  What I want to do is define a
variableor
> similar in the main template and then if this variable isn't
defined when
> the page loads, redirect it to the correct link for the page.
>
> All I need is some code to do that?  Any ideas?
>
> S.
>

You could do it with redirects, but that is a little messy to be
honest. Why not simply put your include files in a folder that can
not be browsed. That way you should be able to exclude them from
search engines. If the site has a database as a backend, then you
should actually be able to put most of the content in there and have
very few asp/htm pages at all.



Home | Main Index | Thread Index

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.