Posts Tagged ‘Wordpress’

Getting the bubbl.us to produce xhtml strict valid code.

Friday, December 5th, 2008

I noticed there were some validation issues with the bubbl.us plugin earlier and decided to fix them so I could once again put a xhtml strict button on my blog (YAY).

I’m not going into the details, you can find my freshly source here: bubbl.us_embed

Wordpress with not-so-decent subdomain hosting.

Wednesday, June 11th, 2008

Like I posted some time ago, I had some problems resolving the rewrite engine when trying to access my kickstart page (http://vstone.eu/kickstart) and separating it from http://kickstart.vstone.org. I proposed a solution but that only worked half the time. It was a work around at the time, but it gave me some problems in the end. Since the check for the referer was in there, I couldn’t access my wordpress/wp-admin page anymore when using the link on the main page. This gave me a nice 404.

So, I decided to be smart about it, reset the .htaccess file in my root folder to the default one for wordpress and adjust a separate .htaccess file in the kickstart subfolder. It looks like this:

<IfModule mod_rewrite.c>
RewriteEngine On

# BEGIN WordPress
RewriteBase /kickstart/
RewriteCond %{HTTP_HOST} !^kickstart.vstone.org$ [NC]
RewriteRule . /index.php [L]
# END WordPress
</IfModule>

By setting the RewriteBase to /kickstart/, I’m already sure this rewrite condition will never match ‘http://kickstart.vstone.org/’. This could only give me problems when I have sth like http://kickstart.vstone.org/kickstart/. So, I also make sure that the HTTP_HOST never is kickstart.vstone.org.

After that, I can be pretty sure I can rewrite it to the index file used for wordpress.

A real Hello World.

Friday, March 21st, 2008

I’m writing this to make sure that the plugins I’m setting up are actually working. Let’s see how this goes:

/*
* A small test class to see how Geshi works this.
* Hope I won't have to tweak it too much...
*/
public class TestMarkup() {
 
  public static void main (String[] args) {
    System.out.println("Hello World");
  }
}