Support » Plugin: Real-Time Find and Replace » Page becomes blank

  • To me it worked once on another website I worked on, to overwrite a footer’s content by changing its text. Unfortunately, it didn’t work on the current website I’m working on. I just wanted to change a single word that appears on my page that I can’t find where to edit it to another word, but as soon as I save this the page becomes blank. So I find it quite disappointing.
    The good thing is you can remove this change easily and save again, and the moment you update all the content could be seen again, making that blank page easy to fix so that’s great.

    • This topic was modified 2 years, 6 months ago by natasharamac.
Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Marios Alexandrou


    Usually a blank page is the result of an incorrect rule especially when using the regex option. It indicates that the HTML code has been broken or sometimes replaced entirely.

    I copy-pasted the beginning and ending of a div. It shouldn’t have happened, I don’t think I broke any code with it. It even had an additional commentary of
    <!– *** MOBILE MENU *** –> and <!– // END: MOBILE MENU –> at the beginning and end, which I didn’t include.

    Unless the solution would be to copy and paste the entire page? Or the entire body?

    Plugin Author Marios Alexandrou


    You shouldn’t need to copy the entire block of code. Snippets are sufficient.

    Have you checked the regex box? Or left it unchecked?

    Yes, I’ve tried it both checking and unchecking it. Checking makes it blank, unchecking doesn’t make any change at all.

    I’ve also tried putting just the fragment:

    <ul id=”mobile-menu” class=”menu”><li id=”menu-item-1741″ class=”menu-item menu-item-type-post_type menu-item-object-page menu-item-home menu-item-1741″>Home<i class=”sub-menu-toggle fa fa-angle-down”></i>
    <ul id=”mobile-menu” class=”menu”><li id=”menu-item-1741″ class=”menu-item menu-item-type-post_type menu-item-object-page menu-item-home menu-item-1741″>Recetas<i class=”sub-menu-toggle fa fa-angle-down”></i>

    I just want to change the word Home for ‘Recetas’

    Any ideas?

    Plugin Author Marios Alexandrou


    Regex is tricky. Checking it is just the first step. There’s a lot of document on the web about how to properly write regex expressions.

    However, regex may not be needed in your case. I would try a simple rule (not regex) like:

    Find: “>Home<i

    Replace: “>Recetas<i

    Okay, it’s solved!

    I’ve tried this without checking the regex like you suggested but there weren’t any changes. Then I decided to check with the inspector the code on the front to see what would happen if I replaced the text there to see if there were any visual changes. I then realized the code was slightly different from the source code… which can only mean I copy-pasted the wrong selection.

    Conclusion: I’m a moron that’s been selecting the wrong code all along

    Thanks a lot, you were very helpful! It works perfectly now

    Plugin Author Marios Alexandrou


    I’m glad you resolved the issue and that the plugin is working as promised.

    Please reconsider your rating given this development.

    Thank you.

    Yes, I was trying to figure out how to do that


    You can close the ticket now, I don’t see an option where I can close it myself

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Page becomes blank’ is closed to new replies.