310 Redirects For Every Instance?
Posted 26 January 2012 - 05:09 PM
I was wondering how nit-picky I should be in setting up redirects.
Can my .htaccess file be too large?
Posted 26 January 2012 - 05:10 PM
I try to send the 301 to the most logical place but in some cases there is no place.
For example we used to have a links directory but we discontinued it.
So when I find a 301 to a file in the links directory I usually send it to the home page.
After thinking about it I wondered if it would be better to create a new page or send the 301 to the site map.
Edited by A.N.Onym after merging a duplicate thread with this one.
Edited by A.N.Onym, 27 January 2012 - 12:24 AM.
Posted 26 January 2012 - 05:13 PM
Too many? I dunno, I have heard people here talk about too many, no idea myself. If it means having a bunch of links pointing to the right page / a relevant page then it can only be good for the use and you.
Posted 26 January 2012 - 06:12 PM
1. that there are no strung together 301s:
---the longer the chain the greater the likelyhood of error.
---Google is believed to reduce value(s) (PR has been mentioned by Matt Cutts) by ~15% per 301 in the chain. If this is true then for every additional - and now extraneous - 301 you are throwing away hard won value.
2. that there is substantive value to be derived above serving up a custom 404 not found page. Basically, either that there is some substantive traffic threshold looking in the wrong place(s) or in the wrong way(s) for the same destination or to clarify/simplify for SE indexing/ranking reasons, i.e. non-www to www (or vice versa), [ /index.html to / ].
My understanding is that there is no limit to the number of redirects allowed in htaccess. However, at some point server efficiency would be noticeably affected.
Posted 26 January 2012 - 06:24 PM
Posted 30 January 2012 - 06:26 PM
As I am not a techy person I used the tools I understood, so I dumped htaccess lines (a few hundred at a time) into a Wordpress Page and then ran the Broken Link Checker and Fixed Redirects. Then copied the lines back over. (if you decide to take this wacky approach note that in Broken Link Checker you can request it to only check Plain Text URLs and also only check Private (or Draft) pages, so it will not check an entire site each time. I used a smaller site (0 traffic) to do it all in though.
A painful and time consuming process, but I now know that each redirect in the file is used just once, no bouncing through 3 or 6 redirects before getting to the final destination.
There are probably faster, better and far more sensible ways of doing this.
Right, got 30 minutes to get my workout in!
Edited by jonbey, 30 January 2012 - 06:28 PM.
Posted 30 January 2012 - 07:30 PM
My guess is that fewer redirects (hopefully zero) within my site will please the bots and encourage them to dig deeper and return more often.
Posted 30 January 2012 - 07:52 PM
so I dumped htaccess lines (a few hundred at a time) into a Wordpress Page and then ran the Broken Link Checker and Fixed Redirects.
I don't think I have 100 lines so maybe it should only take me 1/2 a bloody age to tune it up. On second thought it will probably take me longer. (ADHD)
Reply to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users