web design prob

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • philKS2
    S2Forum Addict
    • Sep 2006
    • 370
    • Country: United Kingdom

    #1

    web design prob

    Hi

    I've used Dreamweaver CS3 to create a website www.scooop.co.uk

    It is hosted on 000webhost.com

    I have a problem that when I create a link to another page, I enter www.google.com BUT the website prefixes the link with www.scooop.co.uk so it comes up trying to find www.scooop.co.uk/www.google.com and of course that does not exist !!!

    Any ideas??

    I can't work out if this is a problem with my webhosting people (they say they cant help) , or Dreamweaver?


    Phil
    SOLD !


  • S2central.net
    Retired OG Mod
    • Jul 2003
    • 16590
    • Country: Northern Ireland

    #2
    You need to get it working with 'absolute' links... the way its setup at the minute is using 'relative' links which is why it associates the host url as a prefix. On the tools I use I get asked whether the link is relative or not, but there is a default setting for it - pretty sure anyway.
    Paul Nugent
    Webmaster http://S2central.net
    Administrator http://S2forum.com

    1994 S2 Coupe ABY - aka Project Lazarus
    2001 A6 allroad 2.5TDi - family tank
    2003 S4 Avant 4.2 V8 - daily burble

    Purveyor of HomeFries and Exclusive agent for Samco hose kits (S2/RS2)

    There are only 10 kinds of people that understand binary - those that do, and those that don't

    Comment

    • Rusty
      Super Moderator
      • Jun 2004
      • 18953
      • Country: United Kingdom

      #3
      Look at the target box at the bottom, needs to be prefixed http:// not the website or anything else. Pretty much what Paul said
      Cheers'en, AndyC
      1994 ABY Coupe - Projekt Alpinweiss

      Comment

      • Sonic
        Administrator
        • Jul 2006
        • 5514
        • Home: United Kingdom Current: England

        #4
        Originally posted by S2central.net
        You need to get it working with 'absolute' links...
        An absolute path is the complete URL, e.g. http://www.google.co.uk

        A relative URL is anything else, so if you're in /forum/index.php and you link to www.google.co.uk you'll be linking to /forum/www.google.co.uk

        You can go relative to the root of the site by using /index.html, so using the example above you'd go from /forum/index.php to /index.html.
        S2Forum.com Administrator

        Comment

        • philKS2
          S2Forum Addict
          • Sep 2006
          • 370
          • Country: United Kingdom

          #5
          Thank you all so much - yes very simple indeed and all fixed. Now I need to actually work on the website design!!
          SOLD !


          Comment

          Working...