wordpress-2004-03-08
-
Anonymous
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…
-
Did you redo the rewrite rules from the permalinks menu for the nightly (if this was an upgrade)?
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?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
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
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 🙂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]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.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.still nothing…. doesn’t work to me
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]Erk! Internal server error! 🙂
Rboren, I’m in irc if you can swing by there. Might facilitate things? 🙂[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 etcjust 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
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.
Ryanim 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
- The topic ‘wordpress-2004-03-08’ is closed to new replies.