WordPress.org

Ready to get started?Download WordPress

Forums

search and replace (4 posts)

  1. gum1982
    Member
    Posted 4 years ago #

    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.

    Also the search and replace plugin only works on the database.

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

    Any suggestions please?

  2. hedonplay
    Member
    Posted 4 years ago #

    what you need is an editor, for example, the notepad++ will get this job done.

  3. gum1982
    Member
    Posted 4 years ago #

    ok thankyou

  4. Mark / t31os
    Moderator
    Posted 4 years ago #

    +1 vote for Notepad++ :)

Topic Closed

This topic has been closed to new replies.

About this Topic