Apache rewrite rules and wordpress problem

After weeks of fiddling around and trying all sorts of tricks, I finally figured it out. There we’re two things I was doing wrong, I wanted wordpress to be able to access get last two value’s in between slashes as GET parameters when an url like this /examentraining/vak/VAKNAME/LEVELNAME/ is submitted to WordPress. p=1316&vakname=VAKNAME&level=LEVELNAME => /examentraining/vak/VAKNAME/LEVELNAME/ … Read more

Using 2 URL’s for WordPress

You can define the URLs by constants added in your wp-config.php. I suppose you already set up your System in the way that both domains point to the same WordPress installation. Now the only thing you need to check is which Domain is actually used. Your WordPress installation contains the first URL in the database, … Read more

URL Rewrite Adjustment for Custom Post Type causes template to revert to index.php

The issue is that %month% isn’t a recognized rewrite tag. If you add the tag within your init action and flush permalinks, the query will succeed. function register_story_post_type(){ // your post type registration stuff here, and then… add_rewrite_tag( ‘%month%’,'([^&]+)’ ); } add_action(‘init’,’register_story_post_type’); There are also about a hundred ways you could otherwise clean up that … Read more