{"id":189,"date":"2025-04-08T11:00:00","date_gmt":"2025-04-08T11:00:00","guid":{"rendered":"https:\/\/dynamicseopro.com\/news\/how-to-create-a-301-redirect-in-wordpress\/"},"modified":"2025-04-08T11:00:00","modified_gmt":"2025-04-08T11:00:00","slug":"how-to-create-a-301-redirect-in-wordpress","status":"publish","type":"post","link":"https:\/\/dynamicseopro.com\/news\/how-to-create-a-301-redirect-in-wordpress\/","title":{"rendered":"How to create a 301 redirect in WordPress"},"content":{"rendered":"<p>Do you need to create a 301 redirect in your WordPress site? You\u2019ve come to the right place! We\u2019ll show you how to set up 301 redirects using three methods. Do you know if you need to use a redirect or whether a 301 redirect is right? No worries, we\u2019ll explain that, too.<\/p>\n<h2 class=\"wp-block-heading\" id=\"h-redirects-in-a-nutshell\">Redirects in a nutshell<\/h2>\n<p>The name \u2018redirect\u2019 says it all: It sends visitors\u00a0traveling\u00a0from a specific page\u00a0to an alternative\u00a0one instead. Or, if there\u2019s no alternative, an HTTP header (similar to redirects) can make that clear to users and search engines. It\u2019s like registering a change of address when you move house. What if an old friend visits your old home to visit you? A redirect is like a front door note telling your visitors where you live now. Any time you change a URL or delete a page, you should think about redirects.<\/p>\n<p>Different redirects serve different purposes. Since this post is all about 301 redirects, let\u2019s look at some situations where you might need to use one.<\/p>\n<h2 class=\"wp-block-heading\">When should you use a 301 redirect?<\/h2>\n<p>A 301 redirect should be used when:<\/p>\n<ul class=\"wp-block-list\">\n<li>You\u2019ve permanently deleted a page on your site, but you have another similar page you want to send users to instead<\/li>\n<li>You\u2019ve changed the URL of a page that was already published<\/li>\n<li>You\u2019re moving your site to a new domain<\/li>\n<li>You\u2019re changing your URL structure, e.g. changing from HTTP to HTTPS, or removing \u2018www\u2019 from the start of your URL<\/li>\n<\/ul>\n<p>These are some of the more common reasons for using a 301 redirect, but other situations require redirecting, too. And besides that, there are other redirects and HTTP headers you can use in other situations. For instance, if you permanently delete a page and there is no suitable replacement or substitute you can send users to, then a 410 redirect is what you need to use. We have another post where you can read more about <a href=\"https:\/\/yoast.com\/which-redirect\/\">which redirects to use in which situations<\/a>.<\/p>\n<h2 class=\"wp-block-heading\" id=\"h-option-1-create-a-301-redirect-nbsp-on-the-server\">Option 1: Create a 301 redirect\u00a0on the server<\/h2>\n<p>To set up a 301 redirect using <code>.htaccess<\/code> for the given example URLs, you need to add a specific line to your site\u2019s <code>.htaccess<\/code> file, which is located in the root directory of your WordPress installation. Here\u2019s how you can do it:<\/p>\n<ol class=\"wp-block-list\">\n<li><strong>Access your server<\/strong>. Access your site\u2019s files using an FTP client or your web host\u2019s file manager. You can also access and <a href=\"https:\/\/yoast.com\/help\/how-to-edit-htaccess-through-yoast-seo\/\">edit your .htaccess file from inside the Yoast SEO tools section<\/a>.<\/li>\n<li><strong>Locate the .htaccess file:<\/strong> The <code>.htaccess<\/code> file is usually in the root directory of your WordPress installation.<\/li>\n<li><strong>Edit the .htaccess file:<\/strong> Open the <code>.htaccess<\/code> file with a text editor.<\/li>\n<li><strong>Add the redirect rule:<\/strong> Insert the following line at the end of the file to create the redirect. This rule indicates that requests to <code>\/page-1<\/code> should be permanently redirected to <code>\/page-2<\/code>.<\/li>\n<\/ol>\n<pre class=\"wp-block-code\"><code>Redirect 301 \/page-1 \/page-2<\/code><\/pre>\n<ol start=\"5\" class=\"wp-block-list\">\n<li><strong>Save changes<\/strong>: If you use an FTP client, save your changes to the .htaccess file and upload them back to your server.<\/li>\n<\/ol>\n<p>Using this rule, any request to <code>https:\/\/example.com\/page-1<\/code> will be permanently redirected to <code>https:\/\/example.com\/page-2<\/code>. The <code>301<\/code> status code indicates to search engines and browsers that the redirect is permanent. Note that this approach assumes the URLs follow the format <code>\/page-1<\/code> and <code>\/page-2<\/code> without additional subdirectories. You can adjust the path if your URLs are different.<\/p>\n<p>These configurations can become unmaintainable over time, especially if you\u2019re an avid blogger trying to improve your posts\u2019 SEO. You must also log in to your server over FTP, edit the files, and re-upload them whenever you add a new redirect. That\u2019s why, generally speaking, this method is not considered the way to go.<\/p>\n<h2 class=\"wp-block-heading\" id=\"h-option-2-create-a-301-redirect-with-cloudflare\">Option 2: Create a 301 redirect\u00a0with Cloudflare<\/h2>\n<p>Most of us already use <a href=\"https:\/\/cloudflare.com\">Cloudflare<\/a> in one form or another, so you know that it offers a wide array of tools to help our websites perform. For instance, it comes with a Rules feature where you can set various options related to your website cache. You can also find various redirect options here; this will help you guide up redirects for everything from HTTP to HTTPS to single redirects for individual pages.<\/p>\n<p>It\u2019s easy to set up redirects through Cloudflare. Here\u2019s how that works:<\/p>\n<ol class=\"wp-block-list\">\n<li><strong>Log into your Cloudflare account:<\/strong> Go to the <a href=\"https:\/\/dash.cloudflare.com\/\">Cloudflare dashboard<\/a> and select your account and domain. Then, select Rules and Overview.<\/li>\n<li><strong>Create a redirect rule:<\/strong> Select Create rule and then choose Redirect Rule. In the Rule name field, you might name it something like <code>Redirect Page 1 to Page 2<\/code>.<\/li>\n<li><strong>Define the matching criteria:<\/strong>  Set a wildcard pattern and set the Request URL to <code>https:\/\/example.com\/page-1<\/code>. This means any traffic to <code>example.com\/page-1<\/code> will be matched for redirection<\/li>\n<li><strong>Set the redirect parameters:<\/strong>\n<ul class=\"wp-block-list\">\n<li><strong>Target URL:<\/strong> Enter <code>https:\/\/example.com\/page-2<\/code> as the redirect destination.<\/li>\n<li><strong>Status code:<\/strong> Select <code>301<\/code> to indicate a permanent redirect.<\/li>\n<li><strong>Preserve query string:<\/strong> Decide based on your preference; enable this option if the original URL\u2019s query string should be retained. When you choose to preserve the query string in a redirect, you keep any additional parameters that may be included in the original URL when redirecting to the new URL. Preserving the query string is often useful for tracking purposes, like retaining analytics or advertising parameters, ensuring that useful data isn\u2019t lost during redirection.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Deploy the rule:<\/strong><br \/>Click Deploy to save and activate the redirect.<\/li>\n<\/ol>\n<p>Now, whenever someone visits <code>https:\/\/example.com\/page-1<\/code>, they will be redirected to <code>https:\/\/example.com\/page-2<\/code> with a 301 status code, indicating a permanent move.<\/p>\n<p>You can efficiently manage traffic without touching your server configuration by setting up redirects via Cloudflare. It provides flexibility for using simple patterns or more complex URL structures.<\/p>\n<figure class=\"wp-block-image size-full\"><figcaption class=\"wp-element-caption\">Cloudflare offers essential tools to manage the performance of your website<\/figcaption><\/figure>\n<h2 class=\"wp-block-heading\" id=\"h-option-3-create-a-301-redirect-the-easy-way-with-yoast-seo\">Option 3: Create a 301 redirect the easy way with Yoast SEO<\/h2>\n<p>Our <a href=\"https:\/\/yoast.com\/wordpress\/plugins\/seo\/\">Yoast SEO Premium plugin<\/a> offers you a helping hand when it comes to creating these redirects. Our built-in <a href=\"https:\/\/yoast.com\/features\/redirect-manager\/\">redirect manager<\/a> assists you whenever you change the URL of a post, page, or any taxonomies that may result in a possible 404 if you don\u2019t properly redirect visitors. In addition, we also offer you an interface to edit or remove these redirects at a later point in time.\u00a0The plugin\u00a0also tells you when you\u2019re about to create a redirect that will result in a <a href=\"https:\/\/en.wikipedia.org\/wiki\/URL_redirection#Redirect_loops\" target=\"_blank\" rel=\"noreferrer noopener\">redirect loop<\/a>. This looping is something you want to avoid at all costs.<\/p>\n<p>Here\u2019s how you can set up a 301 redirect using Yoast SEO Premium in WordPress:<\/p>\n<ol class=\"wp-block-list\">\n<li><strong>Access the Yoast SEO settings:<\/strong> Log into your WordPress admin area and navigate to the Yoast SEO section.<\/li>\n<li><strong>Open the Redirect Manager:<\/strong> Go to the Redirects feature in Yoast SEO Premium.<\/li>\n<li><strong>Add a new redirect:<\/strong> Follow the steps below to create a new rule.\n<ul class=\"wp-block-list\">\n<li>In the <strong>Old URL<\/strong> field, enter <code>\/page-1<\/code> as the source path.<\/li>\n<li>In the <strong>New URL<\/strong> field, enter the destination <code>\/page-2<\/code> as the complete new URL.<\/li>\n<li>Choose a <strong>301 (Moved Permanently)<\/strong> from the list of redirect types.<\/li>\n<\/ul>\n<\/li>\n<li><strong>Save the Redirect:<\/strong> Click <strong>Add redirect<\/strong>, and Yoast SEO will handle the redirection.<\/li>\n<\/ol>\n<p>Yoast SEO Premium also offers an option to automatically redirect deleted content. When you delete a page or post, Yoast SEO prompts you to set up a redirect to avoid broken links. This ensures visitors and search engines won\u2019t encounter 404 errors and are smoothly directed to a relevant page.<\/p>\n<p>These features are part of Yoast SEO Premium, designed to make managing redirects straightforward without manually altering code or server settings. They keep your site user-friendly and help maintain SEO performance by preventing dead links.<\/p>\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" loading=\"lazy\" width=\"1654\" height=\"882\" src=\"https:\/\/yoast.com\/app\/uploads\/2019\/11\/add-redirects.png\" alt=\"Lead Manager Agency \" class=\"content-visible wp-image-3249635\"><figcaption class=\"wp-element-caption\">Adding a redirect with Yoast SEO Premium is very easy<\/figcaption><\/figure>\n<h2 class=\"wp-block-heading\" id=\"h-conclusion\">Conclusion<\/h2>\n<p>Understanding how to set up 301 redirects is essential for maintaining your website\u2019s integrity and user experience. Whether you choose Cloudflare, Yoast SEO Premium, or the .htaccess method, each approach offers a simple solution to guide visitors to the right place, preventing 404 errors and keeping your SEO rankings intact. Smoothly transitioning traffic from old links to new ones enhances usability and search visibility. Choose the best method that suits your needs and keeps your website running smoothly.<\/p>\n<p class=\"readmore\">Read more: <a data-prefix=\"Read more\" href=\"https:\/\/yoast.com\/deleting-pages-from-your-site\/\">How to properly delete pages from your site \u00bb<\/a><\/p>\n<p>The post <a href=\"https:\/\/yoast.com\/create-301-redirect-wordpress\/\">How to create a 301 redirect in WordPress<\/a> appeared first on <a href=\"https:\/\/yoast.com\">Yoast<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Do you need to create a 301 redirect in your WordPress site? You\u2019ve come to the right place! We\u2019ll show&#8230;<\/p>\n","protected":false},"author":1,"featured_media":190,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26,27,23],"tags":[15],"class_list":["post-189","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-redirects","category-website-maintenance","category-wordpress","tag-yoast"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>[yoast.com] How to create a 301 redirect in WordPress<\/title>\n<meta name=\"description\" content=\"Do you need to create a 301 redirect in your WordPress site? You&#8217;ve come to the right place! We&#8217;ll show you how to set up 301 redirects using thr\u2026\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/dynamicseopro.com\/news\/how-to-create-a-301-redirect-in-wordpress\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"[yoast.com] How to create a 301 redirect in WordPress\" \/>\n<meta property=\"og:description\" content=\"Do you need to create a 301 redirect in your WordPress site? You&#8217;ve come to the right place! We&#8217;ll show you how to set up 301 redirects using thr\u2026\" \/>\n<meta property=\"og:url\" content=\"https:\/\/dynamicseopro.com\/news\/how-to-create-a-301-redirect-in-wordpress\/\" \/>\n<meta property=\"og:site_name\" content=\"Dynamic SEO Pro Pages\" \/>\n<meta property=\"article:published_time\" content=\"2025-04-08T11:00:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/dynamicseopro.com\/news\/wp-content\/uploads\/2025\/04\/cloudflare-redirect-rule-scaled-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"2560\" \/>\n\t<meta property=\"og:image:height\" content=\"1224\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"DynamicSEO\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"DynamicSEO\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/dynamicseopro.com\\\/news\\\/how-to-create-a-301-redirect-in-wordpress\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/dynamicseopro.com\\\/news\\\/how-to-create-a-301-redirect-in-wordpress\\\/\"},\"author\":{\"name\":\"DynamicSEO\",\"@id\":\"https:\\\/\\\/dynamicseopro.com\\\/news\\\/#\\\/schema\\\/person\\\/08d67943221456627a22648bafa64500\"},\"headline\":\"How to create a 301 redirect in WordPress\",\"datePublished\":\"2025-04-08T11:00:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/dynamicseopro.com\\\/news\\\/how-to-create-a-301-redirect-in-wordpress\\\/\"},\"wordCount\":1340,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/dynamicseopro.com\\\/news\\\/how-to-create-a-301-redirect-in-wordpress\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/dynamicseopro.com\\\/news\\\/wp-content\\\/uploads\\\/2025\\\/04\\\/cloudflare-redirect-rule-scaled-1.jpg\",\"keywords\":[\"Yoast\"],\"articleSection\":[\"Redirects\",\"Website Maintenance\",\"WordPress\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/dynamicseopro.com\\\/news\\\/how-to-create-a-301-redirect-in-wordpress\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/dynamicseopro.com\\\/news\\\/how-to-create-a-301-redirect-in-wordpress\\\/\",\"url\":\"https:\\\/\\\/dynamicseopro.com\\\/news\\\/how-to-create-a-301-redirect-in-wordpress\\\/\",\"name\":\"[yoast.com] How to create a 301 redirect in WordPress\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/dynamicseopro.com\\\/news\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/dynamicseopro.com\\\/news\\\/how-to-create-a-301-redirect-in-wordpress\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/dynamicseopro.com\\\/news\\\/how-to-create-a-301-redirect-in-wordpress\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/dynamicseopro.com\\\/news\\\/wp-content\\\/uploads\\\/2025\\\/04\\\/cloudflare-redirect-rule-scaled-1.jpg\",\"datePublished\":\"2025-04-08T11:00:00+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/dynamicseopro.com\\\/news\\\/#\\\/schema\\\/person\\\/08d67943221456627a22648bafa64500\"},\"description\":\"Do you need to create a 301 redirect in your WordPress site? You&#8217;ve come to the right place! We&#8217;ll show you how to set up 301 redirects using thr\u2026\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/dynamicseopro.com\\\/news\\\/how-to-create-a-301-redirect-in-wordpress\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/dynamicseopro.com\\\/news\\\/how-to-create-a-301-redirect-in-wordpress\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/dynamicseopro.com\\\/news\\\/how-to-create-a-301-redirect-in-wordpress\\\/#primaryimage\",\"url\":\"https:\\\/\\\/dynamicseopro.com\\\/news\\\/wp-content\\\/uploads\\\/2025\\\/04\\\/cloudflare-redirect-rule-scaled-1.jpg\",\"contentUrl\":\"https:\\\/\\\/dynamicseopro.com\\\/news\\\/wp-content\\\/uploads\\\/2025\\\/04\\\/cloudflare-redirect-rule-scaled-1.jpg\",\"width\":2560,\"height\":1224,\"caption\":\"Lead Manager Agency How to create a 301 redirect in WordPress\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/dynamicseopro.com\\\/news\\\/how-to-create-a-301-redirect-in-wordpress\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/dynamicseopro.com\\\/news\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to create a 301 redirect in WordPress\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/dynamicseopro.com\\\/news\\\/#website\",\"url\":\"https:\\\/\\\/dynamicseopro.com\\\/news\\\/\",\"name\":\"Dynamic SEO Pro Pages\",\"description\":\"Advance SEO Plugin For Wordpress\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/dynamicseopro.com\\\/news\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/dynamicseopro.com\\\/news\\\/#\\\/schema\\\/person\\\/08d67943221456627a22648bafa64500\",\"name\":\"DynamicSEO\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/8f93b81b46eb435f617f8045456ccd0b423353bb490d73fb8c1cef457f52fc4f?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/8f93b81b46eb435f617f8045456ccd0b423353bb490d73fb8c1cef457f52fc4f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/8f93b81b46eb435f617f8045456ccd0b423353bb490d73fb8c1cef457f52fc4f?s=96&d=mm&r=g\",\"caption\":\"DynamicSEO\"},\"sameAs\":[\"https:\\\/\\\/dynamicseopro.com\\\/news\"],\"url\":\"https:\\\/\\\/dynamicseopro.com\\\/news\\\/author\\\/dynamicseo\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"[yoast.com] How to create a 301 redirect in WordPress","description":"Do you need to create a 301 redirect in your WordPress site? You&#8217;ve come to the right place! We&#8217;ll show you how to set up 301 redirects using thr\u2026","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:\/\/dynamicseopro.com\/news\/how-to-create-a-301-redirect-in-wordpress\/","og_locale":"en_US","og_type":"article","og_title":"[yoast.com] How to create a 301 redirect in WordPress","og_description":"Do you need to create a 301 redirect in your WordPress site? You&#8217;ve come to the right place! We&#8217;ll show you how to set up 301 redirects using thr\u2026","og_url":"https:\/\/dynamicseopro.com\/news\/how-to-create-a-301-redirect-in-wordpress\/","og_site_name":"Dynamic SEO Pro Pages","article_published_time":"2025-04-08T11:00:00+00:00","og_image":[{"width":2560,"height":1224,"url":"https:\/\/dynamicseopro.com\/news\/wp-content\/uploads\/2025\/04\/cloudflare-redirect-rule-scaled-1.jpg","type":"image\/jpeg"}],"author":"DynamicSEO","twitter_card":"summary_large_image","twitter_misc":{"Written by":"DynamicSEO","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/dynamicseopro.com\/news\/how-to-create-a-301-redirect-in-wordpress\/#article","isPartOf":{"@id":"https:\/\/dynamicseopro.com\/news\/how-to-create-a-301-redirect-in-wordpress\/"},"author":{"name":"DynamicSEO","@id":"https:\/\/dynamicseopro.com\/news\/#\/schema\/person\/08d67943221456627a22648bafa64500"},"headline":"How to create a 301 redirect in WordPress","datePublished":"2025-04-08T11:00:00+00:00","mainEntityOfPage":{"@id":"https:\/\/dynamicseopro.com\/news\/how-to-create-a-301-redirect-in-wordpress\/"},"wordCount":1340,"commentCount":0,"image":{"@id":"https:\/\/dynamicseopro.com\/news\/how-to-create-a-301-redirect-in-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/dynamicseopro.com\/news\/wp-content\/uploads\/2025\/04\/cloudflare-redirect-rule-scaled-1.jpg","keywords":["Yoast"],"articleSection":["Redirects","Website Maintenance","WordPress"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/dynamicseopro.com\/news\/how-to-create-a-301-redirect-in-wordpress\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/dynamicseopro.com\/news\/how-to-create-a-301-redirect-in-wordpress\/","url":"https:\/\/dynamicseopro.com\/news\/how-to-create-a-301-redirect-in-wordpress\/","name":"[yoast.com] How to create a 301 redirect in WordPress","isPartOf":{"@id":"https:\/\/dynamicseopro.com\/news\/#website"},"primaryImageOfPage":{"@id":"https:\/\/dynamicseopro.com\/news\/how-to-create-a-301-redirect-in-wordpress\/#primaryimage"},"image":{"@id":"https:\/\/dynamicseopro.com\/news\/how-to-create-a-301-redirect-in-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/dynamicseopro.com\/news\/wp-content\/uploads\/2025\/04\/cloudflare-redirect-rule-scaled-1.jpg","datePublished":"2025-04-08T11:00:00+00:00","author":{"@id":"https:\/\/dynamicseopro.com\/news\/#\/schema\/person\/08d67943221456627a22648bafa64500"},"description":"Do you need to create a 301 redirect in your WordPress site? You&#8217;ve come to the right place! We&#8217;ll show you how to set up 301 redirects using thr\u2026","breadcrumb":{"@id":"https:\/\/dynamicseopro.com\/news\/how-to-create-a-301-redirect-in-wordpress\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/dynamicseopro.com\/news\/how-to-create-a-301-redirect-in-wordpress\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/dynamicseopro.com\/news\/how-to-create-a-301-redirect-in-wordpress\/#primaryimage","url":"https:\/\/dynamicseopro.com\/news\/wp-content\/uploads\/2025\/04\/cloudflare-redirect-rule-scaled-1.jpg","contentUrl":"https:\/\/dynamicseopro.com\/news\/wp-content\/uploads\/2025\/04\/cloudflare-redirect-rule-scaled-1.jpg","width":2560,"height":1224,"caption":"Lead Manager Agency How to create a 301 redirect in WordPress"},{"@type":"BreadcrumbList","@id":"https:\/\/dynamicseopro.com\/news\/how-to-create-a-301-redirect-in-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/dynamicseopro.com\/news\/"},{"@type":"ListItem","position":2,"name":"How to create a 301 redirect in WordPress"}]},{"@type":"WebSite","@id":"https:\/\/dynamicseopro.com\/news\/#website","url":"https:\/\/dynamicseopro.com\/news\/","name":"Dynamic SEO Pro Pages","description":"Advance SEO Plugin For Wordpress","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/dynamicseopro.com\/news\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/dynamicseopro.com\/news\/#\/schema\/person\/08d67943221456627a22648bafa64500","name":"DynamicSEO","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/8f93b81b46eb435f617f8045456ccd0b423353bb490d73fb8c1cef457f52fc4f?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/8f93b81b46eb435f617f8045456ccd0b423353bb490d73fb8c1cef457f52fc4f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/8f93b81b46eb435f617f8045456ccd0b423353bb490d73fb8c1cef457f52fc4f?s=96&d=mm&r=g","caption":"DynamicSEO"},"sameAs":["https:\/\/dynamicseopro.com\/news"],"url":"https:\/\/dynamicseopro.com\/news\/author\/dynamicseo\/"}]}},"_links":{"self":[{"href":"https:\/\/dynamicseopro.com\/news\/wp-json\/wp\/v2\/posts\/189","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dynamicseopro.com\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dynamicseopro.com\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dynamicseopro.com\/news\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dynamicseopro.com\/news\/wp-json\/wp\/v2\/comments?post=189"}],"version-history":[{"count":0,"href":"https:\/\/dynamicseopro.com\/news\/wp-json\/wp\/v2\/posts\/189\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dynamicseopro.com\/news\/wp-json\/wp\/v2\/media\/190"}],"wp:attachment":[{"href":"https:\/\/dynamicseopro.com\/news\/wp-json\/wp\/v2\/media?parent=189"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dynamicseopro.com\/news\/wp-json\/wp\/v2\/categories?post=189"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dynamicseopro.com\/news\/wp-json\/wp\/v2\/tags?post=189"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}