{"id":14,"date":"2006-09-12T13:16:17","date_gmt":"2006-09-12T17:16:17","guid":{"rendered":"http:\/\/www.directoryone.com\/blog\/internet-marketing\/page-specific-301-redirects\/"},"modified":"2013-07-14T10:48:59","modified_gmt":"2013-07-14T14:48:59","slug":"page-specific-301-redirects","status":"publish","type":"post","link":"https:\/\/www.directoryone.com\/blog\/page-specific-301-redirects.html","title":{"rendered":"Page Specific 301 Redirects"},"content":{"rendered":"<p>Follow the simple code example below in order to implement a <strong>page specific 301 redirect<\/strong>. This is also a handy redirect for informing a search engine spiders that a web page has <em>permanently moved<\/em>.<\/p>\n<p>Warning, you will be editing your .htaccess file, so please be careful and make a backup of the original just in case there is a problem.<\/p>\n<p>First, download the .htaccess file via FTP. Next open the .htaccess file with a plain text editor such as notepad. If there&#8217;s already code in the file be sure you skip a line before adding the code below. Now copy and paste the following code into the .htaccess file;<\/p>\n<p>(without the &#8220;&lt;&#8211; &#8211;&gt;&#8221; part)<\/p>\n<p>RedirectPermanent \/old.html http:\/\/www.yoursite.com\/new.html<\/p>\n<p>Next, replace the &#8220;old_page&#8221; portion with your unique &#8220;page name&#8221;, save and upload.<\/p>\n<p>Now when somebody requests old.html they will be automatically redirected to http:\/\/www.yoursite.com\/new.html.<\/p>\n<p>Note, be sure to include a space between the old page and new location portion, see below;<br \/>\n\/old_page.html  <em>space<\/em> http:\/\/www.yoursite.com\/new_page.html<\/p>\n<p>For more information about 301 redirects, please see <a title=\"301 Redirect\" href=\"http:\/\/httpd.apache.org\/docs\/2.0\/mod\/mod_alias.html#redirectpermanent\" target=\"_blank\">http:\/\/httpd.apache.org\/docs\/2.0\/mod\/mod_alias.html#redirectpermanent<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Follow the simple code example below in order to implement a page specific 301 redirect. This is also a handy redirect for informing a search engine spiders that a web page has permanently moved. Warning, you will be editing your .htaccess file, so please be careful and make a backup of the original just in case there is a problem. First, download the .htaccess file via FTP. Next open the .htaccess file with a plain text editor such as notepad. If there&#8217;s already code in the file be sure you skip a line before adding the code below. Now copy and paste the following code into the .htaccess file; (without the &#8220;&lt;&#8211; &#8211;&gt;&#8221; part) RedirectPermanent \/old.html http:\/\/www.yoursite.com\/new.html Next, replace the &#8220;old_page&#8221; portion with your unique &#8220;page name&#8221;, save and upload. Now when somebody requests old.html they will be automatically redirected to http:\/\/www.yoursite.com\/new.html. Note, be sure to include a space between the old page and new location portion, see below; \/old_page.html space http:\/\/www.yoursite.com\/new_page.html For more information about 301 redirects, please see http:\/\/httpd.apache.org\/docs\/2.0\/mod\/mod_alias.html#redirectpermanent<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[508],"tags":[],"class_list":["post-14","post","type-post","status-publish","format-standard","hentry","category-coding"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Page Specific 301 Redirects<\/title>\n<meta name=\"description\" content=\"Page specific 301 redirect\" \/>\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.directoryone.com\/blog\/page-specific-301-redirects.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Page Specific 301 Redirects\" \/>\n<meta property=\"og:description\" content=\"Page specific 301 redirect\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.directoryone.com\/blog\/page-specific-301-redirects.html\" \/>\n<meta property=\"og:site_name\" content=\"Search Engine Marketing &amp; Optimization Blog\" \/>\n<meta property=\"article:published_time\" content=\"2006-09-12T17:16:17+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2013-07-14T14:48:59+00:00\" \/>\n<meta name=\"author\" content=\"Directory One\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Directory One\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.directoryone.com\/blog\/page-specific-301-redirects.html#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.directoryone.com\/blog\/page-specific-301-redirects.html\"},\"author\":{\"name\":\"Directory One\",\"@id\":\"https:\/\/www.directoryone.com\/blog\/#\/schema\/person\/72b06653ae945412b7e913abee89833c\"},\"headline\":\"Page Specific 301 Redirects\",\"datePublished\":\"2006-09-12T17:16:17+00:00\",\"dateModified\":\"2013-07-14T14:48:59+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.directoryone.com\/blog\/page-specific-301-redirects.html\"},\"wordCount\":204,\"articleSection\":[\"Website Coding\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.directoryone.com\/blog\/page-specific-301-redirects.html\",\"url\":\"https:\/\/www.directoryone.com\/blog\/page-specific-301-redirects.html\",\"name\":\"Page Specific 301 Redirects\",\"isPartOf\":{\"@id\":\"https:\/\/www.directoryone.com\/blog\/#website\"},\"datePublished\":\"2006-09-12T17:16:17+00:00\",\"dateModified\":\"2013-07-14T14:48:59+00:00\",\"author\":{\"@id\":\"https:\/\/www.directoryone.com\/blog\/#\/schema\/person\/72b06653ae945412b7e913abee89833c\"},\"description\":\"Page specific 301 redirect\",\"breadcrumb\":{\"@id\":\"https:\/\/www.directoryone.com\/blog\/page-specific-301-redirects.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.directoryone.com\/blog\/page-specific-301-redirects.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.directoryone.com\/blog\/page-specific-301-redirects.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.directoryone.com\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Page Specific 301 Redirects\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.directoryone.com\/blog\/#website\",\"url\":\"https:\/\/www.directoryone.com\/blog\/\",\"name\":\"Search Engine Marketing &amp; Optimization Blog\",\"description\":\"Directory One\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.directoryone.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.directoryone.com\/blog\/#\/schema\/person\/72b06653ae945412b7e913abee89833c\",\"name\":\"Directory One\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/94a2a725f290fe27e63003e7e27744c1f1c9270a102b5c7bf307942ae0179a59?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/94a2a725f290fe27e63003e7e27744c1f1c9270a102b5c7bf307942ae0179a59?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/94a2a725f290fe27e63003e7e27744c1f1c9270a102b5c7bf307942ae0179a59?s=96&d=mm&r=g\",\"caption\":\"Directory One\"},\"sameAs\":[\"http:\/\/www.directoryone.com\/\"],\"url\":\"https:\/\/www.directoryone.com\/blog\/author\/admin\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Page Specific 301 Redirects","description":"Page specific 301 redirect","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.directoryone.com\/blog\/page-specific-301-redirects.html","og_locale":"en_US","og_type":"article","og_title":"Page Specific 301 Redirects","og_description":"Page specific 301 redirect","og_url":"https:\/\/www.directoryone.com\/blog\/page-specific-301-redirects.html","og_site_name":"Search Engine Marketing &amp; Optimization Blog","article_published_time":"2006-09-12T17:16:17+00:00","article_modified_time":"2013-07-14T14:48:59+00:00","author":"Directory One","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Directory One","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.directoryone.com\/blog\/page-specific-301-redirects.html#article","isPartOf":{"@id":"https:\/\/www.directoryone.com\/blog\/page-specific-301-redirects.html"},"author":{"name":"Directory One","@id":"https:\/\/www.directoryone.com\/blog\/#\/schema\/person\/72b06653ae945412b7e913abee89833c"},"headline":"Page Specific 301 Redirects","datePublished":"2006-09-12T17:16:17+00:00","dateModified":"2013-07-14T14:48:59+00:00","mainEntityOfPage":{"@id":"https:\/\/www.directoryone.com\/blog\/page-specific-301-redirects.html"},"wordCount":204,"articleSection":["Website Coding"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.directoryone.com\/blog\/page-specific-301-redirects.html","url":"https:\/\/www.directoryone.com\/blog\/page-specific-301-redirects.html","name":"Page Specific 301 Redirects","isPartOf":{"@id":"https:\/\/www.directoryone.com\/blog\/#website"},"datePublished":"2006-09-12T17:16:17+00:00","dateModified":"2013-07-14T14:48:59+00:00","author":{"@id":"https:\/\/www.directoryone.com\/blog\/#\/schema\/person\/72b06653ae945412b7e913abee89833c"},"description":"Page specific 301 redirect","breadcrumb":{"@id":"https:\/\/www.directoryone.com\/blog\/page-specific-301-redirects.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.directoryone.com\/blog\/page-specific-301-redirects.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.directoryone.com\/blog\/page-specific-301-redirects.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.directoryone.com\/blog"},{"@type":"ListItem","position":2,"name":"Page Specific 301 Redirects"}]},{"@type":"WebSite","@id":"https:\/\/www.directoryone.com\/blog\/#website","url":"https:\/\/www.directoryone.com\/blog\/","name":"Search Engine Marketing &amp; Optimization Blog","description":"Directory One","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.directoryone.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.directoryone.com\/blog\/#\/schema\/person\/72b06653ae945412b7e913abee89833c","name":"Directory One","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/94a2a725f290fe27e63003e7e27744c1f1c9270a102b5c7bf307942ae0179a59?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/94a2a725f290fe27e63003e7e27744c1f1c9270a102b5c7bf307942ae0179a59?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/94a2a725f290fe27e63003e7e27744c1f1c9270a102b5c7bf307942ae0179a59?s=96&d=mm&r=g","caption":"Directory One"},"sameAs":["http:\/\/www.directoryone.com\/"],"url":"https:\/\/www.directoryone.com\/blog\/author\/admin"}]}},"_links":{"self":[{"href":"https:\/\/www.directoryone.com\/blog\/wp-json\/wp\/v2\/posts\/14","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.directoryone.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.directoryone.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.directoryone.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.directoryone.com\/blog\/wp-json\/wp\/v2\/comments?post=14"}],"version-history":[{"count":4,"href":"https:\/\/www.directoryone.com\/blog\/wp-json\/wp\/v2\/posts\/14\/revisions"}],"predecessor-version":[{"id":2317,"href":"https:\/\/www.directoryone.com\/blog\/wp-json\/wp\/v2\/posts\/14\/revisions\/2317"}],"wp:attachment":[{"href":"https:\/\/www.directoryone.com\/blog\/wp-json\/wp\/v2\/media?parent=14"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.directoryone.com\/blog\/wp-json\/wp\/v2\/categories?post=14"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.directoryone.com\/blog\/wp-json\/wp\/v2\/tags?post=14"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}