We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 54026
    • 2 Posts
    Hi there,

    We are trying to have a fixed url for our main page as we are trying to point out that it is about one country.
    Unfortunately modx redirects immediately from www.domain.com/countypage to www.domain.com when the country page is set to site_start and is called.

    So far we haven't really found a setting for disabling this.
    Does anyone know how to disable this unwanted 301-redirect?
      • 52064
      • 120 Posts
      a solution is to create a new resource and set it as site_start
      then through a small snippet do the redirect to the vs. home page while maintaining the alias.
        FerX - Developer at Eracom s.r.l.
        • 54026
        • 2 Posts
        works like a charm! thanks!

        You can find the solution on bobsguides under "How can I forward users to another page on the site from my snippet?"

        https://bobsguides.com/modx-snippet-faq.html