Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can an absolute URL be made relative?

relative URL
0
Posted

How can an absolute URL be made relative?

0

URLs can be made relative either to a server or to a page. In order to make a URL relative to a folder or to a web, you need to make the URL relative either to a server or to a page, because FrontPage will treat the URL as if it were being made relative to a page in that folder or web. Each relative URL, combined with its base URL fully specifies where the object is located. When you have an absolute address such as http://www.microsoft.com/myweb with an image file called MyPicture.gif residing in the images folder on the web, you can create a relative URL for that address by deciding whether the relative address will refer to a server or a page. For a server-relative URL, you’d use “myweb/images/MyPicture.gif” with the server name as the base for the relative URL; which fully defines the location of the object. For a page-relative URL, you’d use “images/MyPicture,gif” with theserver name and the web name as the base for the relative URL; which fully defines the location of the object.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123