• Hello all: I had to enable Multisite because I have another WordPress site installed in a subdirectory of my main one. Ever since I did this, I’ve been having an issue with my permalinks on my main site. The homepage will load fine, but whenever I try to navigate to another page or post, I receive a “no input file specified” error. This stopped happening when I reverted back to the default permalinks. Could anyone tell me how to make custom permalinks work again on my main site?

Viewing 10 replies - 1 through 10 (of 10 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Advisor and Activist

    Did you update your htaccess for MultiSite?

    Thread Starter ashrk

    (@ashrk)

    I did. My .htaccess looks like this:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    
    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]
    
    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]
    
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule  ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
    RewriteRule  ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
    RewriteRule . index.php [L]
    </IfModule>
    # END WordPress

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Advisor and Activist

    Turn off ALL your plugins. Then turn them back on one at a time.

    Also remember to go in and re-save your permalinks πŸ™‚

    “no input file specified” is an NginX specific error. You need to fix your nginx rewrite rules. There’s here in the forums.

    Thread Starter ashrk

    (@ashrk)

    @ipstenu: Still happening, even with all plugins disabled. :/

    @andrea_r: I have no idea what any of the words you said mean, lol. I searched the forums for “nginx rewrite”, but couldn’t find anything that was pertinent to my issue. There were a lot of posts which mentioned it, but it kind of just seemed to be a whole lot of people who aren’t real sure πŸ˜› It’s possible I just didn’t dig deep enough though.

    ::bangs head against wall::

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    πŸ³οΈβ€πŸŒˆ Advisor and Activist

    Thread Starter ashrk

    (@ashrk)

    Ack. I’m not accustomed to feeling stupid, but wow. This is Greek to me. My question is, if it were an issue with NginX, wouldn’t it have been happening before the Multisite was installed? Permalinks were working perfectly before the Multisite installation. Or am I just completely out in left field? Forgive me. I swear, I am not a blithering idiot. Usually.

    Not necessarily, as multisite has different rewrite rules.

    and this is hardcore stuff. πŸ˜‰ Usually I go looking for help here too. πŸ˜€

    Thread Starter ashrk

    (@ashrk)

    Also, I get the impression from reading all this stuff that nginx is something that I would have had to consciously install? Maybe? I’ve never even heard that term before this post …

    I’m now having an ongoing argument with myself that goes something like this:
    Voice 1: Just let it go. Who cares. So you have to use the default permalinks. Big whoop.
    Voice 2: No! This will not defeat you!! Is it so much to ask to have friggin custom permalinks?!?!

    Gooood grief haha

    yeah nginx is the server OS – like Apache but different.

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Receiving "no input file specified" error since enabling multisite’ is closed to new replies.