MathiasBynens
Forum Replies Created
-
Forum: Everything else WordPress
In reply to: .htaccess and exceptions…Say what?
The new mod_rewrite rules you used, which by the way will be the default in the new WordPress 1.6, should actually do the following for each request:
# Is the IRI a real file?
# If yes, then exit from the rewrite engine
RewriteCond %{REQUEST_FILENAME} !-f
# Is it the IRI a real directory?
# If yes, then exit from the rewrite engine
RewriteCond %{REQUEST_FILENAME} !-d
# Else prefix the request IRI with to /index.php (so WordPress will handle it internally, PHP-wise)
RewriteRule ^(.+)$ /index.php/$1So there shouldn’t be any problems.
Forum: Everything else WordPress
In reply to: Search Forum Now Using Google. Why?Add me to that list. If only we could choose wether to have our search processed by Google or by WP.org…
Forum: Fixing WordPress
In reply to: Stylesheets and templates confusionFatal error: Call to undefined function: wp_footer() […]
I got the same error with my custom theme. It can be fixed by replacing
<?php wp_footer(); ?>with<?php do_action('wp_footer'); ?>.Forum: Everything else WordPress
In reply to: Redirecting http://www to http://Ooh, old thread. Now that these forums work with tags, I thought I’d post my solution here as well; maybe this will help others.
Yeah, skippy,
$_SERVER['name']wouldn’t have worked, as that’s a fixed server variable, which won’t depend on wether you access a page using a no-www address or not. What I was looking for, appeared to be$_SERVER['HTTP_HOST']. Anyway, given this knowledge, I managed to write a PHP script that sends headers that redirect the browser to thewww.-less address and tell search engines like Google that the move is permanent, so they can update their indexes. And what’s even better is that there are also mod_rewrite rules available that do the same.Forum: Everything else WordPress
In reply to: Securing login.php with SSLPerhaps you could save your code as a text file on your web server, and then link to it from here? Anyway, I’m interested in knowing what’s going wrong with my lil’ plugin, so keep me updated.
Forum: Everything else WordPress
In reply to: WordPress Index Wont Show In I.EIt’s not the CSS, it’s not the MIME type, … Weird!
Forum: Everything else WordPress
In reply to: WordPress Index Wont Show In I.EWhat is the URI?
Forum: Plugins
In reply to: the trouble with “code”I’m afraid the widget doesn’t work anymore… I just get the same page (an empty form) returned after submitting my data.
Forum: Fixing WordPress
In reply to: Comments textareaIn fact, that method isn’t too semantically correct… You can read more about that in my post regarding textarea resizer JavaScripts.
Forum: Your WordPress
In reply to: a heavily modified WP siteLove the implementation of Fitts’s Law.
Forum: Your WordPress
In reply to: stevepsharpe.co.ukLooking neat! I do have a suggestion though: why not implement Fitts’s Law in that sidebar? (If you don’t know what I’m talking about.)
Forum: Plugins
In reply to: Kill the Post-less Comment SpamHmm, I knew how to manually delete data from a database… I just thought it would be cool if I got the above code to work.
Forum: Plugins
In reply to: Kill the Post-less Comment SpamI’m getting an error:
Error
SQL-query:
DELETE wp_comments FROM wp_comments C LEFT JOIN wp_posts P ON C.comment_post_ID = P.ID WHERE P.ID IS NULL
MySQL said:
#1064 - You have an error in your SQL syntax near 'wp_comments FROM wp_comments C LEFT JOIN wp_posts P ON C.comment_post_ID = P.ID' at line 1Any ideas?
Forum: Fixing WordPress
In reply to: Post(s) Number(s)ALTER TABLE wp_posts auto_increment = 0;
I’d like to know if there’s a way to have the “real” post number of a certain post displayed (not thepost_id) by the way… Is there?Forum: Your WordPress
In reply to: Pink Socks with less PinkHey, I liked the Photo Matt look!