Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the acf domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/vhosts/jjknowledgebase.com/wp.jjknowledgebase.com/wp-includes/functions.php on line 6121

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wp-ulike domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/vhosts/jjknowledgebase.com/wp.jjknowledgebase.com/wp-includes/functions.php on line 6121

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wp-optimize domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /var/www/vhosts/jjknowledgebase.com/wp.jjknowledgebase.com/wp-includes/functions.php on line 6121
Relative and Absolute URL – knowledgebase JJ
Warning: Attempt to read property "ID" on null in /var/www/vhosts/jjknowledgebase.com/wp.jjknowledgebase.com/wp-includes/link-template.php on line 409

Relative and Absolute URL

The structure of the URL is the web address of your site and its subpages.

You have two basic choices when it comes to the selection of URLs: absolute URL and relative URL.

An absolute URL contains the entire address from the protocol (HTTPS) to the domain name (www.example.com)

Basically, it’s the full URL of the page that you link to.

An example of an absolute URL is:

<a href = http://www.example.com/xyz.html>

The relative URL, on the other hand, does not use the full web address and only contains the location following the domain. It assumes that the link you add is on the same site and is part of the same root domain.

An example of an relative URL is:

<a href = “/xyz.html”>

Leave a comment

Your email address will not be published. Required fields are marked *