Tell me more ×
WordPress Answers is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I am a wordpress designer, and this time, I am making a website for my client. His buget is low. So we purchased a shared hosting plan form a hosting comapany.

After that I installed wordpress on his area and start editing. But I face some problem, such as with image posting, article posting, in permalink (we are failed to change by post name). The main problem is I am facing problem with any new modifications in it. Problem code is 404 or 406 when I am working on the site.

After this problem I search about it's solution. I find various solutions.

I use some form them, but it does not work for me. Like :

  • I recreate the site.
  • I removed all plugins. But problem is still with posting posts and images and with permalinks (that acn not be changed).
  • I edit htaccess file. But It does not work.

In the end I read about server mod_security plugin. I find out maybe it is happening due to mod_securty option on server. We need to reduce the server security by mod_securty. When I talk to my web host then he told me he can not disable mod_security on shared server due to security reasons.

He said I have need to coding site according to mod_security or edit htaccess file to make our security off or low. But as he said I try some codes in .htaccesss file. But it does not work.

I read some where one more thing , the htaccess file will work with mod_security, but it if they used mod_security2 on apache server 2.0 then htaccess file codes change is not working for us.

So this time I am very confused. I already take hosting and commit my client the work is done in 3 days. But now I am hanged. Due to this problem.

Plz provide me solution if you have for my site if we can reduce our security on that server by htaccess file plz tell me how we can do it.

I try some code in my htaccess file like this

<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>

or

# BEGIN WordPress

RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

# END WordPress

these codes are provided by my webhost for htaccess file to disable security. But it does not solve my problem.

share|improve this question
Do you have any idea what the actual server errors are? Not just that you are getting a 404, but why? It sounds more like a memory limit or execution timeout to me, rather than mod_sec, but that is guessing. – s_ha_dum Mar 12 at 14:13

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.