Jump to content

search and replace


gum1982

Recommended Posts

Hi can someone please tell me if their is a way that i can search and replace code within a php.

 

Ive just transfered a wordpress theme from one host to another.

 

But all the links are still in the other location.

 

example.

 

http://mikeleach.co.uk/dbcsite/

 

now that ive tranfered the theme i want all the links in the php scripts to be replaced with.

 

http://www.samuelrweast.co.uk/dorchester/

 

Is their some script or a program that allows you to do this i can run a search and replace on the database fine but it doesnt change the hard coded php script.

 

Ive been doing it all manually and it takes ages when you have alot of files.

 

Any suggestions please?

 

 

Link to comment
https://forums.phpfreaks.com/topic/173519-search-and-replace/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.