Endless Redirects Suddenly Disable Site

Looks like CloudFlare just went live. Any idea what the cause of the troubles is. It would sure be nice to have some kind of inocculation. Okay in that case, CloudFlare requires that you use the “Add WWW” option here. However, if your WordPress install isn’t told to do the same, they conflict and result … Read more

redirect second domain to static page

I think you should try to get it to work in some other way. It’s normal it doesn’t work, since the url from the page can’t be changed by the .htaccess, because the url is not your permalink but the new domain. Why not set the name server of the new url, to the old … Read more

A question about .htaccess

You can just add the .htaccess to the root of the website however be cautious as WordPress will have added it’s own if you have changed the link slug structure within the WordPress admin. In the htaccess file you should use 301 re-direction’s like so: redirect 301 /oldpage.asp http://www.thesite.com/newpage/ If it is a big site … Read more

Redirect after get_delete_post_link

I would create an AJAX Call from the delete post Link. First, register the AJAX function: add_action( ‘wp_ajax_wpse_delete_post’, ‘wpse_delete_post’ ); I would not add the AJAX function to the nopriv Users, but if you want every visitor of the site (ignoring capabilities) to be able to delete a post, you would have to add this … Read more

Change Category Slug Redirection

No, WordPress only handles changes of individual post slugs, by saving old slugs in post meta. You could try a plugin, like Redirection, to handle old category slug 301 redirects.