Wordpress Errors Solutions

The requested URL /cgi-bin/php5-custom-ini.cgi/index.php was not found on this server

This post is written after I stuck on transfer 15 website from a hosting to another hosting. I have uploaded all necessary files and added database and imported database dump file successfully. But problem happens when I browse site then show me this message:

Not Found

The requested URL /cgi-bin/php5-custom-ini.cgi/index.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

This is very strange problem for me. I never saw like this problem in site transfer. My client was contacted to new hosting provider then they failed to understand where is actually problem. Then my client came to me and requested to check again. Then I deeply researched and testified with some changes. After a long experiment, I found this solution! I saw in .htaccess file at the top found that code:

AddHandler phpini-cgi .php
Action phpini-cgi /cgi-bin/php5-custom-ini.cgi

Don’t forget to mark “Show Hidden Files(dotfiles)” when you open your file manager. Then you can see .htaccess file. Open it with an editor.

AddHandler phpini-cgi .php
Action phpini-cgi /cgi-bin/php5-custom-ini.cgi

I deleted that two line then browsed the site I saw it’s worked like a charm! Before my experiment, I read out few article but they couldn’t show me a solution. I hope this article should help you if you are fallen in like this rubbish problem. I was almost crying to face this issue with 15 websites, now I’m so happy because I loved this problem. Leave me a comment if you are not understood any part of that article.

Leave a Comment

Your email address will not be published.