{"id":94,"date":"2009-03-19T16:01:46","date_gmt":"2009-03-19T15:01:46","guid":{"rendered":"http:\/\/blog.nethosted.co.uk\/?p=94"},"modified":"2009-03-24T18:50:01","modified_gmt":"2009-03-24T17:50:01","slug":"seo-friendly-redirects-with-301-htaccess","status":"publish","type":"post","link":"https:\/\/www.nethosted.co.uk\/blog\/search-engine-optimisation\/seo-friendly-redirects-with-301-htaccess","title":{"rendered":"SEO Friendly Redirects with 301 .htaccess"},"content":{"rendered":"<p>Making sure your web site is search engine friendly seems to be more and more important these days with the markets so competitive, it&#8217;s worth considering what the search engines will think if you redirect a page, because for example you want to give it a more search engine friendly URI.<\/p>\n<p>The best way to do this is using a 301 redirect, this tells any spiders that your page has moved permanently to a new address, and this should pass all PageRank and other benefits from the links you may have to your current page to your new page.<!--more--><\/p>\n<p>That&#8217;s all well and good, but how do I do this you may ask? Well, here&#8217;s how:<\/p>\n<p>You&#8217;ll be making some changes to your .htaccess file, this is usually found in your web root which is public_html\/ on our <a href=\"https:\/\/www.nethosted.co.uk\">web hosting<\/a>. Once you&#8217;ve located this file (or created it if it doesn&#8217;t exist) you will add the following lines:<\/p>\n<p><code><br \/>\nRewriteEngine On<\/p>\n<p>Redirect 301 \/oldpage.html \/newpage.html<br \/>\n<\/code><\/p>\n<p>That&#8217;s all their is to it!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Making sure your web site is search engine friendly seems to be more and more important these days with the markets so competitive, it&#8217;s worth considering what the search engines will think if you redirect a page, because for example you want to give it a more search engine friendly URI. The best way to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[63],"tags":[64],"aioseo_notices":[],"views":2900,"_links":{"self":[{"href":"https:\/\/www.nethosted.co.uk\/blog\/wp-json\/wp\/v2\/posts\/94"}],"collection":[{"href":"https:\/\/www.nethosted.co.uk\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nethosted.co.uk\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nethosted.co.uk\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nethosted.co.uk\/blog\/wp-json\/wp\/v2\/comments?post=94"}],"version-history":[{"count":2,"href":"https:\/\/www.nethosted.co.uk\/blog\/wp-json\/wp\/v2\/posts\/94\/revisions"}],"predecessor-version":[{"id":96,"href":"https:\/\/www.nethosted.co.uk\/blog\/wp-json\/wp\/v2\/posts\/94\/revisions\/96"}],"wp:attachment":[{"href":"https:\/\/www.nethosted.co.uk\/blog\/wp-json\/wp\/v2\/media?parent=94"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nethosted.co.uk\/blog\/wp-json\/wp\/v2\/categories?post=94"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nethosted.co.uk\/blog\/wp-json\/wp\/v2\/tags?post=94"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}