404 Redirection
Plugin causes redirect loop (Solution) (2 posts)

  1. sdaveCL
    Posted 3 years ago #

    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:



  2. sdaveCL
    Posted 3 years ago #

    I see this still hasn't been addressed.


    WordPress directory: example.com/wordpress
    Actual blog web address: example.com

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • 404 Redirection
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.