Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
URL Examples
# absolute URL loads using insecure HTTP protocol
http://wpperform.com/
# absolute URL loads using secure HTTPS
https://wpperform.com/
# protocol relative or protocol agnostic URL's
//wpperform.com/
//wpperform.com/relative-urls/
//www.mysite.com/
# root relative URL's
/relative-urls/
/images/test.jpg
# document relative URL's
# when used in a stylesheet located in wp-content/themes/mytheme,
# these document relative URL's will load the resource at
# wp-content/themes/mytheme/images/logo.png
../images/logo.png
images/logo.png
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.