V
V
Vetal2017-05-25 10:46:57
WordPress
Vetal, 2017-05-25 10:46:57

How to fix Wordpress links?

The site had Cyrillic links. I installed the cyr-to-lat plugin, so all links became Latin. But the client did not like it. How can I return the links to their original form?
Ps The site also has woocommerce

Answer the question

In order to leave comments, you need to log in

3 answer(s)
D
Denis Yanchevsky, 2017-05-25
@deniscopro

Restore backup? Some hostings do automatic - you should check with the support of your hosting.
PS Old links should have been saved in the wp_post_meta table in the fields with the "_wp_old_slug" key. Theoretically, you can try to get them from there and update the post_name fields in the wp_posts table.

W
WordPress WooCommerce, 2017-05-25
@maxxannik

As an option, disable the plugin, make a bulk function that will run through the posts and insert the title into the slug. Keep. So Cyrillic slugs will return.

A
Alexander Pushkarev, 2017-05-25
@AXP-dev

Get all posts via wp_query and change slug to title via wp_insert_post

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question