We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 21893
    • 113 Posts
    Hi
    I do have a problem with yams and evo 1.14
    The site is available in english an german, build in this way:
    insekten-biotechnologie.de/de/forschung
    insekten-biotechnologie.de/en/forschung

    We now recognized, the errorpage is not shown up for a wrong or old address like
    insekten-biotechnologie.de/de/forschg
    its resulting in "To many forward attempts!"

    but its working for
    insekten-biotechnologie.de/forschg

    The .htaccess thingy is not a well know friend to me, but it that the point to start to solve this problem?

    
    Options +FollowSymlinks
    RewriteEngine On
    RewriteBase /
    
    # Fix Apache internal dummy connections from breaking [(site_url)] cache
    RewriteCond %{HTTP_USER_AGENT} ^.*internal\ dummy\ connection.*$ [NC]
    RewriteRule .* - [F,L]
    
    
    
    # Exclude /assets and /manager directories and images from rewrite rules
    RewriteRule ^(manager|assets)/*$ - [L]
    RewriteRule \.(jpg|jpeg|png|gif|ico)$ - [L]
    
    # Rewrite "www.example.com -> example.com" all domain
    RewriteCond %{HTTP_HOST} .
    RewriteCond %{HTTP_HOST} ^www.(.*)$ [NC]
    RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
    
    
    
    # Redirect from mydomain.com/rootname to mydomain.com/rootname/
    RewriteRule ^de$ de/ [R=301,L]
    RewriteRule ^en$ en/ [R=301,L]
    
    # The Friendly URLs part
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^de/(.*)$ index.php?q=$1 [L,QSA]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^en/(.*)$ index.php?q=$1 [L,QSA]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]


    And if yes, can you please give me a hint? smiley

    Jane
      Smile, it confuses people!
      • 15001
      • 697 Posts
      Hi Jane,

      Most of your .htaccess file seems correct.

      As I do have several sites using valid YAMS configuration that I could compare your .htacess file with one of mines and suggest the following.

      1. Temporarily disable friendly URLs in MODx configuration.
        Does this solve the problem ?
      2. Then, temporarily comment out lines 5 to 18 from your .htaccess.
        Start the Apache server again and see if this helps.
      3. If your templates contains Wayfinder or Ditto snippets, make sure they to not make use of the &config parameter as this does not work with YAMS.
      4. If your site is running on localhost xampp or xampplite, make sure that the value for RewriteBase is correct.

        If your miscellaneous web sites are in the htdocs folder from xampplite, it should be: RewriteBase /yourSite/
        In such case, you will also have to set the "MODx subdirectory" with your site name on the Configuration tab of the YAMS module.

        On the contrary, if your site is on a remote server, your RewriteBase is a priori correct and leave blank the "MODx subdirectory" field.

      Hope this helps.
      Julien
        • 21893
        • 113 Posts
        Hi Julien

        I tried what you suggested - as far as I understood.

        1. Temporarily disable friendly URLs in MODx configuration.
        Does this solve the problem ?

        Nope, didn't change a thing

        2. Then, temporarily comment out lines 5 to 18 from your .htaccess.
        Start the Apache server again and see if this helps.

        I did comment out, but I dont know how to restart an apache smiley My site is hostet by all-inkl.de, I dont know if thats possible.
        Right now, it did't solve the problem

        to 3: I do not use the &config parameter

        to 4:Its not running on a local host.


        It absolutly possible that I made a mistake in configurating the yams modul, since its my first and only yams installation. So what can be my mistake if its working for you?

        What else information do you need to help?


        http://insekten-biotechnologie.de/unavailable-page.html

        results in 404 Page

        http://insekten-biotechnologie.de/de/unavailable-page.html

        is giving: to many forward attemps

        Thank you so much

        Jane
          Smile, it confuses people!
          • 9995
          • 1,613 Posts
          I have a site where it works.

          yams plugin settings has: System happenings > Parser Service Events > PageNotFound checked?

            Evolution user, I like the back-end speed and simplicity smiley
            • 21893
            • 113 Posts
            Hi Fourrose,

            yes its checked.
            The only difference I see right now, is I Do have NO Multilingual Alias.

            I will check later if its making a difference, but i guess its not the point. :-(

            Grrrrrr

            Jane
              Smile, it confuses people!
              • 9995
              • 1,613 Posts
              Doubt it aswell.

              If you would like to see my settings I can make screendumps (htaccess/config tab/mm_rules/plugin tabs etc) or zip the plugin.

              I have no idea whats wrong. On 2 sites I checked it works, I do remember I had problems with redirecting the weblogin.


                Evolution user, I like the back-end speed and simplicity smiley