Can’t Add Redirects

#1087587
  • I have some redirects I need to add. When I enter the redirects and click Add Redirection, the page refreshes, but the redirect is not there. I have tried to Re-create Missing Database Tables, still not working. I will attach the error log below.

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

    I apologize for the issue you are facing with adding redirects. It sounds frustrating that the redirects are not saving even after trying to recreate the missing database tables.

    Since you’ve already attempted to recreate the database tables, I recommend checking if your caching plugin might be causing the issue. Sometimes, cached pages can prevent changes from being reflected immediately. Please try clearing the cache of your caching plugin and also clear your browser cache to see if that resolves the problem.

    If the issue persists, please reply to this ticket and include the error log you mentioned. A human agent from our support team will be able to assist you further with this issue.

    Thank you for raising this concern!

    Sources:
    Solving Redirection Issues Using Rank Math SEO Plugin » Rank Math
    Rank Math Status and Tools » Rank Math

    This is an automated reply from Rank Math Support Bot. Your ticket has been assigned to a human agent and we will get back to you shortly.

    Purged cache and still am not able to add a redirect. Here is the Error log from that event as well:

    [19-Aug-2025 20:31:23 UTC] PHP Warning: foreach() argument must be of type array|object, null given in /dom47166/wp-content/plugins/seo-by-rank-math/includes/modules/redirections/class-redirection.php on line 218

    Hello,

    It seems that you’re using Rank Math PRO, but the account you have used to open this ticket is the Rank Math free version.

    Can you please search and forward a receipt from FastSpring.com or the email address you used to purchase so we can locate your account and verify it?

    To fix this issue, you must have the latest version of the Rank Math plugins on your site.

    Looking forward to helping you.

    Tom Leach
    Rank Math business

    Did this get resolved? I find this on several websites that sometimes I just can’t click “add new”

    Uncaught TypeError: Cannot read properties of undefined (reading ‘top’)
    at HTMLAnchorElement.<anonymous> (redirections.js?ver=1.0.258:1:33814)
    at HTMLDivElement.dispatch (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks,jquery-ui-core,jquery-ui-tooltip&ver=6.8.3:2:40035)
    at v.handle (load-scripts.php?c=1&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,wp-hooks,jquery-ui-core,jquery-ui-tooltip&ver=6.8.3:2:38006)

    Hello,

    Please ensure you are using the latest version of our plugins according to the changelog: https://rankmath.com/changelog/. The latest version of the Rank Math PRO plugin is version 3.0.101, and the Free plugin is version 1.0.258.

    To make sure that our redirection module is working, please head over to your WordPress Dashboard > Rank Math > Status & Tools > Database tools and click on the button “Re-create Database Tools”. You may also refer to this guide: https://rankmath.com/kb/recreate-missing-database-tables/

    After that, you can try adding new redirections again and see if that works.

    Let us know how it goes. Looking forward to helping you.

    Thank you.

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

You must be logged in to reply to this ticket.