Set up Site kit results in 404
-
Hello,
I’ve used this plugin in numerous websites, but with my latest project I can’t get it to work. Whenever I want to set it up I sign in my account. Then I get a notice that Site kit wants access to my account, when I proceed to the next step I get redirected back to my website and it displays a 404. The URL is as follows;
http://xxx/wp-admin/?action=googlesitekit_proxy_exchange_site_code&googlesitekit_code=sitekit-qCL3Vy6uFxxQShmoHRN9CR&googlesitekit_site_code=4%2F0AWgavdcq_GsncMiGFciFFfmXxpo_HnlNML7R30RRhfXb2ksBNj28NzrTkKH2sg_cHsgDVQ&nonce=0d9fd49420&step=verification
I updated to the last version, and WordPress is also updated but after a week I still can’t get it to work.
Any suggestions?
-
Thanks for getting in touch. So we can assist you and ensure the plugin works as expected, please share the following:
- Your Site Health information. You can use this form to share privately if preferred.
- Any console errors you get when encountering the 404 error
Let me know if you have nay questions with the above.
Hello,
This is the only console error that I get;
Failed to load resource: the server responded with a status of 404 ()
Site Health Information;
wp-core version: 6.1.1 site_language: nl_NL user_language: nl_NL timezone: Europe/Amsterdam permalink: /%postname%/ https_status: true multisite: false user_registration: 0 blog_public: 1 default_comment_status: closed environment_type: production user_count: 2 dotorg_communication: true wp-paths-sizes wordpress_path: /data/sites/web/xx/checkout/master/17f6f8d1ff7425c9513c29a66a0345eb56aa50d7/web/wp wordpress_size: loading… uploads_path: /data/sites/web/xx/checkout/master/17f6f8d1ff7425c9513c29a66a0345eb56aa50d7/web/app/uploads uploads_size: loading… themes_path: /data/sites/web/xx/checkout/master/17f6f8d1ff7425c9513c29a66a0345eb56aa50d7/web/app/themes themes_size: loading… plugins_path: /data/sites/web/xx/checkout/master/17f6f8d1ff7425c9513c29a66a0345eb56aa50d7/web/app/plugins plugins_size: loading… database_size: loading… total_size: loading… wp-active-theme name: xx version: 10.x-dev author: g2o author_website: https://xx.nl/ parent_theme: none theme_features: sage, widgets-block-editor, soil, menus, title-tag, post-thumbnails, responsive-embeds, html5, customize-selective-refresh-widgets, widgets theme_path: /data/sites/web/xx/checkout/master/17f6f8d1ff7425c9513c29a66a0345eb56aa50d7/web/app/themes/xx wp-mu-plugins (1) Bedrock Autoloader: version: 1.0.3, author: Roots wp-plugins-active (9) Advanced Custom Fields PRO: version: 5.12.3, author: Delicious Brains (latest version: 6.0.6) Gravity Forms: version: 2.6.8, author: Gravity Forms ManageWP - Worker: version: 4.9.16, author: GoDaddy Search & Filter Pro: version: 2.5.13, author: Code Amp Site Kit by Google: version: 1.90.1, author: Google SVG Support: version: 2.5.5, author: Benbodhi WP-PageNavi: version: 2.94.0, author: Lester 'GaMerZ' Chan Yoast Duplicate Post: version: 4.5, author: Enrico Battocchi & Team Yoast Yoast SEO: version: 19.14, author: Team Yoast wp-media image_editor: WP_Image_Editor_Imagick imagick_module_version: 1691 imagemagick_version: ImageMagick 6.9.11-60 Q16 x86_64 2021-01-25 https://imagemagick.org imagick_version: 3.7.0 file_uploads: File uploads is turned off post_max_size: 256M upload_max_filesize: 256M max_effective_size: 256 MB max_file_uploads: 20 imagick_limits: imagick::RESOURCETYPE_AREA: 122 MB imagick::RESOURCETYPE_DISK: 1073741824 imagick::RESOURCETYPE_FILE: 768 imagick::RESOURCETYPE_MAP: 512 MB imagick::RESOURCETYPE_MEMORY: 256 MB imagick::RESOURCETYPE_THREAD: 1 imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, APNG, ART, ARW, AVI, AVIF, AVS, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CR3, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DJVU, DNG, DOT, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, EXR, FAX, FILE, FITS, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, GV, H, HALD, HDR, HEIC, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, JBG, JBIG, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPG, MRW, MSL, MSVG, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PANGO, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, POCKETMOD, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, SVG, SVGZ, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIDEO, VIFF, VIPS, VST, WBMP, WEBM, WEBP, WMF, WMV, WMZ, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV gd_version: bundled (2.1.0 compatible) gd_formats: GIF, JPEG, PNG, WebP, BMP ghostscript_version: 9.53.3 wp-server server_architecture: Linux 5.10.103-xx x86_64 httpd_software: Apache php_version: 7.4.33 64bit php_sapi: fpm-fcgi max_input_variables: 20000 time_limit: 300 memory_limit: 256M max_input_time: 60 upload_max_filesize: 256M php_post_max_size: 256M curl_version: 7.74.0 OpenSSL/1.1.1k suhosin: false imagick_availability: true pretty_permalinks: true wp-database extension: mysqli server_version: 5.7.40-43-log client_version: mysqlnd 7.4.33 max_allowed_packet: 67108864 max_connections: 150 wp-constants WP_HOME: https://xx.nl WP_SITEURL: https://xx.nl/wp WP_CONTENT_DIR: /data/sites/web/xx/checkout/master/17f6f8d1ff7425c9513c29a66a0345eb56aa50d7/web/app WP_PLUGIN_DIR: /data/sites/web/xx/checkout/master/17f6f8d1ff7425c9513c29a66a0345eb56aa50d7/web/app/plugins WP_MEMORY_LIMIT: 40M WP_MAX_MEMORY_LIMIT: 256M WP_DEBUG: false WP_DEBUG_DISPLAY: false WP_DEBUG_LOG: false SCRIPT_DEBUG: false WP_CACHE: false CONCATENATE_SCRIPTS: undefined COMPRESS_SCRIPTS: undefined COMPRESS_CSS: undefined WP_ENVIRONMENT_TYPE: Ongedefinieerd DB_CHARSET: utf8mb4 DB_COLLATE: undefined wp-filesystem wordpress: writable wp-content: writable uploads: writable plugins: writable themes: writable mu-plugins: writable google-site-kit version: 1.90.1 php_version: 7.4.33 wp_version: 6.1.1 reference_url: https://xx.nl amp_mode: no site_status: not-connected user_status: not authenticated verification_status: not-verified connected_user_count: none active_modules: site-verification, search-console, analytics, analytics-4, pagespeed-insights recoverable_modules: none required_scopes: openid: ?</img> https://www.googleapis.com/auth/userinfo.profile: ?</img> https://www.googleapis.com/auth/userinfo.email: ?</img> https://www.googleapis.com/auth/siteverification: ?</img> https://www.googleapis.com/auth/webmasters: ?</img> https://www.googleapis.com/auth/analytics.readonly: ?</img> capabilities: googlesitekit_authenticate: ?</img> googlesitekit_setup: ?</img> googlesitekit_view_posts_insights: ?</img> googlesitekit_view_dashboard: ?</img> googlesitekit_manage_options: ?</img> googlesitekit_view_splash: ?</img> googlesitekit_view_authenticated_dashboard: ?</img> googlesitekit_view_wp_dashboard_widget: ?</img> googlesitekit_view_admin_bar_menu: ?</img> enabled_features: adsenseSetupV2: ?</img> dashboardSharing: ?</img> ga4ActivationBanner: ?</img> ga4Reporting: ?</img> gm3Components: ?</img> ideaHubModule: ?</img> userInput: ?</img> search_console_property: none analytics_account_id: none analytics_property_id: none analytics_profile_id: none analytics_use_snippet: yes analytics_4_property_id: none analytics_4_web_data_stream_id: none analytics_4_measurement_id: none analytics_4_use_snippet: yes
Strange thing is I configured this plugin with succes with various other projects, that are just like this one.
@gchris2 Thanks for sharing the information. Could I ask you to try a Site Kit reset and see if you still encounter the same after the reset? It would also be worth running through the troubleshooting steps here to see if you see the same while in troubleshooting mode.
@adamdunnage Sadly I can’t reset the plugin because when I’m trying to login and connect my account the site redirects to 404. When I return to Site Kit I need to log in again.
@gchris2 Thanks for the update. Could you share the following:
- Have you followed the suggested troubleshooting steps above? If so did you see any improvement while in troubleshooting mode?
- Have you recently migrated your site or changed the domain/URL?
You should be able to perform a Site Kit reset by going to Tools > Available Tools > Reset Site Kit. Are you able to get to this?
As we didn’t receive a response I’ll mark this as resolved. Feel free to open a?new support topic?if you continue to encounter issues, or reopen this topic and we’d be happy to assist.
- The topic ‘Set up Site kit results in 404’ is closed to new replies.