Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Relative path vs full path for images and PDF links
#10
Ed at ISI Wrote:While I haven't looked into the CKEditor angle, in GS 3.0, putting only a forward slash in the "Website Base URL:" field on the Settings page works and everything then uses relative urls. I use much the same methodology as Stryker (local development, put on public server for client approvals, put on final server at end of project) and never have to do a find/replace on the paths.

I notice in my testing of GS 3.1, putting "/" in the "Website Base URL:" field comes back with an error.

Very interesting method. I would only add one more step: setting the correct (full) URL when the project is finished, so that canonical URLs are complete.

To Make GS 3.1 work like 3.0 did, you just have to edit admin/settings.php, and in line 204 search for:
Code:
type="url"
and change it to:
Code:
type="text"
Reply


Messages In This Thread
Relative path vs full path for images and PDF links - by Carlos - 2012-02-29, 01:42:05



Users browsing this thread: 2 Guest(s)