Comments on: How to setup a 301 Redirect https://dailyblogtips.com/how-to-setup-a-301-redirect/ DailyBlogTips.com takes you from SEO to CEO. You’ll learn everything you need to know to master blogging, SEO, marketing, web design leading you to passive income. Mon, 24 Jul 2023 21:52:36 +0000 hourly 1 https://wordpress.org/?v=6.4.3 By: Togrul https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-1289392 Sat, 26 Feb 2011 22:23:23 +0000 https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-1289392 Thanks for such an informative post.

It helped me much.

Cheers,
Togrul

]]>
By: Chris Lang https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-1283006 Mon, 22 Nov 2010 11:51:03 +0000 https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-1283006 Forgot to mention that you have done a great service to all blog users and that you have great resource on your site.

Thank you and best wishes to you.

]]>
By: William Summers https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-1261345 Wed, 29 Sep 2010 19:44:33 +0000 https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-1261345 Great Tutorial. The PHP code worked great but I am having some serious issues with the ASP code for another site. When applied to the default.asp page I get the following error, Microsoft VBScript compilation error ‘800a0400’. So I removed the code so the site will work.

Any ideas will be greatly appreciated.

]]>
By: Udegbunam Chukwudi https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-1202763 Sun, 04 Jul 2010 11:56:36 +0000 https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-1202763 In reply to Shannon – SKS Designs.

@Shannon – SKS Designs: I suggest you install Scott Yang’s Permalink Redirect plug-in. I use it on my blog and it works like a charm 😉

]]>
By: Udegbunam Chukwudi https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-1202760 Sun, 04 Jul 2010 11:54:00 +0000 https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-1202760 Thanks for a nice tutorial. The PHP Single Page Redirect just came in handy as I created a custom 404 page for my blog and main site. 😉

]]>
By: Chris Schwarz https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-1140457 Fri, 09 Apr 2010 04:28:49 +0000 https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-1140457 Hi,

I am bringing in in a new website and plan on setting up 301 redirects in the .htaccess file.

Do I need to keep the OLD .html pages on the server?

]]>
By: Shannon - SKS Designs https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-1101466 Fri, 26 Feb 2010 16:45:06 +0000 https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-1101466 I am currently using the following permalink structure and am looking to change it through a HTACCESS 301 redirect but cannot find the code that works.

Currently permalink: /%year%/%monthnum%/%postname%.html
Future permalink: /%postname%

So, I want to remove the year and month from all posts and well as the .html ending.

Can someone help me?

]]>
By: pozycjonowanie https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-958569 Tue, 25 Aug 2009 17:32:17 +0000 https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-958569 Moved permanently is big part of SEO. It’s elementary know-how every SEO Specialist.

Most important implementation in link building:

* allow to collect linkjuice

]]>
By: Golland https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-916029 Tue, 07 Jul 2009 16:01:53 +0000 https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-916029 After hours on the phone with technical support it seems my hosting company won’t support the use of 301 re-directs.

My site is on a Windows server and there doesn’t seem to be any way to make it work.

Now looking for a new host that uses Linux servers and has better technical support!

]]>
By: Alexs https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-893010 Fri, 12 Jun 2009 01:40:01 +0000 https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-893010 After surfing online for an hour, I finally found an answer to my problem, tried it out and URL redirection worked like a charm. Unlike other sites I found, your article is concise, less words and straight to the point.

Some readers might find this helpful, if your launching a new website or blog, plan from the beginning if you’re going to use the root of your website or if you’re going to use a subfolder. I installed my blog (wordpress) to a subfolder, and eventually changed my mind and want to move my blog to the root directory. Fortunately there is this URL redirection thing.

Now I can finally use my main domain without typing any additional subfolders.

Nice article thank you!

]]>
By: Email Tracking https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-869641 Fri, 15 May 2009 03:03:09 +0000 https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-869641 I have done canonical redirection in ASP.

Google is treating my main page as “/” and also as “default.asp”

I mean when I log in to webmaster tools, google is saying that I have a duplicate content on two pages and pages are “/” and “default.asp”

Can anyone tell me why is it doing so?

]]>
By: wie bali https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-855113 Wed, 29 Apr 2009 02:06:28 +0000 https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-855113 Thank you for the tip 🙂 You’ve inspired me to bring my .htaccess file up to speed.

]]>
By: Mohamed Beshr https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-810389 Thu, 19 Mar 2009 19:05:47 +0000 https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-810389 very good and i will apply some of them to my site

]]>
By: Sameer Arora https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-778742 Thu, 19 Feb 2009 04:34:05 +0000 https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-778742 hi,

this is really a nice URL

I wonder if anyone could advise me on how to setup a 301 redirect page using html ?

