Unknown redirect on child pages

#825918
  • Resolved Tom Wilson
    Rank Math free

    Hi Guys,

    I am working on an existing client’s website (built by another dev) which uses your plugin.

    I have a redirect issue where child pages are being redirected to the home page.

    I’ve checked and double checked the existing redirections and can not see anything which could cause this redirect.

    This is the staging site here – https://koolkidz864stg.wpenginepowered.com/

    When you open the menu and under locations select a location e.g Brighton it should take you here –

    https://koolkidz864stg.wpenginepowered.com/our-locations/brighton

    But this get’s redirected to the home page.

    I have the debugger enabled and it shows the redirection is happening, but there is no option to ‘Manage this redirection” only the option to “Manage all redirections”

    Please let me know what the cause of this issue might be.
    If needed I can provide backend access to the site.

    Thanks
    Tom

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hello,

    Thank you for contacting us and sorry for any inconvenience that might have been caused due to that.

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins in the designated Sensitive Data section.

    Please do take a complete backup of your website before sharing the information with us.

    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    Looking forward to helping you.

    Thank you.

    Hi Guy,

    Please see login details above.

    There is a WP file manager plugin installed incase you need to access the file structure.

    Let me know if you speciufically need FTP and I can try to arrange

    Thanks
    Tom

    Hello,

    We would like to check the issue in your admin dashboard but we are currently greeted with this critical error. Please see the screenshot in the sensitive data section.

    Can you please check from your end?

    Looking forward to helping you.

    Hi Thanks for checking, this has just come up.

    I’ll get it fixed and come back to you when it’s ready to go

    Thanks
    Tom

    Hello,

    Let us know when the issue is fixed so we can log in and check this further.

    Looking forward to helping you.

    Hi Thanks for checking, this has just come up.

    I’ll get it fixed and come back to you when it’s ready to go

    Thanks
    Tom

    Hello,

    Sure, let us know how this goes.

    Meanwhile, if you have any other concerns, please don’t hesitate to contact us anytime to assist you further.

    Looking forward to helping you.

    Hi Guys,

    I have resolved the issue now and you can access the admin area of the site with the above details.

    The issue related to the ‘404 Monitor by Rank Math’ plugin which I have now disabled.
    fyi you can see debug log below

    You will now be able to login in with the above details to review the original issue.

    e.g pages like this https://koolkidz864stg.wpenginepowered.com/our-locations/brighton redirecting to the home page.

    Thanks
    Tom

    Debug log:

    Deprecated: Creation of dynamic property RankMath_Monitor\Monitor\Admin::$id is deprecated in /nas/content/live/koolkidz864stg/wp-content/plugins/404-monitor/includes/traits/class-hooker.php on line 116

    Deprecated: Creation of dynamic property RankMath_Monitor\Monitor\Admin::$directory is deprecated in /nas/content/live/koolkidz864stg/wp-content/plugins/404-monitor/includes/traits/class-hooker.php on line 116

    Deprecated: Creation of dynamic property RankMath_Monitor\Monitor\Admin::$table is deprecated in /nas/content/live/koolkidz864stg/wp-content/plugins/404-monitor/includes/traits/class-hooker.php on line 116

    Deprecated: Creation of dynamic property RankMath_Monitor\Monitor\Admin::$help is deprecated in /nas/content/live/koolkidz864stg/wp-content/plugins/404-monitor/includes/traits/class-hooker.php on line 116

    Deprecated: Creation of dynamic property RankMath_Monitor\Monitor\Admin::$screen_options is deprecated in /nas/content/live/koolkidz864stg/wp-content/plugins/404-monitor/includes/traits/class-hooker.php on line 116

    Deprecated: Creation of dynamic property RankMath_Monitor\Monitor\Admin::$page is deprecated in /nas/content/live/koolkidz864stg/wp-content/plugins/404-monitor/includes/modules/404-monitor/class-admin.php on line 123

    Deprecated: Creation of dynamic property RankMath_Monitor\Monitor\Monitor::$admin is deprecated in /nas/content/live/koolkidz864stg/wp-content/plugins/404-monitor/includes/modules/404-monitor/class-monitor.php on line 37

    Deprecated: Creation of dynamic property RankMath_Monitor\Admin\Options::$key is deprecated in /nas/content/live/koolkidz864stg/wp-content/plugins/404-monitor/includes/traits/class-hooker.php on line 116

    Warning: include_once(/nas/content/live/koolkidz864stg/wp-content/plugins/404-monitor/vendor/cmb2/cmb2/includes/CMB2_Hookup.php): Failed to open stream: No such file or directory in /nas/content/live/koolkidz864stg/wp-content/plugins/404-monitor/vendor/cmb2/cmb2/includes/helper-functions.php on line 44

    Warning: include_once(): Failed opening ‘/nas/content/live/koolkidz864stg/wp-content/plugins/404-monitor/vendor/cmb2/cmb2/includes/CMB2_Hookup.php’ for inclusion (include_path=’.:/usr/share/pear/php:/usr/share/php’) in /nas/content/live/koolkidz864stg/wp-content/plugins/404-monitor/vendor/cmb2/cmb2/includes/helper-functions.php on line 44

    Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class “CMB2_Hookup” not found in /nas/content/live/koolkidz864stg/wp-includes/class-wp-hook.php:324 Stack trace: #0 /nas/content/live/koolkidz864stg/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, Array) #1 /nas/content/live/koolkidz864stg/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #2 /nas/content/live/koolkidz864stg/wp-content/plugins/404-monitor/vendor/cmb2/cmb2/bootstrap.php(75): do_action(‘cmb2_init_hooku…’, Object(CMB2)) #3 /nas/content/live/koolkidz864stg/wp-content/plugins/404-monitor/vendor/cmb2/cmb2/init.php(165): cmb2_bootstrap() #4 /nas/content/live/koolkidz864stg/wp-includes/class-wp-hook.php(324): CMB2_Bootstrap_270->include_cmb(”) #5 /nas/content/live/koolkidz864stg/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array) #6 /nas/content/live/koolkidz864stg/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #7 /nas/content/live/koolkidz864stg/wp-settings.php(695): do_action(‘init’) #8 /nas/content/live/koolkidz864stg/wp-config.php(127): require_once(‘/nas/content/li…’) #9 /nas/content/live/koolkidz864stg/wp-load.php(50): require_once(‘/nas/content/li…’) #10 /nas/content/live/koolkidz864stg/wp-admin/admin.php(34): require_once(‘/nas/content/li…’) #11 /nas/content/live/koolkidz864stg/wp-admin/index.php(10): require_once(‘/nas/content/li…’) #12 {main} thrown in /nas/content/live/koolkidz864stg/wp-includes/class-wp-hook.php on line 324

    Hello,

    Currently, those child pages are returning a 404 error so our plugin is picking that up and redirecting to the homepage to honor the settings under WordPress Dashboard > Rank Math SEO > General Settings > Redirections.

    We also have disabled the canonical redirect option from WordPress which was redirecting to the pages inside the Locations CPT and if you disable the option to redirect the 404 errors to the homepage you should see the 404 page appearing.

    Don’t hesitate to get in touch if you have any other questions.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 9 replies - 1 through 9 (of 9 total)

The ticket ‘Unknown redirect on child pages’ is closed to new replies.