WordPress.org

Forums

Search and Replace
[resolved] How do I search and replace in posts in specific categories only? (3 posts)

  1. funlol
    Member
    Posted 1 year ago #

    I have a site I'm working on with a lot of posts in each category.

    I want to do a find and replace for posts in those specific categories only.

    For example -
    I only want to do a find and replace for all posts in the "Wyoming" category.

    I want to replace the phrase "auto insurance agents" with "auto insurance agents in Wyoming"

    example page here - http://www.4autoinsurancequote.com/state/wyoming-auto-insurance/laramie/

    How can I do this?

    http://wordpress.org/plugins/search-and-replace/

  2. nicoblog
    Member
    Posted 9 months ago #

    I'm after this too, it seems impossible with this plugin you'll need to know SQL and login into your MySQL and run a query to do the replacement, the best bet is finding someone good on SQL to help you.

  3. Frank Bueltge
    Member
    Plugin Author

    Posted 8 months ago #

    No, not possible with the plugin. You can not set a specific sql statement. This plugin search/replace for one value about specific tables or all tables form the database.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic