We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 12320
    • 88 Posts
    Hi,
    i'm facing an issue with the home link

    Description of Problem:
    the web site is locate here http://www.xxxx.biz/
    and the french version is not working under this URL http://www.xxxx.fr/
    but the full home page URL is responding http://www.xxxx.fr/accueil.html
    I HAVEN'T MODIFY THE .htaccess

    Steps to Reproduce:
    just visit http://www.xxxx.fr/ and the full URL http://www.xxxx.fr/accueil.html
    Expected Outcome:
    http://www.xxxx.fr/accueil.html should redirect to http://www.xxxx.fr/ and deliver the home page for this language

    • MODX Version: 2.2
    • PHP Version: 5
    • Database (MySQL, SQL Server, etc) Version: 5
    • Additional Server Info:
    • Installed MODX Add-ons: Article, Babel, FormIt, GetRessource, SEO Tab
    • Error Log Contents: (attach as file if it’s too large)

    This question has been answered by homer8173. See the first response.

    [ed. note: homer8173 last edited this post 12 years, 1 month ago.]
      Thanks to the authors of the following code :
      Easy Newsletter (module)
      SiteMap (snippet)
      Codepress (Plugins)
      Strict URLs (Plugins)
      Virtual Aliases (Plugins)
      Maxygallery (snippet)
      • 12320
      • 88 Posts
      So, nobody can help me ?

      I think I'm facing an issue with the site start that is different from context to context
      Many people who use babel must have it too and nothing about it in doc?

      I'll try a fix with a htaccess redirect and keep you in touch
        Thanks to the authors of the following code :
        Easy Newsletter (module)
        SiteMap (snippet)
        Codepress (Plugins)
        Strict URLs (Plugins)
        Virtual Aliases (Plugins)
        Maxygallery (snippet)
      • discuss.answer
        • 12320
        • 88 Posts

        here is the solution that i've made :

        # redirect only home page for secondary domains 
        RewriteCond http://www.xxxx.es ^/$
        RewriteRule (.*) http://www.xxxx.es/inicio [R=301,L]
        RewriteCond http://www.xxxx.fr ^/$
        RewriteRule (.*) http://www.xxxx.fr/accueil [R=301,L]


        seems to work, nothing is broken by those rules

        hape somebody will get help from that
          Thanks to the authors of the following code :
          Easy Newsletter (module)
          SiteMap (snippet)
          Codepress (Plugins)
          Strict URLs (Plugins)
          Virtual Aliases (Plugins)
          Maxygallery (snippet)