1

I have a link to a PDF on my website, which has some of its files on one server and some of them on another. How can I point the link to one of the two? My code looks like this:

<a href="/pdf/testing.pdf">Click here</a>

1 Answers1

1

Use literal URLs.

For example:

<a href="http://server-one.domain.tld/pdf/testing.pdf">Click here</a>

Or...

<a href="http://server-two.domain.tld/pdf/testing.pdf">Click here</a>

You need FQDN's in there: http://en.wikipedia.org/wiki/Fully_qualified_domain_name

Here is an article for you: http://reference.sitepoint.com/html/a/href

digitalextremist
  • 5,952
  • 3
  • 43
  • 62