WordPress.org

Forums

Changing permalinks in database? (4 posts)

  1. Juandbb
    Member
    Posted 9 months ago #

    Hello,

    After doing an importation of around 700 blogs from Drupal to WordPress multisite I have realized that the have the permalink structure /%year&/%month%/ while in WordPress they have also/%day%/ at the end.

    Is there any way I can change that permalink for all blogs at once, maybe directly in the database?

    Thank you in advance!

  2. I believe that permalinks are saved in wp_options tables. I don't know if resetting that will change them.

  3. Juandbb
    Member
    Posted 9 months ago #

    Thank you Mike,

    Yes, I already tried changing it in the wp_options table of each site, but then I got 404s for each link

  4. Yeah, doesn't really surprise me.

    *ponder* Okay. How about this.

    1) Change WP options.

    2) Toss this in your mu-plugins: http://pastebin.com/8L0RBE9B

    That should force the cache to refresh based on the new permalink pattern.

Reply

You must log in to post.

About this Topic

Tags

No tags yet.