Web Hosting Forum | Lunarpages
News: April 3, 2008 - New Contest! - Win 5 Years of Hosting and $1,000!
May 5, 2008 - May 08 Web Site of the Month? - Submit your LINKS!!!
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
May 16, 2008, 04:09:22 PM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: Redirecting large amount of pages  (Read 424 times)
vm0123
Trekkie
**
Offline Offline

Posts: 12


« on: March 14, 2008, 05:53:32 AM »

Hello I am redesigning my website and I will be forced to redirect (permanent 301) about 200 pages to different name. There is no way to use some sort logic of scripting, I will simply have to name each redirect in .htaccess file. This is due to me changing technologies behind the sceen (joomla 1.15 with OpenSEF to Joomla 1.5). I checked and because link names are long (about 125 characters average), my one redirect command will take about 250 bytes.
250bytes x 200 pages = 50000bytes = 50kb. As I already have some redirects, my htaccess file will grow to 60-75 KB or even more.
I have another 400 pages, that I will use small script to redirect to one page, so that should not be a problem. I have about 500 visitors per day with about 1200 page views.
I want to redirect these pages because many of them have google rank 3-4 and I do not want to loose that.
I know that big .htaccess files affect server performance. If I'll keep these redirects for 1-3weeks, will there be any problems with lunarpage support? Is there any limit on .htaccess file? Anything else I can do to put less stress on the server?

Thanks in advance!

Logged
Mitch
Lunarpages Traffic Cop
Senior Moderator
Berserker Poster
*****
Offline Offline

Posts: 6174



WWW
« Reply #1 on: March 14, 2008, 06:16:14 AM »

Could you give us an example of how the addresses are changing?  Is it changing from just the domain name or the full path of the address?  Something with just the domain should be easy to fix with one .htaccess rule.  This resource might help:

http://www.tamingthebeast.net/articles3/changing-domain-names.htm
Logged

vm0123
Trekkie
**
Offline Offline

Posts: 12


« Reply #2 on: March 14, 2008, 06:24:28 AM »

No, it is not just domain change. The name of the link changes. Example of one redirect:
redirect 301 /mySection/myCategory/Q_How_to_do_this_type_of_calculation_when_i_have_no_clue_what_to_do_now.html http://www.mysite.com/15_mySection/35_mycategory/124_Q-How-to-do-this-type-of-calculation-when-i-have-no-clue-what-to-do-now

That is all underscores will became dashes. Section and category name will get prefix and most importanty each link will also get unique identifier (124 in this case). This unique identifier does not exists in previous link, so that is why I believe I have to name each redirect.
I have no problem in building this big redirect list. I am just afraid that this might impact server and lunarpages support will not like it. Or should I just do this as this is not a big impact to server?
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM