tillda Reply #1, 5 years, 7 months ago
1. How do I specify, that for the root document I do not want any alias, just a www.domain.com.
2. Is there some MODx tag/function, that would return the root url? For example, RFC says, that even in the simplest 301/302 redirection, it must be in the form of full valid URI, like 302 See Other : http://www.domain.com/some-modx-site, not just /some-modx-site, like is everywhere implemented. So when creating a snippet, I don't want to use just "302 See Other: [~id~]", I need the full URI with www. ... and directories, if presented.
Thanks a lot.
2. Is there some MODx tag/function, that would return the root url? For example, RFC says, that even in the simplest 301/302 redirection, it must be in the form of full valid URI, like 302 See Other : http://www.domain.com/some-modx-site, not just /some-modx-site, like is everywhere implemented. So when creating a snippet, I don't want to use just "302 See Other: [~id~]", I need the full URI with www. ... and directories, if presented.
Thanks a lot.