{"id":1013,"date":"2026-10-21T18:00:19","date_gmt":"2026-10-21T16:00:19","guid":{"rendered":"https:\/\/mywebfriend.net\/?p=1013"},"modified":"2026-10-21T18:03:03","modified_gmt":"2026-10-21T16:03:03","slug":"301-redirects-wordpress","status":"publish","type":"post","link":"https:\/\/mywebfriend.net\/en\/301-redirects-wordpress\/","title":{"rendered":"301 Redirects in WordPress: how to change URLs while reducing SEO risks"},"content":{"rendered":"<div class=\"fusion-fullwidth fullwidth-box fusion-builder-row-1 fusion-flex-container nonhundred-percent-fullwidth non-hundred-percent-height-scrolling\" style=\"--awb-border-radius-top-left:0px;--awb-border-radius-top-right:0px;--awb-border-radius-bottom-right:0px;--awb-border-radius-bottom-left:0px;--awb-flex-wrap:wrap;\" ><div class=\"fusion-builder-row fusion-row fusion-flex-align-items-flex-start fusion-flex-content-wrap\" style=\"max-width:1420.64px;margin-left: calc(-4% \/ 2 );margin-right: calc(-4% \/ 2 );\"><div class=\"fusion-layout-column fusion_builder_column fusion-builder-column-0 fusion_builder_column_1_1 1_1 fusion-flex-column\" style=\"--awb-bg-blend:overlay;--awb-bg-size:cover;--awb-width-large:100%;--awb-margin-top-large:0px;--awb-spacing-right-large:1.92%;--awb-margin-bottom-large:0px;--awb-spacing-left-large:1.92%;--awb-width-medium:100%;--awb-spacing-right-medium:1.92%;--awb-spacing-left-medium:1.92%;--awb-width-small:100%;--awb-spacing-right-small:1.92%;--awb-spacing-left-small:1.92%;\"><div class=\"fusion-column-wrapper fusion-flex-justify-content-flex-start fusion-content-layout-column\"><div class=\"fusion-text fusion-text-1\"><p>Changing a slug, merging two articles, or moving a site to a new domain can make URLs that have already been indexed, shared, or linked from other sites unusable. A <strong>301 redirect in WordPress<\/strong> indicates that the move is permanent and directs users and crawlers to the correct resource.<\/p>\n<p>A well-configured redirect does not guarantee unchanged traffic: after a URL change, Google must crawl, index, and consolidate signals again. The goal is to reduce 404 errors, backlink loss, redirect chains, and inconsistent SEO signals. Google explains the process in its guide to <a href=\"https:\/\/developers.google.com\/search\/docs\/crawling-indexing\/site-move-with-url-changes\">site moves with URL changes<\/a>.<\/p>\n<h2>Before changing URLs: create a destination map<\/h2>\n<p>The most important work happens before changing permalinks, SEO plugins, or server configuration. For every old URL, decide whether to keep it, redirect it to a relevant page, or remove it without a redirect.<\/p>\n<h3>Collect the URLs that matter<\/h3>\n<p>Start with the XML sitemap and supplement the list with pages found in Google Search Console, analytics, crawlers, server logs, and backlink reports. Prioritize URLs with organic traffic, impressions, conversions, active campaigns, or external links.<\/p>\n<p>Do not limit the review to posts and pages: a reorganization can also affect categories, tags, archives, child pages, PDFs, downloadable files, and images that receive direct links.<\/p>\n<h3>Create the old URL \u2192 new URL mapping<\/h3>\n<p>A spreadsheet makes decisions verifiable before publication. The match must be useful for users, not merely technically similar.<\/p>\n<div class=\"table-1\">\n<table style=\"width: 100%;\">\n<thead>\n<tr>\n<th>Old URL<\/th>\n<th>Destination<\/th>\n<th>Reason<\/th>\n<th>Method<\/th>\n<th>Test<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>\/guida-seo-wordpress\/<\/td>\n<td>\/seo-wordpress-guida-completa\/<\/td>\n<td>Updated slug, equivalent content<\/td>\n<td>Specific 301<\/td>\n<td>To be completed<\/td>\n<\/tr>\n<tr>\n<td>\/redirect-wordpress\/<\/td>\n<td>\/redirect-301-wordpress\/<\/td>\n<td>Consolidated article<\/td>\n<td>Specific 301<\/td>\n<td>To be completed<\/td>\n<\/tr>\n<tr>\n<td>\/vecchio-download.pdf<\/td>\n<td>\/risorse\/nuovo-download.pdf<\/td>\n<td>Replaced file<\/td>\n<td>Server-side 301<\/td>\n<td>To be completed<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>Where useful, add priority, owner, and release date. A pattern-based rule may be suitable only when the change is genuinely consistent; where there are exceptions, renamed paths, or merged content, URL-by-URL mapping is safer.<\/p>\n<h3>When not to use a 301 redirect<\/h3>\n<p>A removed page without a genuinely relevant replacement can return <strong>404 Not Found<\/strong> or, if the removal is deliberate and permanent, <strong>410 Gone<\/strong>. Avoid sending every deleted URL to the homepage: that destination often does not satisfy the original request and may be interpreted by search engines as a soft 404.<\/p>\n<p>A single destination page is appropriate, however, when several pieces of content have genuinely been merged into a guide that covers their intent.<\/p>\n<h2>301, 308, 302, 307, 404, 410, and 503: which response to use<\/h2>\n<p>The HTTP status code must describe the actual situation. Google considers 301 and 308 strong canonicalization signals; for standard WordPress pages moved permanently, 301 remains the most common choice. For an overview of redirect behavior, see the <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/HTTP\/Guides\/Redirections\">MDN documentation<\/a>.<\/p>\n<div class=\"table-1\">\n<table style=\"width: 100%;\">\n<thead>\n<tr>\n<th>Code<\/th>\n<th>When to use it<\/th>\n<th>Typical use in WordPress<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>301<\/td>\n<td>Permanent move<\/td>\n<td>Slug, permalink, consolidation, domain, or HTTP\u2192HTTPS change<\/td>\n<\/tr>\n<tr>\n<td>308<\/td>\n<td>Permanent move with explicit preservation of method and body<\/td>\n<td>Technical or API contexts; rarely necessary for standard GET pages<\/td>\n<\/tr>\n<tr>\n<td>302<\/td>\n<td>Temporary move to an alternative resource<\/td>\n<td>Testing or a temporary replacement of a page with a relevant destination<\/td>\n<\/tr>\n<tr>\n<td>307<\/td>\n<td>Temporary move with method preservation<\/td>\n<td>Specific application requirements<\/td>\n<\/tr>\n<tr>\n<td>404<\/td>\n<td>Resource not found, with no useful replacement<\/td>\n<td>Deleted page<\/td>\n<\/tr>\n<tr>\n<td>410<\/td>\n<td>Resource permanently removed<\/td>\n<td>Intentional removal of content<\/td>\n<\/tr>\n<tr>\n<td>503<\/td>\n<td>Temporary unavailability with no replacement page<\/td>\n<td>Maintenance; may be accompanied by the Retry-After header<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>A 302 or 307 is not an alternative for a permanent migration. If a page or site is unavailable only for maintenance and there is no replacement destination, a 503 response is preferable to a redirect.<\/p>\n<h2>The most common WordPress scenarios<\/h2>\n<h3>Changing a post or page slug<\/h3>\n<p>If <code>\/guida-seo-wordpress\/<\/code> becomes <code>\/seo-wordpress-guida-completa\/<\/code>, create a 301 from the first URL to the second. WordPress may attempt to recover some old slugs through <a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/wp_old_slug_redirect\/\">wp_old_slug_redirect()<\/a>, but this should not be treated as a migration plan: it does not necessarily cover every post type, hierarchical structure, or path change.<\/p>\n<p>For strategic URLs with traffic or backlinks, verify the actual response and define an explicit rule where necessary. The <a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/redirect_canonical\/\">redirect_canonical()<\/a> mechanism, which normalizes some canonical variants, serves a different purpose and does not replace mapping.<\/p>\n<h3>Changing the permalink structure, categories, and hierarchical pages<\/h3>\n<p>Saving settings under <strong>Settings \u2192 Permalinks<\/strong> regenerates rewrite rules, but it does not automatically build a reliable match between all old and new URLs. Moving from <code>\/2024\/07\/15\/articolo\/<\/code> to <code>\/articolo\/<\/code>, for example, requires separate checks for posts, taxonomies, archives, pagination, attachments, and exception URLs. WordPress documentation on <a href=\"https:\/\/wordpress.org\/documentation\/article\/settings-permalinks-screen\/\">permalinks<\/a> does not replace this verification.<\/p>\n<p>Also check hierarchical pages: changing the parent page or a category slug changes paths that may already be indexed.<\/p>\n<h3>Merging overlapping articles<\/h3>\n<p>If <code>\/redirect-wordpress\/<\/code>, <code>\/redirect-301-wordpress\/<\/code>, and <code>\/come-fare-redirect-301\/<\/code> address the same need, retain and improve one main page, first moving over useful content from the others. Only then can the removed URLs point with a 301 to the retained guide.<\/p>\n<h3>Changing domains and WooCommerce products<\/h3>\n<p>When changing domains, prepare the mapping and enable permanent server-side redirects. Then update canonicals, the sitemap, and internal links. The <a href=\"https:\/\/support.google.com\/webmasters\/answer\/9370220?hl=en\">Change of Address tool in Search Console<\/a> is intended for moves to another domain or subdomain; it is not needed for a hosting change without URL changes, internal moves within the same domain, HTTP\u2192HTTPS, or www\/non-www changes.<\/p>\n<p>For WooCommerce, export product URLs and compare them after every permalink structure change. Also check product feeds, Merchant Center, campaigns, and promotional links. Available options are documented in the guide to <a href=\"https:\/\/woocommerce.com\/document\/permalinks\/\">WooCommerce permalinks<\/a>.<\/p>\n<h2>How to create a 301 redirect: plugin, .htaccess, Nginx, or PHP<\/h2>\n<div class=\"table-1\">\n<table style=\"width: 100%;\">\n<thead>\n<tr>\n<th>Method<\/th>\n<th>Best for<\/th>\n<th>Benefits and considerations<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Plugin<\/td>\n<td>Redirects managed from the WordPress dashboard<\/td>\n<td>Suitable for specific rules, imports, and checks without server access.<\/td>\n<\/tr>\n<tr>\n<td>Apache .htaccess<\/td>\n<td>Specific redirects or controlled patterns<\/td>\n<td>Runs at server level. A syntax error can create loops or a 500 error.<\/td>\n<\/tr>\n<tr>\n<td>Nginx<\/td>\n<td>Centralized configurations and domain changes<\/td>\n<td>Requires access to the configuration and a controlled reload.<\/td>\n<\/tr>\n<tr>\n<td>PHP\/WordPress<\/td>\n<td>Highly specific application logic<\/td>\n<td>Not the default choice for extensive migrations.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<p>\u00a0<\/p>\n<h3>Creating a rule with a WordPress plugin<\/h3>\n<p>To manage mapping from the dashboard, you can use a dedicated plugin such as <a href=\"https:\/\/wordpress.org\/plugins\/redirection\/\">Redirection<\/a>. After installation and activation, open its redirect management screen and create a new rule: enter the old path in the source field, the destination path or URL in the target field, and select the <strong>301<\/strong> status code.<\/p>\n<p>Save the rule and test it immediately in an incognito window or with <code>curl<\/code>. For many URLs, import the mapping as a CSV using the format required by the plugin, then check a representative sample before considering the migration complete. Avoid creating the same rule in an SEO plugin, a dedicated plugin, and the server: overlap can create chains or results that are difficult to diagnose.<\/p>\n<h3>Specific redirect with Apache<\/h3>\n<p>In a <code>.htaccess<\/code> file, the <code>RewriteRule<\/code> pattern normally does not begin with <code>\/<\/code>. To redirect a single guide:<\/p>\n<pre><code>RewriteEngine On\r\nRewriteRule ^vecchia-guida\/?$ \/nuova-guida\/ [R=301,L]<\/code><\/pre>\n<p>Global rules for changing complex permalink structures require testing on staging and a real URL list, because an overly broad regex can match paths that should not change. Where necessary, place rules before the standard WordPress rules. The syntax and behavior of <code>RewriteRule<\/code> are described in the <a href=\"https:\/\/httpd.apache.org\/docs\/current\/rewrite\/intro.html\">Apache mod_rewrite documentation<\/a>.<\/p>\n<h3>Changing domains with Nginx<\/h3>\n<p>If paths remain identical on the new domain, the redirect must cover both HTTP and HTTPS for the old domain, with and without <code>www<\/code>. An HTTPS virtual host requires a valid certificate for the old host:<\/p>\n<pre><code>server <\/code><\/pre>\n<pre><code>server <\/code><\/pre>\n<p>Replace the certificate paths with the actual ones and adapt the configuration to your CDN, reverse proxy, and hosting setup. If the structure, languages, or sections change, use specific mappings or selective patterns. The <code>return<\/code> directive is documented by <a href=\"https:\/\/nginx.org\/en\/docs\/http\/ngx_http_rewrite_module.html\">Nginx<\/a>.<\/p>\n<h3>When to avoid PHP<\/h3>\n<p>A PHP redirect is appropriate only for conditions that cannot be expressed at server or plugin level. <a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/wp_redirect\/\"><code>wp_redirect()<\/code><\/a> does not automatically stop execution and normally requires <code>exit;<\/code>. For local redirects, <a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/wp_safe_redirect\/\"><code>wp_safe_redirect()<\/code><\/a> adds a check for the allowed host.<\/p>\n<h2>Publish and verify the result<\/h2>\n<p>At launch, the links you control should point directly to the new URL: update links in content, menus, breadcrumbs, CTAs, forms, feeds, and campaigns. The new page must return 200 and have a self-referencing canonical; the XML sitemap must contain only current canonical URLs. Redirects and canonicals are complementary signals, as Google explains in its documentation on <a href=\"https:\/\/developers.google.com\/search\/docs\/crawling-indexing\/consolidate-duplicate-urls?authuser=2\">consolidating duplicate URLs<\/a>.<\/p>\n<p>Check headers directly, because browsers and caches can hide chains:<\/p>\n<pre><code>curl -I https:\/\/www.example.it\/vecchia-url\/\r\ncurl -IL https:\/\/www.example.it\/vecchia-url\/<\/code><\/pre>\n<p>The expected result is <code>301 \u2192 200<\/code>, with the <code>Location<\/code> header pointing to the intended page. Fix chains such as <code>301 \u2192 301 \u2192 200<\/code>, destinations returning <code>301 \u2192 404<\/code>, loops, and unnecessary intermediate steps. Also check canonicals, indexability, and the behavior of forms, products, analytics, and conversions. Query strings require an explicit decision: tracking parameters, filters, or applications may need to be retained.<\/p>\n<p>In the following weeks, monitor Search Console, URL Inspection, 404 reports, crawlers, server logs, organic traffic, and conversions. Google generally recommends keeping redirects for at least one year during a move; for URLs that still receive visits or backlinks, it is prudent to keep them longer. The reliable sequence remains: approve the mapping, publish new pages and redirects, verify headers, and monitor the data.<\/p>\n<\/div><\/div><\/div><\/div><\/div>\n","protected":false},"excerpt":{"rendered":"<p>How to plan, create, and verify 301 redirects in WordPress during permalink changes, content consolidations, and migrations.<\/p>\n","protected":false},"author":1,"featured_media":828,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[],"class_list":["post-1013","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-software-and-tools"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>301 Redirects in WordPress: safe URL changes<\/title>\n<meta name=\"description\" content=\"Learn how to set up 301 redirects in WordPress for changed URLs, slugs and domains. Avoid redirect chains, 404 errors and common SEO migration mistakes.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/mywebfriend.net\/en\/301-redirects-wordpress\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"301 Redirects in WordPress: safe URL changes\" \/>\n<meta property=\"og:description\" content=\"Learn how to set up 301 redirects in WordPress for changed URLs, slugs and domains. Avoid redirect chains, 404 errors and common SEO migration mistakes.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/mywebfriend.net\/en\/301-redirects-wordpress\/\" \/>\n<meta property=\"og:site_name\" content=\"My Web Friend\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/mywebfriend\/\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-21T16:00:19+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-10-21T16:03:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/mywebfriend.net\/wp-content\/uploads\/2026\/09\/redirect-301-con-wordpress.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1536\" \/>\n\t<meta property=\"og:image:height\" content=\"1024\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Enrico\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Enrico\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/mywebfriend.net\\\/en\\\/301-redirects-wordpress\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/mywebfriend.net\\\/en\\\/301-redirects-wordpress\\\/\"},\"author\":{\"name\":\"Enrico\",\"@id\":\"https:\\\/\\\/mywebfriend.net\\\/en\\\/#\\\/schema\\\/person\\\/76f8f72569d3bd0232e1876e430032e2\"},\"headline\":\"301 Redirects in WordPress: how to change URLs while reducing SEO risks\",\"datePublished\":\"2026-10-21T16:00:19+00:00\",\"dateModified\":\"2026-10-21T16:03:03+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/mywebfriend.net\\\/en\\\/301-redirects-wordpress\\\/\"},\"wordCount\":1572,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/mywebfriend.net\\\/en\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/mywebfriend.net\\\/en\\\/301-redirects-wordpress\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/mywebfriend.net\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/redirect-301-con-wordpress.jpg\",\"articleSection\":[\"Software &amp; Tools\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/mywebfriend.net\\\/en\\\/301-redirects-wordpress\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/mywebfriend.net\\\/en\\\/301-redirects-wordpress\\\/\",\"url\":\"https:\\\/\\\/mywebfriend.net\\\/en\\\/301-redirects-wordpress\\\/\",\"name\":\"301 Redirects in WordPress: safe URL changes\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/mywebfriend.net\\\/en\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/mywebfriend.net\\\/en\\\/301-redirects-wordpress\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/mywebfriend.net\\\/en\\\/301-redirects-wordpress\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/mywebfriend.net\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/redirect-301-con-wordpress.jpg\",\"datePublished\":\"2026-10-21T16:00:19+00:00\",\"dateModified\":\"2026-10-21T16:03:03+00:00\",\"description\":\"Learn how to set up 301 redirects in WordPress for changed URLs, slugs and domains. Avoid redirect chains, 404 errors and common SEO migration mistakes.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/mywebfriend.net\\\/en\\\/301-redirects-wordpress\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/mywebfriend.net\\\/en\\\/301-redirects-wordpress\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/mywebfriend.net\\\/en\\\/301-redirects-wordpress\\\/#primaryimage\",\"url\":\"https:\\\/\\\/mywebfriend.net\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/redirect-301-con-wordpress.jpg\",\"contentUrl\":\"https:\\\/\\\/mywebfriend.net\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/redirect-301-con-wordpress.jpg\",\"width\":1536,\"height\":1024,\"caption\":\"redirect 301 con wordpress\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/mywebfriend.net\\\/en\\\/301-redirects-wordpress\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/mywebfriend.net\\\/en\\\/home\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"301 Redirects in WordPress: how to change URLs while reducing SEO risks\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/mywebfriend.net\\\/en\\\/#website\",\"url\":\"https:\\\/\\\/mywebfriend.net\\\/en\\\/\",\"name\":\"MyWebFriend\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/mywebfriend.net\\\/en\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/mywebfriend.net\\\/en\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/mywebfriend.net\\\/en\\\/#organization\",\"name\":\"Linktotheworld di Enrico Cecchini\",\"url\":\"https:\\\/\\\/mywebfriend.net\\\/en\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/mywebfriend.net\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/mywebfriend.net\\\/wp-content\\\/uploads\\\/2019\\\/11\\\/Logo.png\",\"contentUrl\":\"https:\\\/\\\/mywebfriend.net\\\/wp-content\\\/uploads\\\/2019\\\/11\\\/Logo.png\",\"width\":374,\"height\":80,\"caption\":\"Linktotheworld di Enrico Cecchini\"},\"image\":{\"@id\":\"https:\\\/\\\/mywebfriend.net\\\/en\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/mywebfriend\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/mywebfriend.net\\\/en\\\/#\\\/schema\\\/person\\\/76f8f72569d3bd0232e1876e430032e2\",\"name\":\"Enrico\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3eee2cadfe4f77db730fd867e283553dbb7ca707ca7553759655798d7e874092?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3eee2cadfe4f77db730fd867e283553dbb7ca707ca7553759655798d7e874092?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3eee2cadfe4f77db730fd867e283553dbb7ca707ca7553759655798d7e874092?s=96&d=mm&r=g\",\"caption\":\"Enrico\"},\"description\":\"Ciao, mi chiamo Enrico Cecchini, ho sempre avuto la passione dei computer, fin da quando ero piccolo. Ho fatto di questa passione la mia professione e dopo aver conseguito la laurea in ingegneria informatica ho iniziato a sviluppare siti web. Ho creato Mywebfriend per aiutare a risolvere dubbi e problemi che nascono utilizzando il computer.\",\"url\":\"https:\\\/\\\/mywebfriend.net\\\/en\\\/author\\\/enrico-cecchini\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"301 Redirects in WordPress: safe URL changes","description":"Learn how to set up 301 redirects in WordPress for changed URLs, slugs and domains. Avoid redirect chains, 404 errors and common SEO migration mistakes.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/mywebfriend.net\/en\/301-redirects-wordpress\/","og_locale":"en_US","og_type":"article","og_title":"301 Redirects in WordPress: safe URL changes","og_description":"Learn how to set up 301 redirects in WordPress for changed URLs, slugs and domains. Avoid redirect chains, 404 errors and common SEO migration mistakes.","og_url":"https:\/\/mywebfriend.net\/en\/301-redirects-wordpress\/","og_site_name":"My Web Friend","article_publisher":"https:\/\/www.facebook.com\/mywebfriend\/","article_published_time":"2026-10-21T16:00:19+00:00","article_modified_time":"2026-10-21T16:03:03+00:00","og_image":[{"width":1536,"height":1024,"url":"https:\/\/mywebfriend.net\/wp-content\/uploads\/2026\/09\/redirect-301-con-wordpress.jpg","type":"image\/jpeg"}],"author":"Enrico","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Enrico","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/mywebfriend.net\/en\/301-redirects-wordpress\/#article","isPartOf":{"@id":"https:\/\/mywebfriend.net\/en\/301-redirects-wordpress\/"},"author":{"name":"Enrico","@id":"https:\/\/mywebfriend.net\/en\/#\/schema\/person\/76f8f72569d3bd0232e1876e430032e2"},"headline":"301 Redirects in WordPress: how to change URLs while reducing SEO risks","datePublished":"2026-10-21T16:00:19+00:00","dateModified":"2026-10-21T16:03:03+00:00","mainEntityOfPage":{"@id":"https:\/\/mywebfriend.net\/en\/301-redirects-wordpress\/"},"wordCount":1572,"commentCount":0,"publisher":{"@id":"https:\/\/mywebfriend.net\/en\/#organization"},"image":{"@id":"https:\/\/mywebfriend.net\/en\/301-redirects-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/mywebfriend.net\/wp-content\/uploads\/2026\/09\/redirect-301-con-wordpress.jpg","articleSection":["Software &amp; Tools"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/mywebfriend.net\/en\/301-redirects-wordpress\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/mywebfriend.net\/en\/301-redirects-wordpress\/","url":"https:\/\/mywebfriend.net\/en\/301-redirects-wordpress\/","name":"301 Redirects in WordPress: safe URL changes","isPartOf":{"@id":"https:\/\/mywebfriend.net\/en\/#website"},"primaryImageOfPage":{"@id":"https:\/\/mywebfriend.net\/en\/301-redirects-wordpress\/#primaryimage"},"image":{"@id":"https:\/\/mywebfriend.net\/en\/301-redirects-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/mywebfriend.net\/wp-content\/uploads\/2026\/09\/redirect-301-con-wordpress.jpg","datePublished":"2026-10-21T16:00:19+00:00","dateModified":"2026-10-21T16:03:03+00:00","description":"Learn how to set up 301 redirects in WordPress for changed URLs, slugs and domains. Avoid redirect chains, 404 errors and common SEO migration mistakes.","breadcrumb":{"@id":"https:\/\/mywebfriend.net\/en\/301-redirects-wordpress\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/mywebfriend.net\/en\/301-redirects-wordpress\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/mywebfriend.net\/en\/301-redirects-wordpress\/#primaryimage","url":"https:\/\/mywebfriend.net\/wp-content\/uploads\/2026\/09\/redirect-301-con-wordpress.jpg","contentUrl":"https:\/\/mywebfriend.net\/wp-content\/uploads\/2026\/09\/redirect-301-con-wordpress.jpg","width":1536,"height":1024,"caption":"redirect 301 con wordpress"},{"@type":"BreadcrumbList","@id":"https:\/\/mywebfriend.net\/en\/301-redirects-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/mywebfriend.net\/en\/home\/"},{"@type":"ListItem","position":2,"name":"301 Redirects in WordPress: how to change URLs while reducing SEO risks"}]},{"@type":"WebSite","@id":"https:\/\/mywebfriend.net\/en\/#website","url":"https:\/\/mywebfriend.net\/en\/","name":"MyWebFriend","description":"","publisher":{"@id":"https:\/\/mywebfriend.net\/en\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/mywebfriend.net\/en\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/mywebfriend.net\/en\/#organization","name":"Linktotheworld di Enrico Cecchini","url":"https:\/\/mywebfriend.net\/en\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/mywebfriend.net\/en\/#\/schema\/logo\/image\/","url":"https:\/\/mywebfriend.net\/wp-content\/uploads\/2019\/11\/Logo.png","contentUrl":"https:\/\/mywebfriend.net\/wp-content\/uploads\/2019\/11\/Logo.png","width":374,"height":80,"caption":"Linktotheworld di Enrico Cecchini"},"image":{"@id":"https:\/\/mywebfriend.net\/en\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/mywebfriend\/"]},{"@type":"Person","@id":"https:\/\/mywebfriend.net\/en\/#\/schema\/person\/76f8f72569d3bd0232e1876e430032e2","name":"Enrico","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/3eee2cadfe4f77db730fd867e283553dbb7ca707ca7553759655798d7e874092?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/3eee2cadfe4f77db730fd867e283553dbb7ca707ca7553759655798d7e874092?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3eee2cadfe4f77db730fd867e283553dbb7ca707ca7553759655798d7e874092?s=96&d=mm&r=g","caption":"Enrico"},"description":"Ciao, mi chiamo Enrico Cecchini, ho sempre avuto la passione dei computer, fin da quando ero piccolo. Ho fatto di questa passione la mia professione e dopo aver conseguito la laurea in ingegneria informatica ho iniziato a sviluppare siti web. Ho creato Mywebfriend per aiutare a risolvere dubbi e problemi che nascono utilizzando il computer.","url":"https:\/\/mywebfriend.net\/en\/author\/enrico-cecchini\/"}]}},"wpml_language":"en","wpml_trid":835,"wpml_translations":{"it":824,"en":1013},"_links":{"self":[{"href":"https:\/\/mywebfriend.net\/en\/wp-json\/wp\/v2\/posts\/1013","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mywebfriend.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mywebfriend.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mywebfriend.net\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mywebfriend.net\/en\/wp-json\/wp\/v2\/comments?post=1013"}],"version-history":[{"count":3,"href":"https:\/\/mywebfriend.net\/en\/wp-json\/wp\/v2\/posts\/1013\/revisions"}],"predecessor-version":[{"id":1055,"href":"https:\/\/mywebfriend.net\/en\/wp-json\/wp\/v2\/posts\/1013\/revisions\/1055"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mywebfriend.net\/en\/wp-json\/wp\/v2\/media\/828"}],"wp:attachment":[{"href":"https:\/\/mywebfriend.net\/en\/wp-json\/wp\/v2\/media?parent=1013"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mywebfriend.net\/en\/wp-json\/wp\/v2\/categories?post=1013"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mywebfriend.net\/en\/wp-json\/wp\/v2\/tags?post=1013"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}