Support » Plugin: 404 Redirection » [Plugin: 404 Redirection] Plugin causes redirect loop (Solution)

  • sdaveCL


    I have WordPress files installed to their own folder, rather than residing at the base level public_html directory on my server.

    With your plugin, 404 codes go into a redirect loop.

    This is because your plugin calls for the directory of the WordPress install folder, not the base url.

    The fix is simple.

    In the plugin files for 404 Redirection, line 35 of index.php must be changed from this:


    to THIS:


Viewing 1 replies (of 1 total)
  • I see this still hasn’t been addressed.


    WordPress directory:
    Actual blog web address:

    Plugin redirects 404s to install folder, not blog address.

    I realize not everybody installs WordPress in a sub-directory, but could you please mention how to fix this in the FAQ?

    Perhaps it is better to change ‘wpurl’ to ‘siteurl’ in the code rather than just ‘url’ as I suggested above.

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: 404 Redirection] Plugin causes redirect loop (Solution)’ is closed to new replies.