Title: Automatic URL Redirects
Last modified: April 21, 2022

---

# Automatic URL Redirects

 *  [adriankwp](https://wordpress.org/support/users/adriankwp/)
 * (@adriankwp)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/automatic-url-redirects/)
 * Which files, please, in the core WordPress 5.9.3 software, make the automatic
   redirects from http to https requests, and from `www.example.com` to `example.
   com`, if `https://example.com` is given as the URLs in General Settings? With
   thanks.
    -  This topic was modified 4 years, 1 month ago by [adriankwp](https://wordpress.org/support/users/adriankwp/).

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/automatic-url-redirects/#post-15576415)
 * What is the background to the question? You should never make changes to core
   files.
 *  Thread Starter [adriankwp](https://wordpress.org/support/users/adriankwp/)
 * (@adriankwp)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/automatic-url-redirects/#post-15579143)
 * I don’t want to change it, just inspect it and learn from it.
 * Is there anybody who can actually help me, please?
    -  This reply was modified 4 years, 1 month ago by [adriankwp](https://wordpress.org/support/users/adriankwp/).
 *  Moderator [threadi](https://wordpress.org/support/users/threadi/)
 * (@threadi)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/automatic-url-redirects/#post-15579594)
 * Wordpress handels most redirects via [https://developer.wordpress.org/reference/functions/wp_redirect/](https://developer.wordpress.org/reference/functions/wp_redirect/)–
   this is of course only one function for it. Unfortunately, I cannot judge at 
   the moment at which point this function is called to carry out the redirections
   you are looking for.
 * My advice would be to ask the question at [https://wordpress.stackexchange.com/](https://wordpress.stackexchange.com/)–
   there are more developers there than in this forum here.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Automatic URL Redirects’ is closed to new replies.

## Tags

 * [HTTP](https://wordpress.org/support/topic-tag/http/)
 * [HTTPS](https://wordpress.org/support/topic-tag/https/)
 * [www](https://wordpress.org/support/topic-tag/www/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [threadi](https://wordpress.org/support/users/threadi/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/automatic-url-redirects/#post-15579594)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
