Title: Bad redirection wp-admin
Last modified: January 27, 2022

---

# Bad redirection wp-admin

 *  Resolved [mydigicompany](https://wordpress.org/support/users/mydigicompany/)
 * (@mydigicompany)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/bad-redirection-wp-admin/)
 * After a first batch of settings during the setup, when site kit have to go back
   to WP admin, it got a wrong WP admin URL…
    [https://nimb.ws/Onm3hB](https://nimb.ws/Onm3hB)
   thanks

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/bad-redirection-wp-admin/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/bad-redirection-wp-admin/page/2/?output_format=md)

 *  Plugin Support [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * (@adamdunnage)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/bad-redirection-wp-admin/#post-15301146)
 * Hi [@mydigicompany](https://wordpress.org/support/users/mydigicompany/) thanks
   for getting in touch. In order for us to determine the setup failure point can
   you please confirm the following?
    1. Your [Site Health information](https://imgur.com/Rtkmsba). You can [use this form](https://docs.google.com/forms/d/1lhjns2K7c0Ny7ME4gxTcsnYtNUtcMr8BvFpPQi23Y1E/edit)
       to share privately if preferred.
    2. Are you redirected back to the main Site Kit dashboard directly after clicking
       on the “**Continue**” button after selecting your Google account during the 
       OAuth stage? If so please share the full URL you land back on from your browser
       address bar.
 * It sounds like you’re being redirected after the OAuth authentication stage. 
   If you want to share any response errors using a plugin such as [REST API Log](https://wordpress.org/plugins/wp-rest-api-log/)
   please include that within the form suggested above. After installing and activating
   you can access “**Tools > Rest API Log**” and open up any Site Kit related response.
 * Let me know if you have any questions with the above. There are other reports
   like this at present so once we have the information above we can provide some
   additional troubleshooting suggestions.
 *  Thread Starter [mydigicompany](https://wordpress.org/support/users/mydigicompany/)
 * (@mydigicompany)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/bad-redirection-wp-admin/#post-15301360)
 * HI !
    Many thanks
 * > Your Site Health information. You can use this form to share privately if preferred.
 * Done via the form
 * > Are you redirected back to the main Site Kit dashboard directly after clicking
   > on the “Continue” button after selecting your Google account during the OAuth
   > stage?
 * [https://nimb.ws/1/0dDMz2](https://nimb.ws/1/0dDMz2)
 * > If so please share the full URL you land back on from your browser address 
   > bar.
 * [https://schoodo.fr/myadmin/?action=googlesitekit_proxy_setup&googlesitekit_code=sitekit-YhqdG9zFPFsnbxXhQ88ALH&googlesitekit_site_code=4%2F0AX4XfWgdM8lJOqdY_QJZ9uq9V9m97SOodaq9_KJZ8NWGBkdnNfQUFSUFNDiat2SBffLx-A&nonce=03728e4724](https://schoodo.fr/myadmin/?action=googlesitekit_proxy_setup&googlesitekit_code=sitekit-YhqdG9zFPFsnbxXhQ88ALH&googlesitekit_site_code=4%2F0AX4XfWgdM8lJOqdY_QJZ9uq9V9m97SOodaq9_KJZ8NWGBkdnNfQUFSUFNDiat2SBffLx-A&nonce=03728e4724)
 * > share any response errors using a plugin such as REST API Log
 * Seems no error…
    [https://nimb.ws/JlqTMC](https://nimb.ws/JlqTMC)
 *  Plugin Support [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * (@adamdunnage)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/bad-redirection-wp-admin/#post-15301463)
 * [@mydigicompany](https://wordpress.org/support/users/mydigicompany/) thanks very
   much for providing all the information it’s very useful. There is an open GitHub
   issue for this which you can follow here: [https://github.com/google/site-kit-wp/issues/4701](https://github.com/google/site-kit-wp/issues/4701).
 * If possible could you perform some additional troubleshooting? During testing
   once you land back on your wp-admin screen please share the following:
    1. Any browser [console errors](https://imgur.com/KyLAzgH) that appear
    2. Any [XHR response](https://drive.google.com/file/d/19sl0VBsTwdGhPrEIAkt9MDjWgKLex2hG/view)
       on the same URL
 * If we’re able to obtain the above information I can escalate this with the team
   or see if there is anything we can determine. Regardless I will certainly let
   you know if we can determine anything based on the insights we have on the GitHub
   issue so far.
 *  Thread Starter [mydigicompany](https://wordpress.org/support/users/mydigicompany/)
 * (@mydigicompany)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/bad-redirection-wp-admin/#post-15301526)
 * > Any browser console errors that appear
 * [https://nimb.ws/zPDIoh](https://nimb.ws/zPDIoh)
    [https://nimb.ws/P53Giu](https://nimb.ws/P53Giu)
 * > Any XHR response on the same URL
 * not sure 😉
    [https://nimb.ws/0CI3Pr](https://nimb.ws/0CI3Pr)
    -  This reply was modified 4 years, 4 months ago by [mydigicompany](https://wordpress.org/support/users/mydigicompany/).
 *  Plugin Support [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * (@adamdunnage)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/bad-redirection-wp-admin/#post-15301642)
 * Thanks for providing all of this information. We will continue to investigate
   this and will provide an update for you as soon as we can.
 *  Plugin Support [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * (@adamdunnage)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/bad-redirection-wp-admin/#post-15310170)
 * [@mydigicompany](https://wordpress.org/support/users/mydigicompany/) Have you
   tried resetting your Site Kit and trying setup once more? If not you can reset
   by going to **Tools > Available Tools > Reset Site Kit**.
 * Please let me know if this makes any difference.
 *  Thread Starter [mydigicompany](https://wordpress.org/support/users/mydigicompany/)
 * (@mydigicompany)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/bad-redirection-wp-admin/#post-15313037)
 * Hi [@adamdunnage](https://wordpress.org/support/users/adamdunnage/)
    Just did(
   with Tools > Available Tools > Reset Site Kit inside WP, can’t within the plugin
   Site Kit) but same resultat
 *  Plugin Support [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * (@adamdunnage)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/bad-redirection-wp-admin/#post-15314048)
 * [@mydigicompany](https://wordpress.org/support/users/mydigicompany/) thanks for
   confirming. When submitting your Site Health Info previously I have noticed that
   Site Kit is missing from your plugins. Would you be able to submit this information
   again with Site Kit installed and active after hitting the issue please as we
   can get more insights from this.
 *  Plugin Support [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * (@adamdunnage)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/bad-redirection-wp-admin/#post-15395344)
 * [@mydigicompany](https://wordpress.org/support/users/mydigicompany/) Just checking
   in here to see if you are still experiencing problems in your Site Kit? If yes
   would you be able to submit your Site Health as requested above whilst you have
   Site Kit installed on your site?
 *  Thread Starter [mydigicompany](https://wordpress.org/support/users/mydigicompany/)
 * (@mydigicompany)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/bad-redirection-wp-admin/#post-15426771)
 * Hi [@adamdunnage](https://wordpress.org/support/users/adamdunnage/)
    Just did
   it via the google form ([https://docs.google.com/forms/d/1lhjns2K7c0Ny7ME4gxTcsnYtNUtcMr8BvFpPQi23Y1E/edit](https://docs.google.com/forms/d/1lhjns2K7c0Ny7ME4gxTcsnYtNUtcMr8BvFpPQi23Y1E/edit))
   Before, i’ve updated Google Site Kit and try to connect again with no success
   thanks
 *  Plugin Support [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * (@adamdunnage)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/bad-redirection-wp-admin/#post-15426809)
 * [@mydigicompany](https://wordpress.org/support/users/mydigicompany/) thank you
   for the information. It would be useful at this point to rule out any potential
   plugin conflict. We have a [guide on using the troubleshooting mode plugin](https://sitekit.withgoogle.com/documentation/troubleshooting/using-troubleshooting-mode/)
   to highlight any plugin conflicts that could be causing issues with Site Kit.
 * Please could you follow the steps in the guide and let me know if this highlights
   and plugin conflicts.
 *  Thread Starter [mydigicompany](https://wordpress.org/support/users/mydigicompany/)
 * (@mydigicompany)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/bad-redirection-wp-admin/#post-15427639)
 * Exact same issue [@adamdunnage](https://wordpress.org/support/users/adamdunnage/)
   
   [https://nimb.ws/1hvYsR](https://nimb.ws/1hvYsR)
 *  Plugin Support [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * (@adamdunnage)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/bad-redirection-wp-admin/#post-15433173)
 * [@mydigicompany](https://wordpress.org/support/users/mydigicompany/) thanks for
   traying this and your patience throughout. I will discuss this internally with
   the team and run some further checks. Once complete I will provide you with an
   update here.
 *  Plugin Support [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * (@adamdunnage)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/bad-redirection-wp-admin/#post-15438797)
 * [@mydigicompany](https://wordpress.org/support/users/mydigicompany/) Having checked
   the service on the back-end, we can see that you are registered with ‘**myadmin**‘
   in the return URI. I presume that at some point you have updated your admin path
   to ‘**wp-admin**‘ We are unable to fix this if you are not connected with Site
   Kit.
 * The best way to fix this would be to change your admin path back to ‘**myadmin**‘
   and then complete your Site Kit setup. Once done you will be able to change your
   admin path back to ‘**wp-admin**‘
 * You could also try changing the value of ‘**myadmin**‘ to ‘**wp-admin**‘ in the
   address bar when you are redirected and continue setup.
 * Hope this helps and please let me know if you have any further questions.
 *  Thread Starter [mydigicompany](https://wordpress.org/support/users/mydigicompany/)
 * (@mydigicompany)
 * [4 years, 3 months ago](https://wordpress.org/support/topic/bad-redirection-wp-admin/#post-15439204)
 * Hi [@adamdunnage](https://wordpress.org/support/users/adamdunnage/)
 * > The best way to fix this would be to change your admin path back to ‘myadmin‘
   > and then complete your Site Kit setup. Once done you will be able to change
   > your admin path back to ‘wp-admin‘
 * It was (and still is) my admin URL… Where can i change that anyway ?
 * > You could also try changing the value of ‘myadmin‘ to ‘wp-admin‘ in the address
   > bar when you are redirected and continue setup.
 * this trick works !
    SiteKit is now enable 😉 many thanks !

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/bad-redirection-wp-admin/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/bad-redirection-wp-admin/page/2/?output_format=md)

The topic ‘Bad redirection wp-admin’ is closed to new replies.

 * ![](https://ps.w.org/google-site-kit/assets/icon-256x256.png?rev=3141863)
 * [Site Kit by Google - Analytics, Search Console, AdSense, Speed](https://wordpress.org/plugins/google-site-kit/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/google-site-kit/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/google-site-kit/)
 * [Active Topics](https://wordpress.org/support/plugin/google-site-kit/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/google-site-kit/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/google-site-kit/reviews/)

 * 18 replies
 * 2 participants
 * Last reply from: [Adam Dunnage](https://wordpress.org/support/users/adamdunnage/)
 * Last activity: [4 years, 3 months ago](https://wordpress.org/support/topic/bad-redirection-wp-admin/page/2/#post-15440712)
 * Status: resolved