I have some URLs with .htm extensions indexed by Google
I can only see php and asp stuff here

]]>
By: Bang Kritikus https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-757830 Wed, 28 Jan 2009 04:23:24 +0000 https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-757830 Thanks for your nice tips, Daniel.

]]>
By: Tarik https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-732598 Wed, 07 Jan 2009 02:58:19 +0000 https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-732598 When I use the .htaccess method, it redirects all my non-www traffic to the homepage. That’s a big mistake.

I recommend using the PHP direct. Much cleaner. No .htaccess files to deal with, plus it’s a pitch and paste coding task. Redirect 100% better.

Thanks for the tips, Daniel.

]]>
By: Dave Slade https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-720981 Sun, 28 Dec 2008 23:56:03 +0000 https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-720981 Hi

Hey guess what i found out : Did you know that you can manually choose the domain page by going to googles webmaster page and chose the settings tab.

]]>
By: Gary Conner https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-633276 Mon, 20 Oct 2008 00:59:16 +0000 https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-633276 The code to go the other direction is above under “PHP Canonical Redirect”.

Thanks again!

]]>
By: Hendry Lee https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-630873 Fri, 17 Oct 2008 09:42:17 +0000 https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-630873 If you can avoid PHP or other backend level redirection if you have access to .htaccess. Not only will it be faster because you don’t have to start PHP every time someone enters or visit your blog or site with the “wrong” canonical name.

Code-level redirection is necessary only if it is application specific, or not as permanent.

]]>
By: graphic art https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-595259 Thu, 04 Sep 2008 06:15:02 +0000 https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-595259 I tried doing it. But after several minutes my server went down. Internal server error. I removed the .htaccess file and it goes up again.

]]>
By: Get a free website https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-518193 Thu, 03 Jul 2008 22:40:06 +0000 https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-518193 thanks a lot for this tip. Will use it on all of my sites from now on.

]]>
By: Internet Marketing Leeds https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-516870 Wed, 02 Jul 2008 18:47:01 +0000 https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-516870 ..really useful and informative post.
I have just successfully redirected a site by ammending a code that wasn’t working due to an error…thanks for sharing.

]]>
By: SEO Genius https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-505098 Sat, 21 Jun 2008 16:54:32 +0000 https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-505098 Yey 😀 been wanting to know how to do this for a while now

]]>
By: isaac https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-503290 Thu, 19 Jun 2008 16:23:19 +0000 https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-503290 do the redirecting through the net for me

]]>
By: Ashfame https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-494586 Wed, 11 Jun 2008 11:17:00 +0000 https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-494586 Thanks Daniel for the article and the help via IM. Got it done through .htaccess file.

]]>
By: shekhar suman https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-372880 Wed, 02 Apr 2008 18:56:50 +0000 https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-372880 well recently we moved to a new domain frm googlepages free server, now the worst part is googlepages doesnt support any of the methods stated above, only option left is meta refresh and loose my pagerank, any other solution i could not find till now, can any one of you help me out???????????????

]]>
By: Tom - Graphic Design https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-334048 Fri, 29 Feb 2008 16:09:39 +0000 https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-334048 Thanks for the useful info! I used your advice to easily setup a 301 on our design site!

]]>
By: Gilbert https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-222454 Wed, 05 Dec 2007 11:46:51 +0000 https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-222454 There’s an error on the ASP single page redirect.

The line that reads Response.AddHeader= should not have the =

Response.AddHeader=’Location’,’http://www.new-url.com/’ won’t work

Response.AddHeader ‘Location’,’

]]>
By: cachiladomr https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-175921 Sat, 10 Nov 2007 21:27:45 +0000 https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-175921 ricacelcaal

]]>
By: MaiURL https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-160864 Wed, 31 Oct 2007 20:01:25 +0000 https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-160864 thanx bro.. i search many at google.. but your tips is better..

]]>
By: Chris https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-143542 Sun, 14 Oct 2007 22:01:49 +0000 https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-143542 Great article!
But I do have a question about the www or no www
Where exactly do I add this code? .htaccess file?

]]>
By: Ashwini https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-132512 Sun, 30 Sep 2007 09:33:10 +0000 https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-132512 I have a question.
I currently work on blogger domain and will soon shift to a custom domain.301 redirect will be enough to transfer the google juice but does the same goes for Technorati?

]]>
By: Jerry Peters https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-109213 Thu, 06 Sep 2007 01:44:10 +0000 https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-109213 The ASP Canonical Redirect code above is for redirecting the non-www domain name to the www domain name. What is the code if you are going the opposite direction–redirecting from the www domain name to the non-www domain name?

Also, I assume the code is placed at the top of every page before the and tags. Is this correct?

