How to Fix File Redirects Slowing WordPress

A file redirect is not a 301 redirect on your website (URL change for SEO), but rather when you have an external script redirecting to another script – causing a delay.

Every effort should be taken to ensure the correct file is being linked, however, typically this is the result of a third party, such as social media advertisers’ tracking codes.

How to Find a File Redirect

Running your web page through a tool such as GT Metrix or Pingdom will let you see any redirect errors they pick up, typically colour coded to show where something failed to connect.

The Impact of File Redirects

If the redirect is successful, then your page will still work as expected. However, the impact here is that the browser has been forced to connect to a secondary request after the first has failed – adding new connect and wait times, after already waiting for the initial request. This adds up to slowing down the overall loading time of the page.

How to Resolve File Redirects

If it is from a third party, you don’t have much power. You can try to host their files locally instead, or alerting them to the issue in hopes of a resolution.

If it’s your own file, then you should have the control to replace the file with the correct one. It may be solved simply by clearing the cache, if you are having versioning issues.

Need Help Resolving File Redirects?

This is part of our optimization service. We can help you optimize your site above and beyond resolving file redirects for WordPress, just let us know what you are trying to achieve, and we will let you know how we can help.