Skip navigation
Currently Being Moderated

Links acting differently in CS6

Jun 1, 2012 5:38 AM

Tags: #dreamweaver #cs6

I am evaluating CS6 and when after uploading a webpage, the URL changed from when it was uploaded in CS4. My assumption is something in the settings, but I couldn't find it. Under "sites" it says "links relative to document"  -- not the other options of site root.

 

Example.

 

Main website:

mywebsite.com

 

Has a link in it that references

myspace.com

 

<a href="myspace.com">Click Here</a>

 

In the HTML, it states myspace.com, but after upload the URL is mywebsite.com/myspace.com

 

The only time this doesn't happen is if I use http://myspace.com as the URL

 

Is there a KB doc that explains this. I now have to review all exterior links across all the websites I work on.

Branched to a new discussion.
 
Replies
  • Currently Being Moderated
    Jun 1, 2012 7:58 AM   in reply to tkatcher

    That has nothing to do with the version of DW you are using - it is to with correctly coding the URL. The http:// in front is the CORRECT way to write that URL. Everything you described above is right with the code you have given it.

     

    For reference, the http:// specifies an external link - it is an absolute URL. Anything else specifies a link within the site you have created - a relative URL (relative to the page in the site you are linking from). By simply using href="myspace.com" it will look for the page at location YourSite/myspace.com.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points