"No input file specified" error with Wordpress

When trying to access parts of my site, I'm receiving an error saying that "No input file specified". How can I fix this?

1 Reply

This is most likely related to a bug with permalinks in previous Wordpress versions. An update to the latest version of Wordpress should fix this issue.

To update to the latest version, I recommend following Wordpress's official Updating Wordpress guide.

You may also want to take a look at your .htaccess file to ensure the file is named correctly and that it's properly configured for mod_rewrite:

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

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct