Welcome to WebmasterWorld Guest from

Forum Moderators: Ocean10000 & incrediBILL & phranque

Message Too Old, No Replies

Lots of 301 redirects - server load issue?

12:39 am on Dec 22, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Aug 29, 2003
votes: 0

I'm completely revamping a site that has good Google rankings and a lot of incoming links for many pages. It's my own site, and I'll take what comes as it really needs to be done. Moving the content has been a massive job though.

I'm moving the site from flat files (which had become way out of control) to WordPress, so all urls will change completely and there is no pattern matching possible. I've listed out about the 500 top pages and their new urls and will manually redirect them, but I've 2 things on my mind.

1. How much of an additional load on the server will this cause? There are not huge numbers of visitors but enough - maybe 80,000 uniques per month and growing.

2. I know Google generally deals with this quite well, but a lot of incoming links are on .edu sites and other sites that will probably never update them, or not for years. How long should I leave the redirects in place?

Thanks for any input.

3:20 pm on Dec 22, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member jdmorgan is a WebmasterWorld Top Contributor of All Time 10+ Year Member

joined:Mar 31, 2002
votes: 0

The redirects should be left in place until your server logs show that no requests have been received for the old URLs, and until you decide that you don't need the PageRank from the old incoming links any more.

On my own sites, the answer is, "forever."

For this reason, it's a very good idea to think about coming up with a 'friendly URL' architecture that will be portable in the future, no matter what CMS your site is based on. This will prevent ever having to change your URLs again. This can be a huge challenge, but is usually well worth the effort, at least for the top dozen or few-dozen pages of your site.

As for load, the initial load may be noticeable, but realize two things:
1) After the search engines atart updating their links, they won't be causing the redirects to be invoked any more.
2) Most requests to the 'average' server are not for pages; They are for images, CSS stylesheets, and external JavaScript files. So if you skip the redirect code completely for these and other 'non-page' URLs, then the load is significantly reduced.

Think about the redirect code in the same way as you think about PHP code; You have a few hundred lines of redirect code, but how many thousand lines of PHP code in that CMS? Therefore, the PHP execution time and 'load' will likely swamp the redirect code execution time, and you may not even notice it. However, this fact should not make you feel that any and all optimizations shouldn't be made to the redirect code -- Take every opportunity to make it efficient from the start, and then you just won't have to worry about it.