I'm hoping someone with more expertise in this area will be able to help. A client of mine recently installed on of my scripts in their server, however mod_rewrites simply do not appear to be working. Hundreds of other people have bought and use the script which includes the standard .htaccess file, and none have these problems - so it must be something specific to this guys setup that isn't sitting well with the rewrite rules. Here is a snippet of the code: I've tried it with and without +FollowSymlinks, as well as with and without a RewriteBase; but no joy. As you'll probably have guessed, the above rule should rewrite www.domain.com/terms.php to www.domain.com/terms - however it doesn't, instead bringing up a 404 error. The phpinfo for this can be found here I'm sure i'm just missing something glaringly obvious, but hopefully one of you guys can help - it'd be greatly appreciated!
It's doing the other way around at the moment (but I think the other way is what you intended to write, ie. www.domain.com/terms to www.domain.com/terms.php http://www.yarasool.info/ does not seem to be working so I can't see the problem for myself. Also, make a .htaccess file with just an "x" x Code (markup): And let me know if there is a 500 error or not (last person I helped with a similar problem had an issue where .htaccess was not being processed)
Yes that is what I meant to type... i've changed the htaccess as suggested and it hasn't actually made a difference - no 500 messages or anything; the site just loads as it was before.
It seems .htaccess is not being processed. Either there is a .htaccess in a higher directory disabling overrides or this is done in the Apache conf files of the server. Perhaps try contacting the web host to see if they allow .htaccess files?