• Resolved Floris

    (@florismk)


    When I visit the WordFence dashboard after receiving an email alert, and click the Notifications link, I end up in an endless loop of having to log in to my admin dashboard again and again.

    Looking into the issue, I find that the link on the dashboard to Notifications has an extra slash:

    https://www.floriskleijne.com

      //

    wp-admin/admin.php?page=WordfenceScan

    Copying the link and removing the extra slash gets me to the Notifications page normally. Seems that something goes wrong in concatenating the URL.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Go and modify your WordPress Address (URL) and Site Address (URL) in general setting.

    Thread Starter Floris

    (@florismk)

    It is not actually possible to modify the address and URL to include a slash, jackarray. I’ve corresponded with WordPress in the past, because I needed my address and URL to include a slash. Not possible, they told me. Saving address and URL with slash immediately removes the slash.

    So I’m fairly sure that this is not the address/URL fields.

    And even if it was possible, I’d rather not modify a global setting to fix an isolated problem. The impact of a change in address/URL may be larger than the problem I’m trying to fix.

    Hi Floris,

    We are using site_url and network_site_url functions to get your website URL, both functions don’t return a trailing slash, then we add a slash and the designated admin page URL, something like that:

    $siteurl .= '/' . ltrim($path, '/');

    I wonder if your website is a WordPress Network site or not? also, did you add custom “WP_SITEURL” or “WP_HOME” constants in wp-config.php file? this can be seen in (Wordfence > Tools > Diagnostics > WordPress Settings).

    Thanks.

    Thread Starter Floris

    (@florismk)

    Hi wfalaa,

    Thanks for responding. I’m on a provider-hosted WordPress install under my own domain. I don’t know what a WordPress Network site is, so I’m pretty sure it isn’t. Also, I haven’t set the custom constants. Double checked in Diagnostics: (not set).

    Any other thoughts will be greatly appreciated.

    Floris

    Hi Floris,

    Actually, I’ve double checked this issue and as far as I can tell, this extra slash shouldn’t log you out of your website, I’ve tested that on a site of my own and it simple directed me to the scan results page.

    I suggest doing a plugin conflict test, this can be done by deactivating other plugins other than Wordfence, then recheck this issue if everything went alright, then you can re-enable the plugins one by one till you figure out the culprit.

    You can also try reverting to the default WordPress theme and recheck this issue.

    Let me know how it goes,
    Thanks.

    Hi @florismk!
    We haven’t heard back from you for a while so I’m going to resolve this thread. If you have any other issues later on, please feel free to start a new one at any time. Thank you!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Notifications link leads to endless login loop’ is closed to new replies.