Jump to content

Using {base_url} when creating internal links in fields


mcsg

Recommended Posts

When writing an content using the editor for a Pages database content field, I would like to allow our editors to use a variable for the base URL so that when we move from staging/dev to prodcution, it will pickup the the change in base_url no matter what system it might be running on.

Is there a way to write the variable into the Editor field so it will be picked up correctly when moved to a different host or domain?

For example: 

Here is the link: {base_url}/our-internal database

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...