Title: &#8220;No input file specified&#8221; solution
Last modified: August 19, 2016

---

# “No input file specified” solution

 *  [Doodlebee](https://wordpress.org/support/users/doodlebee/)
 * (@doodlebee)
 * [18 years, 2 months ago](https://wordpress.org/support/topic/no-input-file-specified-solution/)
 * I just wanted to post something here – it’s not a question. I just installed 
   WordPress for a client (yeah, a paying one), and I was having a *severe* issue
   getting the blog to show up. I installed/uninstalled 4 times, dropped the database
   each time, blah blah, fresh installs on a Linux server. Every time, I would get
   the “No input file specified.” error when trying to view the site.
 * No, I didn’t mess with permalinks, and nothing was showing up in the error logs–
   this is brand-spankin’ new…don’t even have the plugins installed yet.
 * I’m working on the site “incognito”, meaning there’s already a static site at“
   index.html”, but I’m working from “index.php”, so I changed the Blog URI to “
   [http://bloghere.index.php&#8221](http://bloghere.index.php&#8221); so I could
   work until the time came to make it live.
 * The problem was, when I viewed the page, WordPress would instert a trailing slash
   after the url…so instead of “[http://www.sitename.com/index.php&#8221](http://www.sitename.com/index.php&#8221);
   I was getting “[http://www.sitename.com/index.php/&#8221](http://www.sitename.com/index.php/&#8221);.
   The former, I could see the site just fine, but the latter would result in the
   error. So for some reason, that trailing slash was royally screwing things up.
 * Well, I fixed it, and I’ve seen a couple of others who’ve noticed this issue 
   as well, but no solutions. So I’m going to share mine.
 * In the .htaccess file:
 *     ```
       <IfModule mod_rewrite.c>
       RewriteEngine On
       RewriteCond %{REQUEST_FILENAME}.php -f
       RewriteCond %{REQUEST_URI} !/$
       RewriteRule (.*) $1\.php [L]
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule ^(.+)/$ /$1 [R=301,L]
       </IfModule>
       ```
   
 * That removes the trailing slash at the end. This is for the default permalinks
   only – not any custom format. If you want a custom format, you can take the above
   and run with it to try and figure out how to fix. But I only needed the default(
   for now), and the client’s paying me by the hour, so I don’t have time to mess
   with it and see how to make it work with custom configurations.
 * But there, hope it helps someone else with this issue.

Viewing 1 replies (of 1 total)

 *  [mizar5](https://wordpress.org/support/users/mizar5/)
 * (@mizar5)
 * [17 years, 11 months ago](https://wordpress.org/support/topic/no-input-file-specified-solution/#post-714403)
 * hi, i have a website named [http://www.mizar5.net](http://www.mizar5.net) (now
   directed to its guestbook) and it runs on WordPress since 2005. since yesterday,
   the ‘no input file specified’ message shows up and nobody’s done anything to 
   cause that. all i did was post an entry, as usual. that was it.
    i can’t fix 
   codes, can only reproduce and copy/paste, but have no clue what’s what, where
   and why.
 * so, i am looking for a solution to get it fixed.
    also, when i try to download
   the folder that has this whole wordpress mizar5 module, (as a back-up), it says
   access denied, i have no permission of the server to download the index.php.
 * but there is no index.php.
    if i look via my FTP/Fetch, i see nothing. if i look
   via Presentations and editor via the dashboard (i still have access to that area
   and see every post as in how to edit), i can see the code to the index.php page.
   but it doesn’t show in the folder in the FTP….
 * every solution i see in here, is for problems that occurred when people changed
   stuuf, or renewed and such. i haven’t changed or updated anything. i still intend
   to, but Mizar5 worked fine the way it was. until yesterday.
 * i hope someone can help me,
    cheers, Gina/Mizar5

Viewing 1 replies (of 1 total)

The topic ‘“No input file specified” solution’ is closed to new replies.

## Tags

 * [no input file specified](https://wordpress.org/support/topic-tag/no-input-file-specified/)
 * [permalinks](https://wordpress.org/support/topic-tag/permalinks/)
 * [trailing slash](https://wordpress.org/support/topic-tag/trailing-slash/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [mizar5](https://wordpress.org/support/users/mizar5/)
 * Last activity: [17 years, 11 months ago](https://wordpress.org/support/topic/no-input-file-specified-solution/#post-714403)
 * Status: not a support question

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