Thanks in advance for your help on this.

]]>
By: Outlaw https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-92562 Mon, 20 Aug 2007 11:33:42 +0000 https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-92562 Very interesting info. However did anyone have any experience with trailing slashes at the end of subdirectory on your domain. For instance:
domain.com/folder and
domain.com/folder/
how are these treated? I saw some of people having problems with that and both pages indexed. any htaccess ideas on that?

]]>
By: Tricia https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-80331 Sat, 04 Aug 2007 00:48:59 +0000 https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-80331 I’m using a 301 redirect on my main blog feverishthoughts.com to include the www. The problem is that I have a few other blogs on this domain that I put in directories ie feverishthoughts.com/oddplanet. I want the directory blogs to have urls that do not contain the www because they have higher PR without the www in their urls, yet the main domain has a higher PR with the www in it’s url.

So I’ve been using the nowww plugin on my directory blogs to keep the www out of the urls. I suspect this might actually be causing a bit of a problem on a few of the blogs because now they occasionally have the primary domain thewebfiles in their url as well if it’s accessed without a trailing slash. for example the Odd Planet blog sometimes converts it’s urls to feverishthoughts.thewebfiles.com/oddplanet

I’d like to use an htaccess redirect to keep the www out my directory urls so I could avoid using the plugin. I’ve also read that the plugin might be using more cpu resource in my account and I’ve just had a terrible experience with web hosts and cpu resource over use so I want to trim down.

Do you have any idea what htaccess redirect I might use to solve my problem?

]]>
By: Daniel https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-64693 Sat, 14 Jul 2007 16:14:38 +0000 https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-64693 TechZilo, maybe it is something related to your host then.

The easiest option now is just to go to Google Webmaster tools, verify your blog and choose a “Preferred Domain”, that way Google at least will know what version it should use.

]]>
By: TechZilo https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-64522 Sat, 14 Jul 2007 11:20:42 +0000 https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-64522 I tried the plugin,but it took down the blog.
i tried the php one, but it didnt work. can you explain in detail?

]]>
By: Daniel https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-64502 Sat, 14 Jul 2007 10:56:38 +0000 https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-64502 Did you try the PHP one? If the PHP words there is no need to use an .htaccess redirect. Also there is a plugin that does this job, check this post:

]]>
By: TechZilo https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-64421 Sat, 14 Jul 2007 08:32:37 +0000 https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-64421 I don’t have an htaccess file now, and need to upload one. My FTP client, fireftp, doesnt allow upload of .htaccess file

I tried uploading a txt and renaming it to .htaccess
it didnt work either.

how can i set up htaccess redirect now?

]]>
By: Daniel https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-62884 Thu, 12 Jul 2007 12:52:16 +0000 https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-62884 Put it in the beginning, but it should not matter.

]]>
By: TechZilo https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-62828 Thu, 12 Jul 2007 10:34:13 +0000 https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-62828 Yes, Canonical redirect. Where in header? at the beginning, middle or end?

]]>
By: Daniel https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-62821 Thu, 12 Jul 2007 10:19:21 +0000 https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-62821 Which one, the PHP Canonical redirect?

This one go on the header.php file on your theme.

]]>
By: TechZilo https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-62815 Thu, 12 Jul 2007 10:12:32 +0000 https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-62815 I couldn’t understand the second method, ie non-www to www redirect. Where should I place the code? .htaccecss?

]]>
By: FilterInternet https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-19799 Fri, 04 May 2007 07:58:14 +0000 https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-19799 What should I do if my virtual host provider do not configure IIS to do redirect for me? My host use html+asp.

]]>
By: praguebuzz https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-9544 Mon, 02 Apr 2007 17:14:58 +0000 https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-9544 By: bohemianbiz https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-9371 Mon, 02 Apr 2007 10:12:37 +0000 https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-9371 wow, many many thanks. I used the .htaccess way, and it worked like a charm. now i understand why sometimes I see a google page rank of 4 and sometimes 0 on a site of mine. those nasty “wwww” makes huge difference.

]]>
By: Affiliate Manager https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-4329 Sat, 17 Mar 2007 23:37:42 +0000 https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-4329 For the most part I’ve been trying to make sure all of my sites just have the redirect for www. to the non www. For one, it’s a lot easier and quicker to type in the non “www” and if I’m going to submit my sites to hundreds of directories, it can save a lot of time.

So, I personally go with non “www.” 🙂

]]>
By: Enblogopedia https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-1255 Tue, 13 Feb 2007 18:04:20 +0000 https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-1255 Well I think it`s the easiest way,
check this article. I don’t mess with my file templates..and I think the code is true but I want the “OKAY” from a prof. that`s all. :s

]]>
By: Daniel https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-1254 Tue, 13 Feb 2007 17:45:43 +0000 https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-1254 Enblogopedia, I am not sure about changing the URL structure with .htaccess. I tried it sometime ago with PHP, but it was a mess.

I will let you know if I find something online.

]]>
By: Daniel https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-1059 Sat, 10 Feb 2007 18:55:21 +0000 https://dailyblogtips.com/how-to-setup-a-301-redirect/#comment-1059 Lionel, that is a good way to solve the problem of redirecting single files without affecting the whole website, thanks for sharing.

]]>