Update page breaks permalinks

I had tested it with all plugins off, and just as I was about to swap to 2011 I looked over all my custom taxonomies, which I coincidentally added around the 3.2.1 update. Lo and behold – I had foolishly added a ‘year’ taxonomy, changing that to ‘show-year’ seems to have licked it. Foolish mistake, … Read more

Remove Parents From Permalink of Hierarchical Taxonomy

Simply set to false ‘hierarchical’=>true from rewrite parameter in your register_taxonomy. It should looks like this: register_taxonomy(‘places’, ‘post’, array( // Hierarchical taxonomy ‘hierarchical’ => true, ‘labels’ => array( //here your labels ), // Control the slugs used for this taxonomy ‘rewrite’ => array( ‘slug’ => ‘places’, ‘with_front’ => false, // Don’t display the category base … Read more

WordPress permanent links not working (the weird way)

This happened probably because you have … Options +MultiViews … somewhere in your .htaccess or httpd.conf. If there is no directory /contact/ Apache will look for a file with this name and MultiViews matches partial files names. In general MultiViews and WordPress don’t work well together.

post preview/thumbnails not displaying correctly- linking to “home” instead of post?

It sounds like you need a second loop on your home page to call the 3 most recent posts. Try something like this: // Main home page content here <?php $my_query = new WP_Query( array( ‘posts_per_page’ => 3, ‘nopaging’ => true ) ); while ( $my_query->have_posts() ) : ( $my_query->the_post() ); ?> <div id=”preview”> <div … Read more

Keep permalinks in WordPress

The simple way is to not use the page ID in your permalink. In my WordPress settings, I can set it to take the title of the page as the permalink. In my example below, I use “Post name”.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)