• I’ve already been using the search & replace plugin for many situations for quite some time, but I don’t know if its possible to use it for scannning my database and set it up to take, for example, this kind of urls:

    https://www.mysite.com/anything-here/?lang=es

    and turn them into this:

    https://www.mysite.com/es/anything-here/

    The thing is that I recently changed my language url format and ended up having TOO MANY broken links that are still the old way (with the ?lang=es at the end), and it would take way too much time to fix them manually-one by one. Is it possible to use search and replace for this?

    …perhaps you could give me some specific advice about how to get this particular case done, I mean, what should I put into the “search for” and “replace with” input fields to get it done. Thanks a lot!!!

Viewing 1 replies (of 1 total)
  • Hi @oscargarcia2308,

    You can use the Search and Replace to replace any string within the database, so you can search for the exact corrispondence of https://www.mysite.com/anything-here/?lang=es and replace it with https://www.mysite.com/es/anything-here/.

    The plugin has a dry run option that allow you to perform the search and replace (and getting the results) without actually performing any db query, this allow you to examine the result before making the changes.

    Any way a backup before doing anything is always the way to go.

Viewing 1 replies (of 1 total)
  • The topic ‘change languague url format’ is closed to new replies.