Results 1 to 4 of 4

Thread: Redirect problems

  1. #1
    Join Date
    Nov 2006
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Redirect problems

    Hi everyone,

    I'm posting this in here as I'm having a few issues. I think it javascript i'd use to sort it, hense posting in here.
    I've got a site i'm currently working on here: http://www.mahoosive.co.uk/eccl

    I would like users to go to http://www.mahoosive.co.uk/eccl/guildford and it be redirected to the index.html page, but using the ajax code off here: http://www.dynamicdrive.com/dynamici...jaxcontent.htm to grab the main div content from guildford.html

    currently /guildford redirects to index-guildford.html as a temp measure.

    It's easier to tell people to go to /guildford rather than say go here, click here etc. So I want to give them a URL with a redirect.

    Any help would be much appreciated.

    Cheers

  2. #2
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by mrmahoosive View Post
    I'm posting this in here as I'm having a few issues. I think it javascript i'd use to sort it, hense posting in here.
    I've got a site i'm currently working on here: http://www.mahoosive.co.uk/eccl
    In my view, it lends a poor impression when a site breaks because it relies on client-side scripting, especially if it's for a computing company. It's also not very nice to make features like bookmarks and the Back button useless, nor is it smart to hide content from search engines. Dump that AJAX rubbish and author the site properly.

    You're breaking the terms of use by not including the credit for that AJAX script properly.

    Mike

  3. #3
    Join Date
    Nov 2006
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Didn't see those terms of use before. I'll sort that out later though.

    I was leaning towards just having a template and doing it from there.

  4. #4
    Join Date
    Dec 2004
    Location
    UK
    Posts
    2,358
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by mrmahoosive View Post
    I was leaning towards just having a template and doing it from there.
    Fine, but use a server-side template system, or use tools during development to achieve the same result. Even something as rudimentary as SSI can be used to include common parts of a document. A server-side language like PHP and ASP can add even more functionality.

    Mike

Bookmarks

Posting Permissions

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