WordPress.org

Ready to get started?Download WordPress

Forums

Permalinks Broken in 1.5 (11 posts)

  1. DarkCryst
    Member
    Posted 9 years ago #

    I posted this in the bug tracker (http://mosquito.wordpress.org/view.php?id=889) but thought I'd mention it here as its rather.... pressing.

    Currently the single post permalinks (and ONLY those as far as I can find) are broken. Goes to 404. Anyone else found this? I've not done anything fruity, just installed it and upgraded my old DB. So this is "out of the box" behavior.

    Its wierd because I've not had this problem on the same host with other nightlies.. so something changed for the worse somewhere...

  2. lawtai
    Member
    Posted 9 years ago #

    maybe try deleting your htaccess file and then allowing wordpress to write to a new one?

  3. jpettit
    Member
    Posted 9 years ago #

    i had a similar problem...
    you can follow what i did in that post

  4. DarkCryst
    Member
    Posted 9 years ago #

    lawtai - tried that, as I realised there were some old rules in it.. same problem.

    jpettit - good suggestion, didn't work, but while doing that I found out my problem! so thanks I guess ;)

    It seems to throw a wobbly on my structure - category/year/post_name

    I remove the category and it works FINE.. which sucks because I specifically wanted category. Guess its a bug in the rules generation then...

  5. DarkCryst
    Member
    Posted 9 years ago #

    Ok... the permalinks aren't exactly broken, but they aren't exactly working.

    Wherever you see "(.+)" replace it with "([_0-9a-z-]+)" in the .htaccess and that "fixes" it, but only if you use english (or the basic 26 char english alphabet for posts anyhow).

    The long and the short of it, after much discussion with Ryan is that unless you have Apache 2, WP does not work out of the box for categories right now.

  6. jamesvl
    Member
    Posted 9 years ago #

    That seems a little bit ridiculous to me. Using the 'category' in Permalinks works *only* with Apache 2? Where were users going to be told about this? (It wasn't on the Codex or in the instructions page itself, last time I checked.)

    The replacement given above doesn't work for nested categories, btw.

    If this "feature" of WP isn't working on most web servers, it should be fixed or taken out.

    I love WP. I'm still using it. (And yes, I'm even trying to fix it.)

    I'm just disappointed such a major flaw made it into a release version.

  7. angsuman
    Member
    Posted 9 years ago #

    I think the safest way around permalinks is to avoid .htaccess.

    You can use my WordPress tips on permalinks access.

    It doesn't require htaccess, doesn't require mod_rewrite. It is a simple and safe solution of the problem.
    The url's generated are of the format:
    Post URL: http://blog.taragana.com/index.php/archive/why-i-discourage-embedding-date-in-urls-including-wordpress-permalinks-and-also-other-cms/
    Category URL: http://blog.taragana.com/index.php/category/cms/wordpress/

    Let me know if you use it.

  8. nearlythere
    Member
    Posted 9 years ago #

    I have tried both the Ungreedy and the Reduced rewrite plugins,
    http://boren.nu/archives/2005/03/07/reduced-rewrite-plugin/
    http://boren.nu/archives/2005/03/08/ungreedy-rewrite-plugin/

    ... and they have not worked to make /%category%/ work as part of the permalink structure on Apache 1.3.x

    Can someone confirm for me that getting this to work is nigh impossible? I feel as though I've wasted alot of time on trying to get WP to work to do this, with false hopes.

    I just want someone to say "forget it!"

    Else, can someone how me an example of this working, and details of the environment in which this works?

  9. brbreslin
    Member
    Posted 9 years ago #

    I did the .+ hack mentioned earlier. It works great for the permalinks, but the "pages" don't work (unless I had the slug pointing to something already there).
    check what I'm talking about http://www.localrounders.com

  10. kikthinking
    Member
    Posted 9 years ago #

    i've had a huge trouble with it, but adding

    /index.php/%blah%%blah% fixed it.

  11. Markme
    Blocked
    Posted 8 years ago #

    If your .htaccess is not writeable (unix rights 777) then wordpress can not auto-update that file. Either set it to those rights OR manually update it. Not sure about older releases of WP, but WP2 gives you the code to copy and paste into your .htaccess

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.