Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to Bulk Update post titles wordpress through mySQL
    primarykey
    data
    text
    <p>All my post titles have a static word in front of them. I have over 9000 published posts with two different static words in my post titles. I am trying to remove this word from all my posts.</p> <p>Essentially, I am looking for a way to remove that constant word. I tried using export through wordpress and editing the post titles that way, but the file was 100mb + and simply won't open.</p> <p>I looked towards SQL/phpmyadmin but I am not very well versed with SQL queries and don't want to mess up my database.</p> <blockquote> <p>The "Constant" is always the first word of the title. What could I do to instead have mysql detect the first space and remove everything before it as well as including the space. Essentially, removing the first word. Basically I have more than one constant, so it would be better if I could just find the first space in the string and then remove it and everything before it. I'm assuming we'd use sub_string or something.</p> </blockquote> <p>This is the title structure</p> <blockquote> <p>Constant other stuff here</p> </blockquote> <p>so if there is a search query where it finds "Constant " and a space and replaces it with "" nothing, that way I could have it completely removed. It'd be great if it could be a search and replace query, so I could utilize it later. </p> <p><strong>Information on the Database / Table / Column</strong></p> <p>the table is called: <code>wp_posts</code> and it needs to be restricted to the value of the table <code>post_type</code> when it's value is <code>post</code> and the title is in the <code>post_title</code> column</p> <p>Any help would be greatly appreciated. </p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload