Fueling Your Coding Mojo

Buckle up, fellow PHP enthusiast! We're loading up the rocket fuel for your coding adventures...

Popular Searches:
109
Q:

ExpressionEngine on MediaTemple - removing index.php results in "no input file specified"

Hi everyone,

I am currently working on a website built with ExpressionEngine and hosting it on MediaTemple. I have been trying to remove the "index.php" from the URLs for better SEO optimization.

I followed the instructions provided by ExpressionEngine, which involved modifying the .htaccess file and the config.php file. However, when I remove the "index.php" and navigate to the website, I get an error message saying "no input file specified".

I have double-checked all the changes I made and everything seems to be in order. I have also ensured that mod_rewrite is enabled on my server. Despite these efforts, I still can't get rid of the "index.php" from the URLs.

Has anyone encountered a similar issue while using ExpressionEngine on MediaTemple? If so, could you please share any insights or possible solutions to this problem?

Any help would be greatly appreciated.

Thank you!

All Replies

fritsch.abdullah

Hey there!

I had a similar issue when trying to remove "index.php" from the URLs on my ExpressionEngine site hosted on MediaTemple. After making the changes to the .htaccess and config.php files as instructed, I also encountered the "no input file specified" error. It was quite frustrating!

After some troubleshooting, I realized that the issue was with the server's configuration. Specifically, the FastCGI handler was not properly set up. So, I reached out to the MediaTemple support team, and they were able to help me resolve it.

They made sure that FastCGI was enabled and properly configured for my domain. Once that was done, I cleared the cache and reloaded the site, and voila! The "index.php" was finally removed from the URLs without any error.

If you're facing the same issue, I would recommend reaching out to MediaTemple's support team. They should be able to assist you in ensuring that FastCGI is set up correctly on your server.

Hope this helps!

green15

Hey,

I faced a similar issue when attempting to remove "index.php" from the URLs on my ExpressionEngine site hosted on MediaTemple. After following the instructions provided by ExpressionEngine, I encountered the dreaded "no input file specified" error. It was really frustrating!

I spent quite some time trying different solutions, including modifying the .htaccess file and checking the server configurations. However, nothing seemed to work. I even reached out to MediaTemple support, but they were unable to provide a solution specific to ExpressionEngine.

After some extensive research and trial and error, I finally found a workaround that worked for me. Instead of relying on the standard ExpressionEngine method of removing "index.php," I utilized a different approach using custom routing.

I created a custom routing rule in ExpressionEngine's "config.php" file that redirected requests for the "index.php" file to the homepage without explicitly including it in the URL. This allowed me to maintain clean URLs without the "index.php" while bypassing the "no input file specified" error.

It's worth mentioning that this solution might not be suitable for everyone, depending on the complexity of your website and routing requirements. However, if you're struggling with the same issue, exploring custom routing as an alternative might be worth considering.

I hope this helps someone out there who's facing a similar problem!

Cheers!

New to LearnPHP.org Community?

Join the community