We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 45260
    • 4 Posts
    I have a problem with my seo links after upgrade from 1.0.10 to 1.0.12. In ver. 10 my htaccess looks like

    #php_flag register_globals Off
    #AddDefaultCharset utf-8
    #php_value date.timezone Europe/Moscow

    #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]

    # For Friendly URLs
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d

    #Link do Opis oferty
    RewriteRule nieruchomosci,([-0-9a-zA-Z]*),([0-9a-zA-Z]*),([-0-9a-zA-Z]*),([0-9a-zA-Z]*),([-0-9a-zA-Z]*),([0-9]*) index.php?idoferty=$4&idobiekt=$5&q=$6 [L,QSA,NC]


    #RewriteRule ([a-zA-Z0-9\-\_]*)$ index.php?q=$1 [L]
    RewriteRule ^([a-zA-Z0-9\-\_]*)/?$ index.php?q=$1 [L,QSA,NC]

    #RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]

    # Reduce server overhead by enabling output compression if supported.
    #php_flag zlib.output_compression On
    #php_value zlib.output_compression_level 5

    and link like this www.myserver.com/nieruchomosci,mieszkanie,sprzedaz,koszalin,930441,308698519,9 worked fine. After upgrade no working. When i click this link it redirect me to mainpage. What's wrong? I need my links with parameters with it. Help please.
      • 45260
      • 4 Posts
      ok, i think i found it. When i change &q=$6 to &id=$6 it works. Was any changes from 1.0.10 version with htaccess?
        • 2762
        • 1,198 Posts
        Nicola (Banzai) Reply #3, 13 years ago
        do you have Seo Strict Url enabled?
          Free MODx Graphic resources and Templates www.tattoocms.it
          -----------------------------------------------------

          MODx IT  www.modx.it
          -----------------------------------------------------

          bubuna.com - Web & Multimedia Design
          • 45260
          • 4 Posts
          no, and not working after enable it. [ed. note: paluch last edited this post 13 years ago.]