Open Bug 1416827 Opened 2 years ago Updated 2 years ago

I think there is a problem in the section of relative URL.

Categories

(Developer Documentation :: HTML, enhancement, P5)

All
Other
enhancement

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: Vilscrolls, Assigned: cmills)

References

()

Details

:: Developer Documentation Request

      Request Type: Correction
     Gecko Version: unspecified
 Technical Contact: 

:: Details

I just copy the seemingly wrong section right below.

A relative URL will point to different places depending on where the file it is used inside is located — for example if we moved our index.html file out of the projects directory and into the root of the web site (the top level, not in any directories), the pdfs/project-brief.pdf relative URL would now point to http://www.example.com/pdfs/project-brief.pdf, not http://www.example.com/projects/pdfs/project-brief.pdf.

Problem sentence:
The pdfs/project-brief.pdf relative URL would now point to http://www.example.com/pdfs/project-brief.pdf

I think here means when we change the location of index.html, the relative URL of project-brief.pdf simultaneously changes to /projects/pdfs/project-brief.pdf. 
And the absolute URL (http://www.example.com/pdfs/project-brief.pdf) is absolutely wrong. The pdfs directory is still inside the projects directory. Moving something out of a folder doesn't mean delete that folder, is that right?
Assignee: nobody → cmills
Priority: P5 → P1
Hi there!

I think my here wording is correct, but you have helped me to understand why it could seem a bit confusing.

I have tried rewriting the section so that it doesn't go wrong in the way you have described. Is my rewrite better?
Priority: P1 → P5
oops: "I think my here wording" -> "I think my wording here"
You need to log in before you can comment on or make changes to this bug.