Some resources of my website are pointing to www.mysite.com/dev/and trying to get rid of that append has been a headache

The problem:

I’m in the process of migrating a website to another server, so the maintainer of that page gave me the code and the database, so I could install it on my server. The problem is that for some reason I can’t see some .css files or images loading because some of them point to www.mywebsite.com/dev/ instead of www.mywebsite.com/.

Solution I tried:

I read that there’s a plugin called Velvet Blues Update URLs, I installed it and I tried to change the url like it says in the instructions but I get 0 results when I try to change the URL so it doesn’t change anything. I just get the following text:

ERROR: Something may have gone wrong.
Your URLs have not been updated.

Results
0 Content Items (Posts, Pages, Custom Post Types, Revisions)
0 Excerpts
0 Links
0 Attachments
0 Custom Fields
0 GUIDs

I then go to the sql dump file of the database and search for that string myself and I do find the /dev/ in many of the links, however I find the lilnks like “/home/mywebsite/public_html/dev/wp-content/plugins/remove-query-strings-from-static-resources/remove-query-strings.php”, I tried to copy and paste this database into the plugin for example and it also get the same error as before.

. I don’t want to just change the links on the database because I have heard that it would create some problems. Any ideas about how to be able to get rid of the /dev/ append?

Thank you.

Read more here:: Some resources of my website are pointing to www.mysite.com/dev/and trying to get rid of that append has been a headache

Leave a Reply

Your email address will not be published. Required fields are marked *