Question about site performance when there are a lot of redirects? I am planning on about 200 redirects in total. I haven't looked in the code so I don't know how it works exactly, will the redirects only be checked on that specific "From" page or will all 200 be ran through for every page request.

Thanks, just the module I needed by the way for migrating from Blogger to Drupal.

Comments

greggles’s picture

Status: Active » Fixed

If you have just 200 redirects there is no problem. I use this on sites with thousands of redirects without problem.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

3dloco’s picture

Status: Closed (fixed) » Active
Issue tags: +Performance, +redirect, +redirects, +path redirect, +url redirect

Hello Greggles,

I am currently migrating a site with about 15,000 nodes and I am looking to add redirects from old pages to new Drupal pages. However, I'd like to know if this could impact performance.

It would be helpful to know if Path Redirect would be ok for 15,000+ redirects.

Thanks in advance for your help,

KH

greggles’s picture

Status: Active » Fixed

All I can suggest is "try it and see."

Once you get beyond a trivial number (say 500) it starts to depend on a lot of things like how often they are used and how fast your server is.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

fnikola’s picture

We are trying to add almost 64,000 redirects and experiencing a huge performance issue. 3dloco, how did it go with 15,000 redirects?

3dloco’s picture

@ fnikola

I did implement the 15,000 redirects...but at the moment I don't have performance/benchmark data as this particular portion of site is still in development, but I will surely post an update once it goes thru final migration and switched over live.

Regards,

KH

pwaterz’s picture

Sounds like you should use apache mod rewrite and come up with a regular expression to forward your links.