0

Is there any way - in Expression Engine - that there is a global variable or even a constant to reference the domain of the current site you are working on instead of hard coding the domain name in your links?

1 Answer 1

1

You can use the global variable {site_url}

But if you code your links as "/path/to/a/page" (with the initial slash) then that will work just the same.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.