Can't Add Redirections

#10865
  • Resolved Peter Nyiri
    Rank Math free

    Hi,
    I just installed RankMath and the automatic wizard apparently imported all redirects from the Redirection plugin, but nothing showed up.
    Then I tried to manually add those redirects. After pressing the Add button, nothing was added. I also verified that I got a 404 on the URL that was supposed to be redirected.
    Peter
    Funnelxpert.com

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

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

    For a strange reason the “rank_math_redirections” table did not exist in your database. I have gone ahead and added this table to your DB with some SQL code and new redirects are now saving. I have also imported the redirections from the former plugin.

    I hope this info helps. Thank you.

    ​​​​​​​

    I’m having a similar problem. When I add a redirect it just vanishes upon submission. Could you share the db table info so I can add it?

    Thanks,

    Corey

    Same here.
    One I add a redirection it just doesnΒ΄t show up.
    Plus I got these notices:

    https://prnt.sc/omhr38

    Best
    David

    Hello,

    Thanks for getting in touch.

    The errors on David’s site also suggest that the database table does not exist. You can fix this by creating the table using the following SQL in phpMyAdmin:

    Link to SQL code

    Be sure to change the database prefix and db ENGINE on the code to match your current database settings on these lines:
    DROP TABLE IF EXISTSwp_rank_math_redirections`;
    CREATE TABLE IF NOT EXISTS `wp_rank_math_redirections
    ENGINE=InnoDB`

    I hope this info helps. Thank you.

    What do I use for mariadb? ‘wp_rank_math_redirections ENGINE=MariaDB’?

    Hi Corey,

    Thanks for the question.

    MariaDB is a different database structure with its own engine types such as InnoDB or MyIsam, please compare the engine type with other table on your database.
    You can also manually create the table using the columns on the pastebin.

    I hope this info helps. Thank you.

    [UPDATE]

    I backed up my settings, deleted the plugin, cleared the cache, cleaned the DB, and reinstalled. Redirections now work. πŸ™‚

    Thanks.

    Corey

    Hi Corey,

    Thanks for the follow up.

    I am glad that the issue is now resolved πŸ™‚

    Feel free to contact us should any other issues come up.

    Thank you.

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

The ticket ‘Can't Add Redirections’ is closed to new replies.