Viewing 15 replies - 16 through 30 (of 34 total)
  • Thread Starter Scott

    (@scottblackopsca)

    no .htaccess in any location
    windows hosting

    never used WordFence to change the logon url, I can’t find an option to do that.

    I see some plugins that say they can do that, and I though about trying to use one to change the URL to what I think it should be, but decided against it for now

    Thread Starter Scott

    (@scottblackopsca)

    I have been able to reproduce the issue,
    Install wordpress in a directory ?.com/test
    then change the root folder of the website and the url in wordpress to ?.com

    site still works but the /wp-admin folder still redirects to the old site.

    if you install wordpress in the root to start with then the /wp-admin redirect works just fine.

    Moderator James Huff

    (@macmanx)

    I am unable to reproduce the issue as described. Perhaps something in the server configuration, or a cache?

    Are you using any sort of caching plugin, or do you see a “Clear/Purge Cache” button in your Dashboard or admin bar? You mentioned a WordFence cache file earlier. If so, would you please try clearing the cache?

    Note: You do not need to install a caching plugin at this point just to clear a cache you don’t have. If you don’t have a caching plugin or a way to clear a server-level cache, just say so. ??

    Thread Starter Scott

    (@scottblackopsca)

    I have cleared the cache, no effect.
    I have disabled all plugins and find the issue persists.

    Moderator James Huff

    (@macmanx)

    Who are you hosted with, and have you contacted them for assistance with this yet? They may have better log access.

    Thread Starter Scott

    (@scottblackopsca)

    it is hosted with godaddy and they do not have any more information, or any clue at all.

    but I will try again

    Moderator James Huff

    (@macmanx)

    Is it GoDaddy Managed WordPress hosting, or just their standard hosting product?

    Thread Starter Scott

    (@scottblackopsca)

    standard hosting

    Can you give me an idea of how I can check the contents of the WP_Rewrite rules?

    Thread Starter Scott

    (@scottblackopsca)

    2 hours and 3 escalations and GD confirms that no only can they not find anything outside of wordpress that would cause the redirect, but on the hosting I have there is not even an option to provide that kind of redirect.

    the more I look at it the more it feels like the permalink style redirect within wordpress that is causing this.

    Broken
    https://www.airecanada.com/wp-admin

    Working
    https://www.airecanada.com/wp-admin/index.php

    it’s a folder level redirect I just can’t figure out where it is coded

    Moderator James Huff

    (@macmanx)

    There isn’t anything like that in WordPress, unless you’ve directly modified core files or added it to a .htaccess file.

    At this point, I recommend hiring someone to take a closer look at your whole setup.

    Please try https://jobs.wordpress.net/ or https://directory.codepoet.com/ and do not accept any hire offers posted to these forums.

    Thread Starter Scott

    (@scottblackopsca)

    A url like
    https://www.airecanada.com/2014/03/07/remembering-lucy/

    Does not really exist as a folder and files on the web server.

    The web server must be handling this either as
    1) a proactive redirect to index.php that knows how to respond for the supplied query string.
    2) a reactive redirect via a custom 404 error page.
    Because I know the 404 on this server I know that is not happening for me.

    The https://www.airecanada.com/wp-admin folder does exist.
    Typically this would mean that the web server would respond with the defalut document (index.php in this case)

    What I do see is that the result differs between https://www.airecanada.com/wp-admin and https://www.airecanada.com/wp-admin/index.php

    This suggests to me a proactive redirect, that you tell me is not part of wordpress and GD tells me can’t be part of the web server.

    Thread Starter Scott

    (@scottblackopsca)

    What I am looking for now is someone who can tell me how wp-admin/index.php gets redirected to https://www.airecanada.com/wp-login.php?redirect_to=http%3A%2F%2Fwww.airecanada.com%2Fblogs%2Fwp-admin%2F&reauth=1
    for unauthenticated users.

    I am not looking at hiring anyone to look at this.

    Moderator James Huff

    (@macmanx)

    Ok, I personally don’t have time to dig for that answer for free, but you can look through the code at https://core.trac.www.ads-software.com/browser/tags/4.2.1/src/wp-admin

    We followed up on Twitter. Looks like this is specifically related to Wordfence being run on Windows. Per their docs, Windows isn’t fully supported. ^Jesse

    Wordfence system requirements

    Moderator James Huff

    (@macmanx)

    Thanks for jumping in, GoDaddy!

Viewing 15 replies - 16 through 30 (of 34 total)
  • The topic ‘wp-admin redirect to wrong url’ is closed to new replies.