Multiple permalinks
The old link (?p=378) will always work, and it will redirect to the “pretty” permalink.
The old link (?p=378) will always work, and it will redirect to the “pretty” permalink.
Don’t include %category% anywhere in your custom permalink string, then it won’t need the “attachment” text. Also, don’t use numeric slugs for the page/post name. Same basic problem occurs there.
You have to permanently delete the post from the trash to be able to use that permalink again. At the top of the pages list, where it says All, Published, Trash, click trash and then select permanently delete link for that page.
If I had to guess? The plugin activation hook is firing before the rewrite_rules_array filter is applied, resulting in the rules being flushed before you make changes to them. See here for the Codex-recommended implementation, using the wp_loaded action hook.
All ajax requests should be routed through the handy /wp-admin/admin-ajax.php file. It works with the great WP hooks system. So you send an “action” with your request and use that as part of the action into which you hook your function. So, let’s say your ajax call looks like this (with jQuery) jQuery(‘a.ajax’).click(function(e){ data = … Read more
The rules for Feedburner should come before the WordPress rules. And activate the rewrite engine just once. Thatโs enough. ๐ <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{HTTP_USER_AGENT} !FeedBurner [NC] RewriteCond %{HTTP_USER_AGENT} !FeedValidator [NC] RewriteRule ^feed/?([_0-9a-z-]+)?/?$ http://feeds.feedburner.com/ZoomingJapan [R=302,NC,L] RewriteRule ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule>
Jez, unpatient Jez ๐ <?php $args = array( ‘post_type’ => ‘attachment’, ‘numberposts’ => -1, ‘post_status’ => null, ‘post_parent’ => $post->ID ); $attachments = get_posts( $args ); if ( $attachments ) { foreach ( $attachments as $attachment ) { echo ‘<li> <a href=”‘. get_permalink($attachment->ID) .'” title=”Permanent Link to<?php the_title_attribute(); ?>”>’; echo wp_get_attachment_image( $attachment->ID, ‘full’ ); echo … Read more
On your wordpress menu use another class instead of “blog” for the blog item, cause your theme has a function that add a similar class to the body so it’s creating a conflict in there, try erasing your blog class for you to notice. Also the app.css if for ur custom css :), no need … Read more
Go to “Settings” -> “Permalink” page and set custom structure for permalinks equals to /news/%postname%.
I believe you may be over-thinking this. I don’t use comment author URLs very often, but if I’m not mistaken, the URL for the author of a comment is usually the website URL the user has set in their profile. I had the same issue once. The author didn’t have his own website, so he … Read more