Practical guide

Check file paths inside the archive

Inspect ZIP structure, relative paths, filename case and local file addresses.

Author: Omlen · Updated:

Open the editor

01

Start with index.html

Find index.html at the ZIP root. If it references ./style.css, keep that stylesheet beside the HTML file.

02

Match references to files

For href="./style.css", include style.css beside the HTML. For src="./assets/photo.jpg", include photo.jpg in assets. Names and letter case must match.

03

Remove computer file addresses

file:///..., C:\... and /Users/... do not refer to files on the published site. Replace them with relative paths and include the files. Check external HTTPS resources separately.

04

Upload and check again

Save the corrected copy, package it without an extra parent folder and upload. Inspect the published page and browser network errors. For a 404, compare paths; for a blocked resource, check the protocol and source settings.

Next step