Configuring Pathologic When Going Live

This module Pathologic is already installed and configured within Varbase. The main purpose of this module is to fix all URLs that should redirect to the production site if it was redirected to the internal contents.

To navigate to the Pathologic configuration page: Administration \ Configuration \ Content authoring \ Pathologic configuration

There are three type of URL formats:

  • Full URL ( This option is best for stopping broken images and links in syndicated content (such as in RSS feeds), but will likely lead to problems if your site is accessible by both HTTP and HTTPS.

  • Protocol relative URL (// Paths output with the Protocol relative URL option will avoid such problems, but feed readers and other software not using up-to-date standards may be confused by the paths.

  • Path relative to server root (/foo/bar): The Path relative to server root option will avoid problems with sites accessible by both HTTP and HTTPS with no compatibility concerns, but will absolutely not fix broken images and links in syndicated content.

We recommend to use the "Path relative to server root" option. That so that paths appears relative to your website, and to be actually served from your own domain name.

As you have noticed from the above screenshot in the text area field "All base paths for this site", we have inserted the base URLs as example links acting as testing environments and the production environment:







We will test this for example let us create new Basic page content and insert text with hyperlinks:

  • "Link" is linked to ""

  • "Link1" is linked to ""

  • "Link2" is linked to ""

After we created the Basic page content, let us know how the links are showing on the frontend by using the inspect element (DevTool)

As you can see from the screenshot above, notice "Link2" how it is linked and the rest links are being stripped out from the base URL, this is because "" is not listed within the "All base paths for this site" field.

Last updated