How do I disable magic quotes? (Using .htaccess)

You need to add this line to your htaccess file in the directory where you want to disable magic quotes:

php_flag magic_quotes_gpc off

The .htaccess file is located in your public_html folder on your FTP server.

  • 85 Users Found This Useful
Was this answer helpful?

Related Articles

Images are not showing on my site

Please make sure the images are uploaded to the server. Check that the HTML paths are correct....

Help with my template

Unfortunately, we are not engaged in website creation services. If you cannot solve the problem...

My Wordpress has been hacked, how do I reset my admin password?

If your Wordpress password has been changed to an unknown value, you can always change it by...

MySQL server does not work! (Error 28)

Please try to start restoring the database by going to Control Panel - Databases, select the...

I am getting Internal Server Error (500)

This error is generalized when there is a problem the server cannot process a request to the site...