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
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 Mitos is already in your AI assistant, this is enough:
Replace http://[domain] with https://[domain] across the site, with counts first, then check the pages.
What happens
- The AI assistant checks the site's health, including whether HTTPS is in place.
- It reads the HTML of the pages as a visitor's browser gets it and finds http:// addresses on your domain.
- 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.
- The change is approved with a 6-digit code as an extra check that it's really you; every changed value is kept so it can be undone. The AI assistant follows its progress to the end.
- 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 healthNonesar_get_rendered_pageRead a page as visitors see itNonewordpress_search_replaceSearch and replaceApproval with a 6-digit codewordpress_search_replace_statusSearch and replace progressNonewordpress_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 assistant tells you so.
Related recipes
- Maintenance · about 10 minRun a weekly check-up of your WordPress siteOnce a week, ask for one short list: what is wrong on the site, which updates are waiting, which tasks are overdue and how fast the home page loads.
- Maintenance · about 15 minUpdate plugins one at a time, with a backup checked firstSee which plugin updates are waiting, check how old the last backup is, then update one plugin at a time with a 6-digit code and a check after each.
- Maintenance · about 20 minFind what broke your site from the error logWhen a page shows an error or looks broken, let the AI read the PHP error log, find the plugin or theme behind it and suggest the smallest fix.
Try it on your own site
Install the plugin, add Mitos to your AI assistant and paste the prompt. Free to start.