Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7436603
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T10:15:59+00:00 2026-05-29T10:15:59+00:00

Up until about a week ago, wordpress websites on our host showed no issues.

  • 0

Up until about a week ago, wordpress websites on our host showed no issues.

However, since this morning we noticed an issue whereby admin pages failed to load in wordpress. On other sites on the same server one page of one site was being displayed with all single and double quotes preceded with a backslash like this, \” and \’. We checked and found more sites using file_get_contents are suffering from the same issue.

We asked our host, who said it was a mod_security issue, but turning it off for the relevant pages has no effect. Adding stripslashes() directly to the output of the most critical pages and functions on non-wordpress sites got those rendering acceptably again.

However, rather than hacking around in wordpress, is there any setting that we should be asking the host to set (or that we can set since we have ssh access to the server) that can address this issue?

Does anyone know what kind of setting might cause this function to add slashes to content?

I tried disabling slashes via php.ini but it doesn’t change the behaviour on those sites.

Any thoughts for where to start are welcome.

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T10:16:00+00:00Added an answer on May 29, 2026 at 10:16 am

    Whoever told you it was mod_security is wrong. It’s a PHP setting, magic_quotes_gpc, which controlls whether slashes are added to input. It’s been deprecated for some years now, and should always be off. If it’s on then you might be able to override it and turn it off again with a .htaccess file, but if that’s not an option you’ll have to ask your host to check the magic_quotes_gpc setting.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This is an edit of a question I asked about a week ago. I'm
I've published my website many times. But didn't think about this though until I
Google Reader API Seems expecting something different for authentication today! About a week ago,
I never really thought about this until I was explaining some clojure code to
I have designed a form which was working fine until about an hour ago.
I started using Thrift about a week ago. I got the latest source from
I've been poking through this for about a week or so, now, and haven't
I have never thought about until recently, but I'm not sure why we call
Our project is a content management system supporting several dozen of our websites. The
My team is close to deploying our application, and we're about to go into

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.