Jump to content

Featured Replies

Posted

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

 

  • Author

Thanks @Ryan Ashbrook.

Since Google and others prefer absolute links for better SEO, is search and replace in the database our only other option when moving between staging and production?

 

Recently Browsing 0

  • No registered users viewing this page.