• I was having issues with the do_redirect function taking too much of my server’s resources. I currently have about 16,000 redirects and the function was calling all 16,000 from the database, then looping through to find the correct redirect. It often took about 10 minutes for the correct redirect to go through.

    I would recommend changing the SQL query to only return relevant redirects.

The topic ‘Efficiently Find Redirect’ is closed to new replies.