SAR Intelligenceby SAR-SOFT

Fix old http:// links after moving the site to HTTPS

Find links and images still pointing to http:// after a move to HTTPS, and replace them across the database in one change you approve and can undo.

Difficulty
Advanced
Time
about 25 min
The prompt

My site moved to HTTPS, but some pages still load images or links from http://[my domain]. Check that HTTPS is in place, look at the HTML of [pages, e.g. the home page and a product page] for http:// addresses on my own domain, then replace http://[my domain] with https://[my domain] across the database. Show me the counts and some samples before I approve. Follow the change to the end, clear the caches and check the same pages again.

Already connected?

If SAR is already in your AI app, this is enough:

Already connected?

Replace http://[domain] with https://[domain] across the site, with counts first, then check the pages.

What happens

  1. The AI app checks the site's health, including whether HTTPS is in place.
  2. It reads the HTML of the pages as a visitor's browser gets it and finds http:// addresses on your domain.
  3. The first search-and-replace call shows how many values would change and some samples; serialized and JSON data stay valid, and users, passwords and the site address are never touched.
  4. The change is approved in SAR with your password; every changed value is kept so it can be undone. The AI app follows its progress to the end.
  5. It clears the caches and reads the pages again to confirm the old addresses are gone.

Approvals involved

Worked out from the tools this recipe uses.

  • wordpress_site_healthSite healthNone
  • sar_get_rendered_pageRead a page as visitors see itNone
  • wordpress_search_replaceSearch and replaceApproval and password
  • wordpress_search_replace_statusSearch and replace progressNone
  • wordpress_clear_cacheClear cachesNone

What you get

Pages that load everything over HTTPS. If the site's own address in WordPress is still http://, that is a separate step, and the AI app tells you so.

Try it on your own site

Install the plugin, add SAR to your AI app and paste the prompt. Free to start.

Connect your WordPress site

Type your site's address and we open its own plugin page, ready to install SAR Intelligence.

Prefer to install by hand? Download the plugin · how to connect it

Not on WordPress, or want to set things up first? Create your free account

Free to start · No credit card