Follow along with the video below to see how to install our site as a web app on your home screen.
Notă: This feature may not be available in some browsers.
RewriteEngine On
Redirect 301 /categorie/ http://site2.com/nouacategorie/
Nu vreau sa schimb categoria. De ex categoria plm are 1500 de postări. Toate aceste postări vreau sa le redirecționez către http://www.roforum.net/threads/redirect-toate-articolele-dintr-o-categorie.4063/Mai poti folosi acest code:
add_action('template_redirect', 'redirect_category_posts');
function redirect_category_posts() {
global $post;
if (is_single($post->ID) && in_category('categorie', $post)) {
$url = "http://adresa";
wp_redirect($url, 301);
exit;
}
}