We are having problems with configuring redirect rules on our sever.
For some reason, uploading 301 redirects (2300 of them) to .htaccess causes server errors.
When we add only a few redirects everything seems to be OK, but when we add the whole bulk the server displays an error.
We then discarded .htaccess as a solution and tried several redirect plugins, but this didn't work either. We would place the redirects into the plugin, everything would work for a couple of hours, after which time the number of imported redirects would be reduced from the original 2300 to 500 for some reason.
Is there any issue with GoDaddy managed Wordpress service handling this amount of redirects, or what else could be the problem?
The domain we are redirecting URLs from is ownzones.com
The domains we are redirecting URLs to are ownzones.com and flixsea.com, since we have created a new web site, and part of the content that was on the old website (ownzones.com) is now hosted on this new domain (flixsea.com), and the other part has remained on the same domain (ownzones.com)
Please advise and thank you
Solved! Go to Solution.
I'm not sure why you guys want's a lot of redirects .htaccess can be used for redirects yeah, mostly used for ssl but for pages though, it's 50/50 take this insight :
1 redirect takes 1 second delay plus eat's the memory/ram
Therefore : 60 seconds = 60 pages redirects = 1 minute.
If given too much the server ram will be exausted and won't even give you an accurate reason why it gives you 500 error.
A 500 error means there is something wrong yet even the server doesnt know about it.
Reason behind this is the server exhausted too much of it's efforts giving you yuor orders that even the server can't say: "hey your redirects are too much for me, my ram can't do it all"
And eventually give's in. bam! 500 his dead.
Solutions? lessen it. optimize or upgrade your resources.
Hope this helps.
Thanks for the reply. We are not having isses with 5xx errors.
I said that, since the .htaccess won't accept a large number of redirect rules for some reason, we resorted to using a plugin. The plugin works fine the 2300 redirects for a couple hours, but after that, for some reason the number of redirects is cut down to around 500. We talked to support, but they have no idea why it's not working either. Especially why .htaccess wont't accept the complete list of redirect rules.