We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 36467
    • 73 Posts
    I have moved site from one server to another, and now friendly urls arent working.
    though i can access urls with their page id like
    www.mydomain.com/index.php?id=13
    but accessing same page with
    www.mydomain.com/contact
    Doesnt work....and shows 404 error

    I have checked that friendlu_url setting is set to "Yes"
    also my .htacces is in place

    i have faced same problem before also but at that time renaming htaccess file and setting site_url, http_host worked for me but this time i am not getting whats going wrong [ed. note: amitpatil last edited this post 14 years, 2 months ago.]
      • 28120
      • 380 Posts
      Is the rewrite module enabled in apache?
        • 36467
        • 73 Posts
        Thanks mark....that was only option that i didnt cheked...and i just did one quick simple test..and that failed so i think its not enabled.
        I will do few more tests, thanks for such a great answer/option to check.
          • 9102 ☆ A M B ☆
          • 318 Posts
          Yeah, that's it then. Another thing to check is whether www.domain.com/index.php?q=contact works. If it does, then it's definitely not a MODX setting that's the problem, it's just that the server is not doing the redirect for whatever reason.
            • 36467
            • 73 Posts
            @freejung : thats not working right now, but i see 1 error in error log file so i will remove it first and then will try again...
              • 36467
              • 73 Posts
              I just cheked and q=contact is workin that means there is no problem in modx...all i have to do it enable mod_rewrite...thanks friends
                • 36467
                • 73 Posts
                Exactly my mod_rewrite was not enabled wink

                Thanks mark....