• I used to use just %postname% for my permalinks on some other sites since I don’t do heavy blogging and like the short URLs. But a new installation I’ve done won’t work unless the permalinks are at least /index.php/%postname%/

    Here’s the site (in construction): https://tinyurl.com/ylpvhp Ideas?

Viewing 6 replies - 16 through 21 (of 21 total)
  • The blog is in the “root” of the domain, right? Try something like:

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

    That worked!

    Thank you so much! You made my day. ??

    Wooohooo It works

    I have been trying to figure out how to get ride of that index.php in my permalink for 2 days now and still have all my links work.

    Thank you for this post!

    -Keith

    I’m having the same problem. Only way my permalinks work is when either I use the “ugly” default or if I use something like /index.php/%year%/%monthnum%/%day%/%postname%/
    which obviously shows index.php in the url. I know this server is running Linux/Apache, my site is at the root level and I have edited the .htacess file to read the following….

    # 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 goes to 404 error. I can’t figure out why….

    Works great, thank! Why is wordpress not working correctly though???

    This help me too ??
    tnx…

Viewing 6 replies - 16 through 21 (of 21 total)
  • The topic ‘Why won’t my permalinks work without index.php?’ is closed to new replies.