• Hello there,

    this might be 1000th question about permalinks, but I didn’t find a solution yet.
    I’m mainting following blog:
    https://www.wissensagentur.net/blog
    when I set the permalink structure to:
    /index.php/archives/%postname%.html
    Everything works well.
    But I’d like to get rid of the index.php and when I set the permalink structore to, e.g.:
    /%year%/%postname%/
    I get only 404 errors.
    mod_rewrite is enabled, as you can see here:
    https://www.wissensagentur.net/blog/phpinfo.php

    Any ideas how i get that managed?

Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter martinun

    (@martinun)

    oh, not to forget… ??
    .htaccess is in /blog/ and it is writeable for WP, of course.

    same sh*t over here… fortunately Im not the only one whos havin this problem…

    I have the same problem, permalinks will only work if I add /index.php/ at the start. An added problem with this is the list of static pages only shows on the index page, on any other part of my site the static page links are missing. Presumably because I use /index.php/ in the permalink structure. I have posted this problem on at leat 2 other ocassions with no solutions so far.

    Well, I have the same exact problem. I have read everything on the Codex, I have Googled, I have asked my host if mod_rewrite was on… Nothing seems to work for me.

    I want to get rid of “index.php” in the permalinks. This just sucks, really. If someone can give us some hints, this would of course be really appreciated.

    baudesign – is your server apache or IIS? windows or linux?

    Not only does mod_rewrite need to be on, but AllowOverrides must be on as well for your blog site. Is it? (it often defaults to off these days).

    I try using

    <Directory />
    AllowOverride All
    </Directory>

    in my .htaccess file, but I get a “500 Internal Server Error.”

    EDIT Oops. Didn’t realize this thread was stale.

    hmm I have exactly the same problem on my blog https://blog.findinforums.com
    I did all the same as martinun mentioned and it didn’t help yet.
    I’d like the posts to have the title only in the permalinks, I understand there’s some kind of .htaccess coding needed..
    can anyone please quote a proper .htaccess file to make it work properly?

    thanks, Mike

    well no, findinforums. Your WP will already “quote” a proper .htaccess file.

    But first, could you start a new topic instead of forking an old one?

    thanks, well my question is almost the same as the op.
    Why would I need to create multiple topics here if they are all similar?
    It’s not an old topic, it wasn’t solved yet.
    Now can you suggest how to fix this please?

    Because they’re rarely the same. But since you’re wiser than I…

    I’ll assume you’re using a 2.x version of WP.

    When you go to Options -> Permalinks, WP will make some checks. If it can write to your .htaccess, it will do so. If it can’t, it will display (bottom of the page) what YOU need to put in your .htaccess manually.

    Often, if permalinks only work with index.php that indicates you’re on a windows server or an apache server with either mod_rewrite disabled or AllowOverrides off.

    Permalinks Been there to check out the troubleshooting sections?

    thanks, I did this already, but it only worked with index.php, when I remove it from the permalinks pattern it shows a 404 error.
    I previously checked the troubleshooting sections also.
    I’m using shared hosting, it uses apache.
    mod_rewrite is probably enabled since other parts of my site can use it, but I don’t know about AllowOverrides ..
    I also tried to set the permissions for .htaccess to 666.

    mod_rewrite is probably enabled since other parts of my site can use it, but I don’t know about AllowOverrides ..

    “Probably enabled” isn’t good enough. it HAS to be enabled if you want to remove index.php from your urls. But sounds like you have that covered. AllowOverrides is critical for your blog directory as well.

    Have you checked with your host to find out on those two items?

    Yes, I talked with my hosting company, they said all this stuff is enabled. AllowOverrides and mod_rewrite.
    WP says Permalink structure updated. but when I try to load the new link it shows a 404 error

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Permalinks – only work in fileform (index.php…)’ is closed to new replies.