WordPress.org

Forums

wordpress-2004-03-08 (25 posts)

  1. Anonymous
    Unregistered
    Posted 11 years ago #

    the latest beta wordpress-2004-03-08.zip doesn't work mod_rewrite rules, most of them, works only for comments rss feeds, posts doesn't work :( that sucks... another bug which was discussed during some time is "Warning: Missing argument 2 for zeroise() in /var/www/some_url_here/wp-includes/functions-formatting.php on line 241"
    it happens every time I use calendar... these are the only bugs I've noticed so far...

  2. Laughinglizard
    Member
    Posted 11 years ago #

    Did you redo the rewrite rules from the permalinks menu for the nightly (if this was an upgrade)?

  3. Ryan Boren
    WordPress Dev
    Posted 11 years ago #

    Did you update .htaccess with the new rules? It *should* work with either the old or new rules, but evidently reality and theory are in disagreement. I'd be interested in knowing if old versus new rules behave differently for you. Also, what version of Apache are you using?
    If you do have the new rules in .htaccess, does moving the post rules back to the top fix the problem for you?

  4. Anonymous
    Unregistered
    Posted 11 years ago #

    omg shure I did, it was a new install, and I created .htaccess file, mod_rewrite is loaded, now I tried the rules from the old install, it works now :) a bit buggy, but works

  5. Anonymous
    Unregistered
    Posted 11 years ago #

    so it works with the rules created by old install, 1.0.1

    RewriteEngine On
    RewriteBase /
    RewriteRule ^([0-9a-z-]+)/?([0-9]+)?/?$ /index.php?name=$1&page=$2 [QSA]
    RewriteRule ^category/?(.*) /index.php?category_name=$1 [QSA]

    but unfortunatly rss feeds doesn't work :) I'll add them manually later..
    http://me.insanex.org to test it

  6. Anonymous
    Unregistered
    Posted 11 years ago #


    RewriteEngine On
    RewriteBase /
    RewriteRule ^category/(.*)/(feed|rdf|rss|rss2|atom)/?$ /wp-feed.php?category_name=$1&feed=$2 [QSA]
    RewriteRule ^category/?(.*) /index.php?category_name=$1 [QSA]
    RewriteRule ^author/(.*)/(feed|rdf|rss|rss2|atom)/?$ /wp-feed.php?author_name=$1&feed=$2 [QSA]
    RewriteRule ^author/?(.*) /index.php?author_name=$1 [QSA]
    RewriteRule ^([0-9]{4})/?([0-9]{1,2})?/?([0-9]{1,2})?/?([0-9a-z_-]+)?/?([0-9]+)?/?$ /index.php?year=$1&monthnum=$2&day=$3&name=$4&page=$5 [QSA]
    RewriteRule ^([0-9]{4})/?([0-9]{1,2})/([0-9]{1,2})/([0-9a-z_-]+)/(feed|rdf|rss|rss2|atom)/?$ /wp-feed.php?year=$1&monthnum=$2&day=$3&name=$4&feed=$5 [QSA]
    RewriteRule ^([0-9]{4})/?([0-9]{1,2})/([0-9]{1,2})/([0-9a-z_-]+)/trackback/?$ /wp-trackback.php?year=$1&monthnum=$2&day=$3&name=$4 [QSA]
    RewriteRule ^feed/?([0-9a-z_-]+)?/?$ /wp-feed.php?feed=$1 [QSA]
    RewriteRule ^comments/feed/?([0-9a-z_-]+)?/?$ /wp-feed.php?feed=$1&withcomments=1 [QSA]

    these are rules I get with the latest nightly, and they doesn't work...
    using it like this: /%year%/%monthnum%/%day%/%postname%/
    so still using the old rules.. the work at least :)

  7. Anonymous
    Unregistered
    Posted 11 years ago #

    mail me on updates, i.love.to.fuck@teens18.co.uk ps: its a real email or icq 618128

  8. Cena
    Member
    Posted 11 years ago #

    The latest CVS' rewrite rules don't work: clicking on a post title, archives, or categories goes to a blank page.
    Rules:
    RewriteEngine On
    RewriteBase /wordpress/
    RewriteRule ^archives/category/(.*)/(feed|rdf|rss|rss2|atom)/?$ /wordpress/wp-feed.php?category_name=$1&feed=$2 [QSA]
    RewriteRule ^archives/category/?(.*) /wordpress/index.php?category_name=$1 [QSA]
    RewriteRule ^archives/author/(.*)/(feed|rdf|rss|rss2|atom)/?$ /wordpress/wp-feed.php?author_name=$1&feed=$2 [QSA]
    RewriteRule ^archives/author/?(.*) /wordpress/index.php?author_name=$1 [QSA]
    RewriteRule ^archives/([0-9]{4})?/?([0-9]{1,2})?/?([0-9]{1,2})?/?([0-9a-z_-]+)?/?([0-9]+)?/?([0-9]+)?/?$ /wordpress/index.php?year=$1&monthnum=$2&day=$3&name=$4&p=$5&page=$6 [QSA]
    RewriteRule ^archives/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([0-9a-z_-]+)/([0-9]+)/(feed|rdf|rss|rss2|atom)/?$ /wordpress/wp-feed.php?year=$1&monthnum=$2&day=$3&name=$4&p=$5&feed=$6 [QSA]
    RewriteRule ^archives/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([0-9a-z_-]+)/([0-9]+)/trackback/?$ /wordpress/wp-trackback.php?year=$1&monthnum=$2&day=$3&name=$4&p=$5 [QSA]
    RewriteRule ^feed/?([0-9a-z_-]+)?/?$ /wordpress/wp-feed.php?feed=$1 [QSA]
    RewriteRule ^comments/feed/?([0-9a-z_-]+)?/?$ /wordpress/wp-feed.php?feed=$1&withcomments=1 [QSA]

  9. Ryan Boren
    WordPress Dev
    Posted 11 years ago #

    The only difference in the rules is the order. Both orders work fine for me on two different servers with two different apache versions, so any debug help will be appreciated. If I can't find a solution soon I will revert the order change.
    Anyway, if you change back to the old order, does it work again? Try this in .htaccess.
    RewriteEngine On
    RewriteBase /wordpress/
    RewriteRule ^archives/([0-9]{4})?/?([0-9]{1,2})?/?([0-9]{1,2})?/?([0-9a-z_-]+)?/?([0-9]+)?/?$ /testbed/index.php?year=$1&monthnum=$2&day=$3&name=$4&page=$5 [QSA]
    RewriteRule ^archives/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([0-9a-z_-]+)/(feed|rdf|rss|rss2|atom)/?$ /testbed/wp-feed.php?year=$1&monthnum=$2&day=$3&name=$4&feed=$5 [QSA]
    RewriteRule ^archives/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([0-9a-z_-]+)/trackback/?$ /testbed/wp-trackback.php?year=$1&monthnum=$2&day=$3&name=$4 [QSA]
    RewriteRule ^archives/category/(.*)/(feed|rdf|rss|rss2|atom)/?$ /testbed/wp-feed.php?category_name=$1&feed=$2 [QSA]
    RewriteRule ^archives/category/?(.*) /testbed/index.php?category_name=$1 [QSA]
    RewriteRule ^archives/author/(.*)/(feed|rdf|rss|rss2|atom)/?$ /testbed/wp-feed.php?author_name=$1&feed=$2 [QSA]
    RewriteRule ^archives/author/?(.*) /testbed/index.php?author_name=$1 [QSA]
    RewriteRule ^feed/?([0-9a-z_-]+)?/?$ /testbed/wp-feed.php?feed=$1 [QSA]
    RewriteRule ^comments/feed/?([0-9a-z_-]+)?/?$ /testbed/wp-feed.php?feed=$1&withcomments=1 [QSA]
    Also, are those having problems running multiple wordpress installs, for example, one in /wordpress and one in /weblog.

  10. Cena
    Member
    Posted 11 years ago #

    Rboren, those still render a blank page for me.
    As it happens, I do have another WP install in the same db, but that's new, and the rules weren't working even before the additional install.

  11. Anonymous
    Unregistered
    Posted 11 years ago #

    still nothing.... doesn't work to me

  12. Ryan Boren
    WordPress Dev
    Posted 11 years ago #

    Okay, let's try this. Change all occurences of [0-9a-z_-] to [0-9a-z-_]. If that is still a problem, change it to [0-9a-z-]. Here's a set a rules using [0-9a-z-_].
    RewriteEngine On
    RewriteBase /wordpress/
    RewriteRule ^archives/([0-9]{4})?/?([0-9]{1,2})?/?([0-9]{1,2})?/?([0-9a-z-_]+)?/?([0-9]+)?/?$ /testbed/index.php?year=$1&monthnum=$2&day=$3&name=$4&page=$5 [QSA]
    RewriteRule ^archives/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([0-9a-z-_]+)/(feed|rdf|rss|rss2|atom)/?$ /testbed/wp-feed.php?year=$1&monthnum=$2&day=$3&name=$4&feed=$5 [QSA]
    RewriteRule ^archives/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([0-9a-z-_]+)/trackback/?$ /testbed/wp-trackback.php?year=$1&monthnum=$2&day=$3&name=$4 [QSA]
    RewriteRule ^archives/category/(.*)/(feed|rdf|rss|rss2|atom)/?$ /testbed/wp-feed.php?category_name=$1&feed=$2 [QSA]
    RewriteRule ^archives/category/?(.*) /testbed/index.php?category_name=$1 [QSA]
    RewriteRule ^archives/author/(.*)/(feed|rdf|rss|rss2|atom)/?$ /testbed/wp-feed.php?author_name=$1&feed=$2 [QSA]
    RewriteRule ^archives/author/?(.*) /testbed/index.php?author_name=$1 [QSA]
    RewriteRule ^feed/?([0-9a-z-_]+)?/?$ /testbed/wp-feed.php?feed=$1 [QSA]
    RewriteRule ^comments/feed/?([0-9a-z-_]+)?/?$ /testbed/wp-feed.php?feed=$1&withcomments=1 [QSA]

  13. Cena
    Member
    Posted 11 years ago #

    Erk! Internal server error! :)
    Rboren, I'm in irc if you can swing by there. Might facilitate things? :)

  14. Anonymous
    Unregistered
    Posted 11 years ago #

    [0-9a-z-] fixes the problem, change all the [0-9a-z_-] to [0-9a-z-] and it works :) btw we can meet on irc.insanex.org #wp
    PS: you can CNAME irc.wordpress.org to irc.insanex.org and we'll have a good place to discuss all the problems, development, ideas etc

  15. Anonymous
    Unregistered
    Posted 11 years ago #

    just created a channel on irc.insanex.org, it's a small network, and I am an irc operator, so there would be any problems, welcome

  16. Ryan Boren
    WordPress Dev
    Posted 11 years ago #

    I have Apache 2.0.40 and 1.3.29 running on different servers. 2.0.40 handles all variations properly. 1.3.29 chokes on -_. Both can handle _-. Could ya'll try [_0-9a-z-] and let me know if that works. Try it with both the old and new rule ordering if you would. Thanks all.
    Ryan

  17. Anonymous
    Unregistered
    Posted 11 years ago #

    im also curious about the ROADMAP or something like this... a kind of planned features, etc and a possible date of the next release :) rboren I hope we'll meet on irc.... anyway I'm going to bed right now, so cya tommorow, and thanks for quick answers..
    PS: one more bug, the default options for pingbacks doesn't work... only changing it in mysql directly works for me
    its here: wp-admin/options-discussion.php the second option called "Allow link notifications from other Weblogs. (Pingbacks and trackbacks.)" can't turn if off directly.. cause I don't need it... only using phpMyAdmin :) hope you'll fix it soon

  18. Anonymous
    Unregistered
    Posted 11 years ago #

    hmmm one more bug or feature... I don't know really, when I do a new post, it doesn't appear on the main page.... I have to edit it, click on save, and then publish to display it on the first page... is it a bug? all the 3 or 5 latest nightly builds have this bug... or feature ? :)

  19. Stevarino
    Member
    Posted 11 years ago #

    I'm also very curious about a roadmap. When I post a hack, I DO have a personal roadmap of where I want WordPress to go. Every hack contributes towards my goals (except for that purple numbers thing, that was just fun).
    However when I don't know the official roadmap I feel guilty because my hacks might be working against that. Just want to be a good WP-citizen. :)

  20. Cena
    Member
    Posted 11 years ago #

    [0-9a-z-] generates a 500 error.
    [0-9a-z-_] generates a 500 error.
    [_0-9a-z-] , the same.

  21. Ryan Boren
    WordPress Dev
    Posted 11 years ago #

    Hmm, the only time I see 500 errors is when -_ is used on older 1.3 loads. Do you know what Apache version you're on? If you have cPanel, it usually indicates the apache version.

  22. Cena
    Member
    Posted 11 years ago #

    1.3.29 (php 4.3.4)

  23. Matt Mullenweg
    Troublemaker
    Posted 11 years ago #

    Cena, there must be something else because I'm on apache 1.3.29 w/ mod_rewrite too and having no probs. Could you look at your error logs and see exactly what error it's logging?

  24. Cena
    Member
    Posted 11 years ago #

    New thread started here, since it also applies to today's (030904) CVS.

  25. Anonymous
    Unregistered
    Posted 10 years ago #

    This works perfectly on my Apache 2 installation on windows (homepage is at /index.php, wordpress is at /wordpress)
    RewriteEngine On
    RewriteBase /
    RewriteRule ^archives/([0-9]{4})?/?([0-9]{1,2})?/?([0-9]{1,2})?/?([0-9a-z-]+)?/?([0-9]+)?/?$ /wordpress/index.php?year=$1&monthnum=$2&day=$3&name=$4&page=$5 [QSA]
    RewriteRule ^archives/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([0-9a-z-]+)/(feed|rdf|rss|rss2|atom)/?$ /wordpress/wp-feed.php?year=$1&monthnum=$2&day=$3&name=$4&feed=$5 [QSA]
    RewriteRule ^archives/([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})/([0-9a-z-]+)/trackback/?$ /wordpress/wp-trackback.php?year=$1&monthnum=$2&day=$3&name=$4 [QSA]
    RewriteRule ^archives/category/(.*)/(feed|rdf|rss|rss2|atom)/?$ /wordpress/wp-feed.php?category_name=$1&feed=$2 [QSA]
    RewriteRule ^archives/category/?(.*) /testbed/index.php?category_name=$1 [QSA]
    RewriteRule ^archives/author/(.*)/(feed|rdf|rss|rss2|atom)/?$ /wordpress/wp-feed.php?author_name=$1&feed=$2 [QSA]
    RewriteRule ^archives/author/?(.*) /wordpress/index.php?author_name=$1 [QSA]
    RewriteRule ^feed/?([0-9a-z-]+)?/?$ /wordpress/wp-feed.php?feed=$1 [QSA]
    RewriteRule ^comments/feed/?([0-9a-z-]+)?/?$ /wordpress/wp-feed.php?feed=$1&withcomments=1 [QSA]

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.