• Hey all,
    I’m new to WordPress but have a lot of experience coding. My partner installed a forum plugin (bbPress), and it appears to have caused an infinite redirect loop on our homepage (beachfencers.com). My question is firstly, how do I fix this problem? And second, is there any error log or something I can check to help this process? The rest of the site is fine – the homepage is the only part caught in the infinite loop.
    Please help! We have the international championship to cover! ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi,

    1) Have you tried correcting WordPress Address URL and Site Address URL settings?

    In case you don’t have access to WordPress Admin area, you can still update these settings by defining them in wp-config.php file.

    Simply connect to your website using an FTP client.Locate wp-config.php file in your site’s root directory. You need to download and edit this file using a text editor like Notepad. Simply add these two lines to the file and don’t forget to replace example.com with your own domain.

    define('WP_HOME','https://example.com');
    define('WP_SITEURL','https://example.com');

    2) Use FTP to rename plugins folder (wp-content/plugins/) to filter out plugin specific issues.

    Thanks,

    Thread Starter superspartan999

    (@superspartan999)

    I’ve gone through every one of the .php files located in the /wp directory (not the wp-admin, etc. folders) and CTRL-F’d for ‘URL’, but I cannot these lines of code. Are you sure they’re in the wp-config folder? I’m using WordPress 4.2.2 – the only thing in the wp-config.php is database access definitions and some security keys. It would be helpful if I knew where the loop started, so I can check that page’s code specifically – do you know where the default redirect is when you go to the xxxxxx.com/wp is? I’m assuming it’s one of the .php files, but I don’t know which, and I can’t glean much information from the files themselves. And WordPress isn’t designed for people to go in and debug like I want to it seems, so is there any pro tech support that could help with this issue as well? It would be helpful to have someone with an intimate understanding of how these .php’s begin and interact with one another. Worse comes to worse, I can always remove the non-content files and reinstall WordPress – hopefully, that could solve it…

    Hi, you’re not looking for a folder called wp-config, you’re looking for a file called wp-config.php that will be in the root (topmost) directory of your WordPress files. You want to actually go into that file and edit it as Accuwebhosting described above.

    Thread Starter superspartan999

    (@superspartan999)

    I know – I’ve found wp-config.php in the root directory, but it only contains calls for the MySQL settings, authentication / salt keys, table prefix, debugger, and the WP directory.

    I have all the root files opened in Notepad++ and have tried a search through all files for WP_HOME, but cannot seem to find it…

    Although that may be problem actually… I feel like I should try removing the files and then reinstalling a fresh WordPress. Is there any easy way to do this without losing all the content I’ve added thus far?

    Hi,

    Please try adding these two lines to the wp-config.php file. (don’t forget to replace example.com with your own domain).

    define('WP_HOME','https://example.com');
    define('WP_SITEURL','https://example.com');

    2) Try deactivating all plugins (yes, all) to see if this resolves the problem.

    If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Home page caught in an infinite redirect’ is closed to new replies.