{"id":7842,"date":"2020-01-02T10:56:28","date_gmt":"2020-01-02T10:56:28","guid":{"rendered":"https:\/\/www.24x7wpsupport.com\/blog\/?p=7842"},"modified":"2021-08-10T13:47:35","modified_gmt":"2021-08-10T13:47:35","slug":"the-intermediate-guide-to-301-redirect-wordpress-via-htaccess-and-plugin","status":"publish","type":"post","link":"https:\/\/www.24x7wpsupport.com\/blog\/the-intermediate-guide-to-301-redirect-wordpress-via-htaccess-and-plugin\/","title":{"rendered":"The Intermediate Guide to 301 Redirect WordPress via .htaccess and Plugin"},"content":{"rendered":"<div class=\"wpb-content-wrapper\"><p class=\"last-updated\">Last updated on August 10th, 2021 at 01:47 pm<\/p><p>[vc_row][vc_column][vc_empty_space][vc_column_text]A redirect is used to redirect users from one web page to another automatically. It is ideal when everything on a web page, starting from content and media to load time, remains the same, but the link to the page changes.<br \/>\nHowever, achieving an \u201cideal\u201d state in any task is a tedious task, isn&#8217;t it? Don&#8217;t worry; you will be able to redirect web-pages on WordPress efficiently, by the time you complete this article.[\/vc_column_text][vc_custom_heading text=&#8221;Tale of a blogger without redirect&#8221; use_theme_fonts=&#8221;yes&#8221;][vc_column_text]Sally is a blogger in the fashion and apparel industry. She has always had a knack for upcoming fashion, and that&#8217;s why she started writing a blog about it on WordPress. Since Sally is so good at her job, people love her and traffic increased at a fast rate.<\/p>\n<p>Now, Sally wants to provide a more secure platform for her content consumers so that she can have secure data transactions with her consumers. Also, since she&#8217;s in the fast-paced fashion industry, her old blogs have turned stale, and she has new spicy blogs ready to update them, but she&#8217;s afraid that she&#8217;ll lose her traffic if she creates a new web page. Moreover, if she deletes the old web-page, her viewers coming from different search engines and social platforms will end up seeing a &#8220;404 \u2013 Page Not Found.&#8221;[\/vc_column_text][vc_single_image image=&#8221;7843&#8243; img_size=&#8221;full&#8221; alignment=&#8221;center&#8221;][vc_column_text]Also, since the fashion industry is all about mixing and matching different products, it\u2019s a very tough task for Sally to drive traffic from different product blogs to a new blog of their combinations.<\/p>\n<p>All of Sally&#8217;s concerns are genuine and are problems of many blogger lives. These are some reasons why bloggers continue to have all their traffic distributed over multiple web-pages, and quite a few of their viewers end up consuming outdated content.[\/vc_column_text][\/vc_column][\/vc_row][vc_row][vc_column][vc_custom_heading text=&#8221;The solution of redirection&#8221; use_theme_fonts=&#8221;yes&#8221;][vc_column_text]A redirect equips Sally to tackle all her problems in one go. Through redirect, she can take her website from an HTTP server to more secure an HTTPS server and can carry out any types of transactions. She can also redirect her old web pages to new ones so that users always consume updated content. This way, she&#8217;ll all of her traffic on a single, secure, and updated web-page.[\/vc_column_text][vc_single_image image=&#8221;7844&#8243; img_size=&#8221;full&#8221; alignment=&#8221;center&#8221;][vc_column_text]Since this is such a significant concern for all bloggers and developers, there are various solutions to implement a redirect. But let&#8217;s see what type of redirects you&#8217;ll need.[\/vc_column_text][vc_custom_heading text=&#8221;301 redirect and 302 redirect&#8221; use_theme_fonts=&#8221;yes&#8221;][vc_column_text]There are two types of redirects that bloggers need to know. One of them permanently redirects the web address while the other one redirects it temporally. 301 redirects is used for permanent changes, and \u2018302 redirect\u2019 is used to transfer users to a web-page on a temp basis.<\/p>\n<p>For example, Sally is pretty sure that a product by company A is better than an outdated but competitive product from company B. So, she 301 redirects all her users from the old blog about company B&#8217;s product to the new blog about customer A&#8217;s product. This way, she notifies users and search engine crawlers that the URL has changed and has a new destination. 301 redirects is not recommended if the source web-page might be of any use in the future.<\/p>\n<p>On the other hand, when Sally feels that she can try something new with her audience, she 302 redirects them to a new page. This allows her to test new ideas on her audience, having the liberty of switching back to old pages, which were already liked by her viewers.[\/vc_column_text][vc_single_image image=&#8221;7845&#8243; img_size=&#8221;full&#8221; alignment=&#8221;center&#8221;][vc_column_text]Let\u2019s understand how you can create \u201cideal\u201d 301 redirects.[\/vc_column_text][\/vc_column][\/vc_row][vc_row][vc_column][vc_custom_heading text=&#8221;301 redirect WordPress via .htaccess&#8221; use_theme_fonts=&#8221;yes&#8221;][vc_column_text]One of the ways is by editing the .htaccess file of your website. The .htaccess file is a map of your website. It is also known as the webserver configuration file. Since a server hosts this file, you&#8217;ll need to have FTP access and login credentials for viewing your server through an FTP client such as <span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/cyberduck.io\/\" target=\"_blank\" rel=\"noopener noreferrer\">Cyberduck<\/a><\/span> or <span style=\"color: #0000ff;\">Filezilla<\/span>.<\/p>\n<p>After logging in, you can find the .htaccess file in the root folder of your WordPress website. The root folder contains some important files such as &#8220;license.txt&#8221; and &#8220;index.php,&#8221; i.e., your homepage. So, it\u2019s recommended to think twice before making changes to your website after this stage.[\/vc_column_text][vc_single_image image=&#8221;7846&#8243; img_size=&#8221;full&#8221; alignment=&#8221;center&#8221;][vc_column_text]The visual depicts how the root folder will look like. There might be a higher or a smaller number of files inside your root folder. If you can&#8217;t find the .htaccess file, it&#8217;s probably hidden, and you can change that setting by exploring the &#8220;Options&#8221; menu under the &#8220;Tools&#8221; tab.[\/vc_column_text][vc_single_image image=&#8221;7847&#8243;][vc_column_text]There is also a very tiny probability that there is no .htaccess file. Hence, you\u2019ll have to create one. You can easily make one through the FTP editor and name it as &#8220;.htaccess.&#8221; Also, don&#8217;t forget to set it&#8217;s permission to 644 as required by WordPress.<\/p>\n<p>Download the .htaccess file and make a copy of it. If there&#8217;s some problem with your .htaccess file, WordPress will not be able to process your website and return the user to an &#8220;Internal Server Error&#8221; page. So, it&#8217;s better to make changes in a copy and keep the original as a backup. Now, open the copied .htaccess file on a notepad to edit it.[\/vc_column_text][vc_single_image image=&#8221;7848&#8243; img_size=&#8221;full&#8221; alignment=&#8221;center&#8221;][vc_column_text]There could be a higher number of lines in your file from the different plugins that you have installed. But the basic file looks something like this. The task at hand is to edit this given file for redirecting from an outdated link to a new link.<\/p>\n<p>To redirect a user from one single post or a web page to another, you can use the following code:<\/p>\n<p>Redirect 301 \/outDatedLink https:\/\/domain.com\/newLink<\/p>\n<p>Where &#8220;outDatedLink&#8221; is the link that you want the users to redirect from and &#8220;newLink&#8221; is the destination link. For example, if you&#8217;re going to redirect viewers from link1 to link2 on your website domain.com, you\u2019ll write the following code on your .htaccess file:<\/p>\n<p>Redirect 301 \/link1 https:\/\/domain.com\/link2<\/p>\n<p>If it is required to shift the whole domain from domain1 to domain2, it is possible by editing the same .htaccess file. You just have to run the following code:<\/p>\n<p>RewriteEngine on<br \/>\nRewriteCond %{HTTP_HOST} ^domain1 [NC,OR]<br \/>\nRewriteCond %{HTTP_HOST} ^domain1 [NC]<br \/>\nRewriteRule ^(.*)$ https:\/\/domain2\/$1 [L,R=301,NC]<\/p>\n<p>The command preserves the overall schema of the domain i.e., the website while making the switch. That implies that the page at domain1.com\/contact automatically changes to domain2.com\/contact.<\/p>\n<p>But is it always so onerous each time a redirect is to be made? Well, yes and no. If you&#8217;re looking to change domains, you&#8217;ll have to go through the .htaccess file, but for all other tasks, there are a couple of plugins that make life much more comfortable.[\/vc_column_text][\/vc_column][\/vc_row][vc_row][vc_column][vc_custom_heading text=&#8221;Plugin solutions to implement 301 redirect WordPress&#8221; use_theme_fonts=&#8221;yes&#8221;][vc_column_text]The most straight forward way to create a redirect is by installing a WordPress plugin. The best part about using plugins that they have a user interface to interact with, alongside all their free services.<\/p>\n<p><span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/www.24x7wpsupport.com\/blog\/top-5-most-featured-wordpress-redirect-plugins\/\"><strong>WordPress Redirection Plugin<\/strong><\/a><\/span><\/p>\n<p><span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/www.24x7wpsupport.com\/blog\/top-most-feature-wordpress-redirect-plugin-installation-with-set-up\/\">WordPress Redirection Plugin<\/a><\/span> is a plugin that has been available to the market for more than ten years. It is compatible with a small number of redirects to redirects in a massive amount.[\/vc_column_text][vc_single_image image=&#8221;7849&#8243; img_size=&#8221;full&#8221; alignment=&#8221;center&#8221;][vc_column_text]With a simple user interface, WordPress Redirection plugin provides a great user experience. Redirecting web-pages is as simple as creating a contact on your cell phone for a new number. WordPress Redirection Plugin also enables you to track all your 404 logs, i.e., track whenever your users didn&#8217;t get what they came looking for. Also, it helps you to monitor how many users got successfully redirected to the new page.[\/vc_column_text][vc_single_image image=&#8221;7850&#8243; img_size=&#8221;full&#8221; alignment=&#8221;center&#8221;][vc_column_text]With all the cool services for free and a simple user interface, WordPress Redirection Plugin seems to be a good solution for redirect problems unless you want to change your whole domain.<\/p>\n<p><strong>Page Links To<\/strong><br \/>\n<span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/wordpress.org\/plugins\/page-links-to\/\" target=\"_blank\" rel=\"noopener noreferrer\">Page Links To<\/a><\/span> is an easy to install plugin that enables you to redirect a page. The plugin adds a meta-data box on the edit screen of your post, where you can directly enter the link for a redirect.[\/vc_column_text][vc_single_image image=&#8221;7851&#8243; img_size=&#8221;full&#8221; alignment=&#8221;center&#8221;][vc_custom_heading text=&#8221;Simple 301 Redirects&#8221; font_container=&#8221;tag:h3|text_align:left&#8221; use_theme_fonts=&#8221;yes&#8221;][vc_column_text]<span style=\"color: #808080;\"><span style=\"color: #333333;\">Simple 301 Redirects<\/span><\/span>, a <span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/wordpress.org\/plugins\/simple-301-redirects\/\" target=\"_blank\" rel=\"noopener noreferrer\">WordPress plugin<\/a><\/span> that equips bloggers to make redirects and also change domains. This plugin is an all in one package with all functionalities for free. Simple 301 Redirects plugin can is also used for changing domains, while the website schema remains preserved.[\/vc_column_text][vc_single_image image=&#8221;7852&#8243; img_size=&#8221;full&#8221; alignment=&#8221;center&#8221;][vc_column_text]By checking the wildcard checkbox, high order redirects are possible. The &#8220;travel&#8221; directory on the &#8220;old-page&#8221; is now the &#8220;adventure&#8221; directory on the &#8220;new-page.&#8221; The asterisk is a regular expression used to match all strings i.e., file names.[\/vc_column_text][\/vc_column][\/vc_row][vc_row][vc_column][vc_custom_heading text=&#8221;Are redirects bad for SEO?&#8221; use_theme_fonts=&#8221;yes&#8221;][vc_column_text]Redirects are in no way bad for search engine optimization algorithms. But if not implemented correctly can cause a ton of chaos for SEO engineers. Also, if you&#8217;re sceptical if crawlers will get to your new redirects or not, you can always update the <span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/search.google.com\/search-console\/welcome?hl=en&amp;utm_source=wmx&amp;utm_medium=deprecation-pane&amp;utm_content=home\" target=\"_blank\" rel=\"noopener noreferrer\">Google Webmasters Search Console<\/a><\/span>. Updating the console notifies Google&#8217;s crawler about your redirect, and you need not worry about impending traffic.<\/p>\n<p>Google is pretty smart; hence, it picks up the redirects automatically, but if you want to speed up the process, you can update the console.[\/vc_column_text][vc_custom_heading text=&#8221;Happy Ending&#8221; use_theme_fonts=&#8221;yes&#8221;][vc_column_text]In the end, Sally ends up redirecting and clubbing web-pages to drive secure and large amounts of traffic. The best way to ensure consistent traffic is by maintaining redirects whenever you create new content on the old topics. They also help you to provide a more secure platform through HTTPS.<\/p>\n<p>All of this comes at no cost and is absolutely free. A habit of creating redirects whenever new content is created will definitely help you to club and control your traffic in a better way.[\/vc_column_text][\/vc_column][\/vc_row]<\/p>\n<\/div>","protected":false},"excerpt":{"rendered":"<p>Last updated on August 10th, 2021 at 01:47 pm[vc_row][vc_column][vc_empty_space][vc_column_text]A redirect is used to redirect users from one web page to &#8230;<\/p>\n","protected":false},"author":2,"featured_media":7853,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[93,1096],"tags":[1125,1127,1126,1128,1129,1130],"class_list":["post-7842","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-plugins","category-wordpress","tag-301-redirect-wordpress","tag-301-redirect-wordpress-plugins","tag-301-redirect-wordpress-via-htaccess","tag-301-redirect-wordpress-via-plugin","tag-302-redirect","tag-wordpress-redirection-plugin"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.6 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to set up 301 Redirects to WordPress via .htaccess and Plugins<\/title>\n<meta name=\"description\" content=\"Learn how to set up 301 redirects to WordPress using .htaccess file &amp; plugin&#039;s. Follow the guide step by step with lots of screenshots. How they affect SEO?\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.24x7wpsupport.com\/blog\/the-intermediate-guide-to-301-redirect-wordpress-via-htaccess-and-plugin\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to set up 301 Redirects to WordPress via .htaccess and Plugins\" \/>\n<meta property=\"og:description\" content=\"Learn how to set up 301 redirects to WordPress using .htaccess file &amp; plugin&#039;s. Follow the guide step by step with lots of screenshots. How they affect SEO?\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.24x7wpsupport.com\/blog\/the-intermediate-guide-to-301-redirect-wordpress-via-htaccess-and-plugin\/\" \/>\n<meta property=\"og:site_name\" content=\"24x7WPSupport Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/24x7wpsupport\" \/>\n<meta property=\"article:published_time\" content=\"2020-01-02T10:56:28+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-08-10T13:47:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.24x7wpsupport.com\/blog\/wp-content\/uploads\/2020\/01\/301-redirects-wordspress.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Dev\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@wpsupport24x7\" \/>\n<meta name=\"twitter:site\" content=\"@wpsupport24x7\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Dev\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/the-intermediate-guide-to-301-redirect-wordpress-via-htaccess-and-plugin\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/the-intermediate-guide-to-301-redirect-wordpress-via-htaccess-and-plugin\\\/\"},\"author\":{\"name\":\"Dev\",\"@id\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/#\\\/schema\\\/person\\\/e6415d472a2e6bbe2a01279a0224f4d4\"},\"headline\":\"The Intermediate Guide to 301 Redirect WordPress via .htaccess and Plugin\",\"datePublished\":\"2020-01-02T10:56:28+00:00\",\"dateModified\":\"2021-08-10T13:47:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/the-intermediate-guide-to-301-redirect-wordpress-via-htaccess-and-plugin\\\/\"},\"wordCount\":1942,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/the-intermediate-guide-to-301-redirect-wordpress-via-htaccess-and-plugin\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/301-redirects-wordspress.jpg\",\"keywords\":[\"301 Redirect WordPress\",\"301 Redirect WordPress Plugins\",\"301 Redirect WordPress via htaccess\",\"301 Redirect WordPress via Plugin\",\"302 redirect\",\"WordPress Redirection Plugin\"],\"articleSection\":[\"Plugins\",\"WordPress\"],\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/the-intermediate-guide-to-301-redirect-wordpress-via-htaccess-and-plugin\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/the-intermediate-guide-to-301-redirect-wordpress-via-htaccess-and-plugin\\\/\",\"url\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/the-intermediate-guide-to-301-redirect-wordpress-via-htaccess-and-plugin\\\/\",\"name\":\"How to set up 301 Redirects to WordPress via .htaccess and Plugins\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/the-intermediate-guide-to-301-redirect-wordpress-via-htaccess-and-plugin\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/the-intermediate-guide-to-301-redirect-wordpress-via-htaccess-and-plugin\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/301-redirects-wordspress.jpg\",\"datePublished\":\"2020-01-02T10:56:28+00:00\",\"dateModified\":\"2021-08-10T13:47:35+00:00\",\"description\":\"Learn how to set up 301 redirects to WordPress using .htaccess file & plugin's. Follow the guide step by step with lots of screenshots. How they affect SEO?\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/the-intermediate-guide-to-301-redirect-wordpress-via-htaccess-and-plugin\\\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/the-intermediate-guide-to-301-redirect-wordpress-via-htaccess-and-plugin\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/the-intermediate-guide-to-301-redirect-wordpress-via-htaccess-and-plugin\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/301-redirects-wordspress.jpg\",\"contentUrl\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/01\\\/301-redirects-wordspress.jpg\",\"width\":1200,\"height\":600},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/the-intermediate-guide-to-301-redirect-wordpress-via-htaccess-and-plugin\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"The Intermediate Guide to 301 Redirect WordPress via .htaccess and Plugin\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/\",\"name\":\"24x7WPSupport Blog\",\"description\":\"WordPress Theme Update | WordPress Blog\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/#organization\",\"name\":\"24x7 WP Support\",\"url\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/11\\\/wpsupportlatestlogo.png\",\"contentUrl\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/11\\\/wpsupportlatestlogo.png\",\"width\":269,\"height\":64,\"caption\":\"24x7 WP Support\"},\"image\":{\"@id\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/24x7wpsupport\",\"https:\\\/\\\/x.com\\\/wpsupport24x7\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.24x7wpsupport.com\\\/blog\\\/#\\\/schema\\\/person\\\/e6415d472a2e6bbe2a01279a0224f4d4\",\"name\":\"Dev\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2279ad7c06143ec3d9993f3a47410189667d39a1d3d3ba17932e370f594894df?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2279ad7c06143ec3d9993f3a47410189667d39a1d3d3ba17932e370f594894df?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/2279ad7c06143ec3d9993f3a47410189667d39a1d3d3ba17932e370f594894df?s=96&d=mm&r=g\",\"caption\":\"Dev\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to set up 301 Redirects to WordPress via .htaccess and Plugins","description":"Learn how to set up 301 redirects to WordPress using .htaccess file & plugin's. Follow the guide step by step with lots of screenshots. How they affect SEO?","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:\/\/www.24x7wpsupport.com\/blog\/the-intermediate-guide-to-301-redirect-wordpress-via-htaccess-and-plugin\/","og_locale":"en_GB","og_type":"article","og_title":"How to set up 301 Redirects to WordPress via .htaccess and Plugins","og_description":"Learn how to set up 301 redirects to WordPress using .htaccess file & plugin's. Follow the guide step by step with lots of screenshots. How they affect SEO?","og_url":"https:\/\/www.24x7wpsupport.com\/blog\/the-intermediate-guide-to-301-redirect-wordpress-via-htaccess-and-plugin\/","og_site_name":"24x7WPSupport Blog","article_publisher":"https:\/\/www.facebook.com\/24x7wpsupport","article_published_time":"2020-01-02T10:56:28+00:00","article_modified_time":"2021-08-10T13:47:35+00:00","og_image":[{"width":1200,"height":600,"url":"https:\/\/www.24x7wpsupport.com\/blog\/wp-content\/uploads\/2020\/01\/301-redirects-wordspress.jpg","type":"image\/jpeg"}],"author":"Dev","twitter_card":"summary_large_image","twitter_creator":"@wpsupport24x7","twitter_site":"@wpsupport24x7","twitter_misc":{"Written by":"Dev","Estimated reading time":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.24x7wpsupport.com\/blog\/the-intermediate-guide-to-301-redirect-wordpress-via-htaccess-and-plugin\/#article","isPartOf":{"@id":"https:\/\/www.24x7wpsupport.com\/blog\/the-intermediate-guide-to-301-redirect-wordpress-via-htaccess-and-plugin\/"},"author":{"name":"Dev","@id":"https:\/\/www.24x7wpsupport.com\/blog\/#\/schema\/person\/e6415d472a2e6bbe2a01279a0224f4d4"},"headline":"The Intermediate Guide to 301 Redirect WordPress via .htaccess and Plugin","datePublished":"2020-01-02T10:56:28+00:00","dateModified":"2021-08-10T13:47:35+00:00","mainEntityOfPage":{"@id":"https:\/\/www.24x7wpsupport.com\/blog\/the-intermediate-guide-to-301-redirect-wordpress-via-htaccess-and-plugin\/"},"wordCount":1942,"commentCount":0,"publisher":{"@id":"https:\/\/www.24x7wpsupport.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.24x7wpsupport.com\/blog\/the-intermediate-guide-to-301-redirect-wordpress-via-htaccess-and-plugin\/#primaryimage"},"thumbnailUrl":"https:\/\/www.24x7wpsupport.com\/blog\/wp-content\/uploads\/2020\/01\/301-redirects-wordspress.jpg","keywords":["301 Redirect WordPress","301 Redirect WordPress Plugins","301 Redirect WordPress via htaccess","301 Redirect WordPress via Plugin","302 redirect","WordPress Redirection Plugin"],"articleSection":["Plugins","WordPress"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.24x7wpsupport.com\/blog\/the-intermediate-guide-to-301-redirect-wordpress-via-htaccess-and-plugin\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.24x7wpsupport.com\/blog\/the-intermediate-guide-to-301-redirect-wordpress-via-htaccess-and-plugin\/","url":"https:\/\/www.24x7wpsupport.com\/blog\/the-intermediate-guide-to-301-redirect-wordpress-via-htaccess-and-plugin\/","name":"How to set up 301 Redirects to WordPress via .htaccess and Plugins","isPartOf":{"@id":"https:\/\/www.24x7wpsupport.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.24x7wpsupport.com\/blog\/the-intermediate-guide-to-301-redirect-wordpress-via-htaccess-and-plugin\/#primaryimage"},"image":{"@id":"https:\/\/www.24x7wpsupport.com\/blog\/the-intermediate-guide-to-301-redirect-wordpress-via-htaccess-and-plugin\/#primaryimage"},"thumbnailUrl":"https:\/\/www.24x7wpsupport.com\/blog\/wp-content\/uploads\/2020\/01\/301-redirects-wordspress.jpg","datePublished":"2020-01-02T10:56:28+00:00","dateModified":"2021-08-10T13:47:35+00:00","description":"Learn how to set up 301 redirects to WordPress using .htaccess file & plugin's. Follow the guide step by step with lots of screenshots. How they affect SEO?","breadcrumb":{"@id":"https:\/\/www.24x7wpsupport.com\/blog\/the-intermediate-guide-to-301-redirect-wordpress-via-htaccess-and-plugin\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.24x7wpsupport.com\/blog\/the-intermediate-guide-to-301-redirect-wordpress-via-htaccess-and-plugin\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.24x7wpsupport.com\/blog\/the-intermediate-guide-to-301-redirect-wordpress-via-htaccess-and-plugin\/#primaryimage","url":"https:\/\/www.24x7wpsupport.com\/blog\/wp-content\/uploads\/2020\/01\/301-redirects-wordspress.jpg","contentUrl":"https:\/\/www.24x7wpsupport.com\/blog\/wp-content\/uploads\/2020\/01\/301-redirects-wordspress.jpg","width":1200,"height":600},{"@type":"BreadcrumbList","@id":"https:\/\/www.24x7wpsupport.com\/blog\/the-intermediate-guide-to-301-redirect-wordpress-via-htaccess-and-plugin\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.24x7wpsupport.com\/blog\/"},{"@type":"ListItem","position":2,"name":"The Intermediate Guide to 301 Redirect WordPress via .htaccess and Plugin"}]},{"@type":"WebSite","@id":"https:\/\/www.24x7wpsupport.com\/blog\/#website","url":"https:\/\/www.24x7wpsupport.com\/blog\/","name":"24x7WPSupport Blog","description":"WordPress Theme Update | WordPress Blog","publisher":{"@id":"https:\/\/www.24x7wpsupport.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.24x7wpsupport.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Organization","@id":"https:\/\/www.24x7wpsupport.com\/blog\/#organization","name":"24x7 WP Support","url":"https:\/\/www.24x7wpsupport.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.24x7wpsupport.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.24x7wpsupport.com\/blog\/wp-content\/uploads\/2018\/11\/wpsupportlatestlogo.png","contentUrl":"https:\/\/www.24x7wpsupport.com\/blog\/wp-content\/uploads\/2018\/11\/wpsupportlatestlogo.png","width":269,"height":64,"caption":"24x7 WP Support"},"image":{"@id":"https:\/\/www.24x7wpsupport.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/24x7wpsupport","https:\/\/x.com\/wpsupport24x7"]},{"@type":"Person","@id":"https:\/\/www.24x7wpsupport.com\/blog\/#\/schema\/person\/e6415d472a2e6bbe2a01279a0224f4d4","name":"Dev","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/secure.gravatar.com\/avatar\/2279ad7c06143ec3d9993f3a47410189667d39a1d3d3ba17932e370f594894df?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/2279ad7c06143ec3d9993f3a47410189667d39a1d3d3ba17932e370f594894df?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/2279ad7c06143ec3d9993f3a47410189667d39a1d3d3ba17932e370f594894df?s=96&d=mm&r=g","caption":"Dev"}}]}},"_links":{"self":[{"href":"https:\/\/www.24x7wpsupport.com\/blog\/wp-json\/wp\/v2\/posts\/7842","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.24x7wpsupport.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.24x7wpsupport.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.24x7wpsupport.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.24x7wpsupport.com\/blog\/wp-json\/wp\/v2\/comments?post=7842"}],"version-history":[{"count":6,"href":"https:\/\/www.24x7wpsupport.com\/blog\/wp-json\/wp\/v2\/posts\/7842\/revisions"}],"predecessor-version":[{"id":10491,"href":"https:\/\/www.24x7wpsupport.com\/blog\/wp-json\/wp\/v2\/posts\/7842\/revisions\/10491"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.24x7wpsupport.com\/blog\/wp-json\/wp\/v2\/media\/7853"}],"wp:attachment":[{"href":"https:\/\/www.24x7wpsupport.com\/blog\/wp-json\/wp\/v2\/media?parent=7842"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.24x7wpsupport.com\/blog\/wp-json\/wp\/v2\/categories?post=7842"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.24x7wpsupport.com\/blog\/wp-json\/wp\/v2\/tags?post=7842"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}