We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 29636
    • 31 Posts
    i`m having problem with Friendly URLs . i have edited both my htaccess file and in manager/tools/configuration

    my .htaccess file
    # The Friendly URLs part
    RewriteEngine On
    RewriteBase /modx
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]


    but, the friendlu url is not working.... its working fine without friendly urls (index.php?id=4)

    what do i do wrong..?
      • 25483
      • 741 Posts
      I think this one needs a trailing slash:

      RewriteBase /modx


      So it needs to be

      RewriteBase /modx/
        with regards,

        Ronald Lokers
        'Front-end developer' @ h2o Media

        • 29636
        • 31 Posts
        Quote from: MediaGuy at Feb 27, 2009, 09:00 PM

        I think this one needs a trailing slash:

        RewriteBase /modx


        So it needs to be

        RewriteBase /modx/


        i tried that as well, i still got Not Found error...
          • 33337
          • 3,975 Posts
          Trailing slash isn’t needed, eg.

          RewriteBase /modx

          is OK.

          But you have check if mod_rewrite is installed.
            Zaigham R - MODX Professional | Skype | Email | Twitter

            Digging the interwebs for #MODX gems and bringing it to you. modx.link
            • 29636
            • 31 Posts
            Thanks for your help..

            the problem is fixed now... i had to add the folder in mod rewrite
            RewriteRule ^(.*)$ [b]/modx/[/b]index.php?q=$1 [L,QSA]