> ## Content Index
> Fetch the complete content index at: https://blog.esadax.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# How to Set Up HTTPS and Fix Insecure HTTP Links on WordPress
- URL: https://blog.esadax.com/en/how-to-set-up-https-and-fix-insecure-http-links-on-wordpress/
- Published: 2026-11-15T04:16:17.000Z
- Updated: 2026-11-15T04:16:17.000Z
- Author: Esadax 
- Tags: #tr-faq-06-ssl-how-to-setup-https-for-wordpress, #en, #mdx-imported, FAQ

To identify and secure **insecure http links** in your website, follow these steps:

1. **Understand the Problem**: Insecure http links can expose your site to security risks and affect SEO. For example, fonts loaded over http may not be as secure as those over https.
2. **Find the Links Using Command Line Tools**:
3. **Set Up a Cron Job**:
4. **Analyze Results**:
  - After running the scan, check the output for files containing http links.
  - Identify which links need to be updated.
5. **Update Links Securely**:
  - Replace http links with https versions wherever possible.
    - For example, change `http://fonts.googleapis.com` to `https://fonts.googleapis.com`.
6. **Verify Changes**:
  - Test the updated links to ensure they load correctly.
  - Use tools like [Google Search Console](https://search.google.com/search-console?ref=blog.esadax.com) or [Webmaster Tools](https://www.google.com/webmasters/?ref=blog.esadax.com) to submit updates.
7. **Handle Multiple Domains/Subdomains**:
  - If your site uses multiple domains or subdomains, repeat the process for each one.
  - Use wildcard certificates or configure SSL settings to cover all domains.
8. **Avoid Overuse**:
  - Set cron jobs with a reasonable interval (e.g., hourly) to avoid overusing resources.

Look for lines like:

```bash
/home/user/public_html/file.php: 'stylesheet' => 'http://example.com/styles.css',

```

Automate the scan by creating a cron job to run the search regularly.

```bash
crontab -e
@hourly      0    1    /path/to/script.sh

```

Replace `/path/to/script.sh` with your custom script or command.

Use `grep` to search for http links in your website's files.

```bash
grep -rnw /path/to/website/ -e "http://"

```

Replace `/path/to/website/` with your website's directory.