I’m trying to update a particular url in wordpress post_content table. I have over 5000 differents urls to update for a single same one.
So in clear I have 5000 urls that all starts with :
domain.com/params.php?....
AND always ends with :
?e=
I want all those url to be replace with a single one without parameters in so they will all send to domain.com/page.html
So is there a way to replace all the urls without having to manually doing it ?
Thanks
2
Answers
No it is not working. It's being written as it :
so it should take all the queries starting with domaine.com/ads.php?city= until e= but it is not and returning 0 value.
Some knows what is wrong ?
Is this what you are looking for?
This phrases as : replace all
url
s that start with'domain.com/params?'
and end with'?e=0'
with'domain.com/page.html'
.