Find and Replace

Contributor ,
Mar 06, 2019 Mar 06, 2019

Copy link to clipboard

Copied

Hi everyone.

Occasionally I make changes to one of my websites where I don't want to change every page one at a time, so I use 'Find and replace in Files'.

Here is where I have my problem:

I recently wanted to add

<div class="contacthours"><p>For enquiries between 10am and 8pm we will try to reply within a few hours.</p>

     </div>

to all of my pages. So I took the code:

Invertilt Road, Blair Atholl, PH18 5TE</p>

     </div>

     <br><br>

which is on every page, and replaced it with:

Invertilt Road, Blair Atholl, PH18 5TE</p>

     </div>

     <br><br>

      <div class="contacthours"><p>For enquiries between 10am and 8pm we will try to reply within a few hours.</p>

      </div>

But when I use 'Find and replace in files', nothing gets changed.

I'm sure this has worked in the past or am I doing something wrong?

I've tried this with all the pages open and closed

Views

253

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Mar 06, 2019 Mar 06, 2019

Could you take a screen shot of your Find & Replace in Files dialogue window and post it here so we can see the settings?

Chances are you just have something goofed.

Another possibility could be you don't have the site selected in the Files window.

Likes

Translate

Translate
Community Expert ,
Mar 06, 2019 Mar 06, 2019

Copy link to clipboard

Copied

Could you take a screen shot of your Find & Replace in Files dialogue window and post it here so we can see the settings?

Chances are you just have something goofed.

Another possibility could be you don't have the site selected in the Files window.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Mar 06, 2019 Mar 06, 2019

Copy link to clipboard

Copied

LATEST

Your correct Jon. I goofed.

DM was set to search in the wrong place.

Honest I never changed it from default !!!!

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines