Support » Fixing WordPress » Permalink not updating .htaccess “no input file specified’

  • Hello,

    I’ve recently installed WordPress 2.3 on my server. It’s working well if I use the default Permalink setting. I’m trying to change this to Date and Name Based, but it has not been working (anything other than default causes errors).

    When I update the permalink structure, it tells me “Permalink structure updated.” However, when I click on any of the links on the site, though, I get the error “no input file specified”. Only the home page works ok.

    I’ve reverted back to Default Permalinks for now, but my site is http://www.wahwebmommy.com/

    I’ve been through tons of support docs here on WordPress and also on Google, but nothing I’ve tried works. It seems that the .htaccess file should be automatically updated (going by the success note given in the admin once I update permalinks). However the .htaccess file remains unchanged.

    I’ve started out with both a blank .htaccess file, as well as a file with the following as the only text in it (as suggested by my hosting company):

    RewriteEngine On

    The .htaccess is chmod 666 as suggested in the support files (yes, I’ve read this page: http://codex.wordpress.org/Using_Permalinks as well as about a million other posts 😉 )

    I’ve found several lines of code in other support posts / sites / etc. and manually added these to the .htaccess file, but none of these work either.

    I would think if the file were not automatically updated by WordPress, that it would show me the correct code to manually enter into the .htaccess file myself, but again, it says that it was successfully updated.

    I spent a good half an hour on the phone w/ tech support from the hosting company, but they could not figure out the problem either. (Overall, though I’ve spent all day so far trying to figure this out, lol.)

    Below are some of my server specs that might be helpful:

    mod_rewrite = enabled
    AllowOverride = enabled
    FreeBSD 4.7
    Perl 5.6
    PHP 4.4.4
    Zend Engine 1.3
    Apache 1.3.33
    MySQL 4.0
    WordPress 2.3

    I’m hoping someone can help me out, because I’m at a complete loss as to why the permalinks aren’t working.

    Help!

    TIA 🙂

Viewing 15 replies - 1 through 15 (of 24 total)
  • Thread Starter wahwebmommy

    (@wahwebmommy)

    Anyone?

    same problem over here, before upgrading it worked fine, after the upgrade it broke.

    Silly thing is: permalinks for category is working fine, but rss and individual permalinks don’t work

    Thread Starter wahwebmommy

    (@wahwebmommy)

    Think it’s a bug with 2.3? This was a fresh install (I setup hosting within a day or two after 2.3 came out, so it was started from scratch… although I did import the content from my wordpress.com hosted blog).

    It’s seriously driving me nuts trying to figure it out, lol.

    Maybe a bug in combination with server specs…
    @wahwebmommy: did you try to manualy place the code into the .htaccess? I did, but even that failed me…

    Thread Starter wahwebmommy

    (@wahwebmommy)

    Do you have similar server specs as I do?

    The strange thing about the code is it doesn’t give me the code, because it acts as if it did it successfully. I did find several sample codes doing searches online. I must have tried at least 4-5 of them (manually into .htaccess) but still no luck.

    I’ve got another blog on the same server, but not upgraded to 2.3. That one works fine. So I guess there’s some sort of minor bug in 2.3

    Yes! I’ve got it working!!!
    On Options > Permalinks, is a section “Optional”. It’s not SO optional. After upgrading it mentioned for category’s index.php/file (I’ve got the PATHINFO permalinks), I don’t want “files” so I altered that to index.php/ Now that I’ve changed to index.php/_/ (or leave it blank which gives the standard “Category” subpath), its all working again.
    So use this code in your .htaccess, check your Category Base (and maybe you’re Tag Base) and let me know of it works.

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress
    Thread Starter wahwebmommy

    (@wahwebmommy)

    That’s awesome – congrats! 😀

    Maybe I’m not doing this right, but it didn’t work for me, though. 🙁

    Under Common Options, I’ve selected “Date and Name Base” which displays this in the custom field:

    /index.php/%year%/%monthnum%/%day%/%postname%/

    Then down in the Options: Category field, I tried both of the following options:

    index.php/

    also tried

    index.php/_/

    I also put the code you pasted above into my .htaccess file. I already had a RewriteEngine On line – the hosting company said this should be the first line, but don’t know if it’s necessary since it’s repeated in the code below. My entire .htaccess file looks like this:

    RewriteEngine On
    
    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    
    # END WordPress

    Still no luck though…. Hopefully it’s something quick and easy that you can see I’m doing wrong? Help!

    TIA

    Skip that first RewriteEngine On
    I tried index.php/ but thats was causing the error, now I use the index.php/_/ and that works fine for me, leaving it blank makes it look like index.php/category
    We’ll get this fixed.

    Thread Starter wahwebmommy

    (@wahwebmommy)

    Thanks so much for your help!

    Still a no-go, though. I notice when I type in

    index.php/_/

    It changes it to:

    index.php/_

    Still gives the No input file specified error.

    That change is correct.

    Any plugins that could interfere? (just to make sure that thats not the problem)

    Thread Starter wahwebmommy

    (@wahwebmommy)

    I just disabled all of my plugins and went back to the default theme, but still no go.

    I wonder if it would help if exported my post info… deleted everything incl the databases and start over from scratch?

    ugh!

    No, there’s nothing wrong with your database. If it were, it wouldn’t work with the “ugly” permalinks.

    Thread Starter wahwebmommy

    (@wahwebmommy)

    Well, your right – that didn’t work. At least I can’t say I didn’t try everything, lol. That’s another hour I’ll never get back 😛

Viewing 15 replies - 1 through 15 (of 24 total)
  • The topic ‘Permalink not updating .htaccess “no input file specified’’ is closed to new replies.