{"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 v14.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Page Specific 301 Redirects<\/title>\n<meta name=\"description\" content=\"Page specific 301 redirect\" \/>\n<meta name=\"robots\" content=\"index, follow\" \/>\n<meta name=\"googlebot\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta name=\"bingbot\" 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=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@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\":\"https:\/\/www.directoryone.com\/blog\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.directoryone.com\/blog\/page-specific-301-redirects.html#webpage\",\"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\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.directoryone.com\/blog\/page-specific-301-redirects.html\"]}]},{\"@type\":[\"Person\"],\"@id\":\"https:\/\/www.directoryone.com\/blog\/#\/schema\/person\/72b06653ae945412b7e913abee89833c\",\"name\":\"Directory One\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.directoryone.com\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/94a2a725f290fe27e63003e7e27744c1f1c9270a102b5c7bf307942ae0179a59?s=96&d=mm&r=g\",\"caption\":\"Directory One\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_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}]}}