Media URLs not redirecting to non-www
-
This is what I have in the General Settings (non-www URLs):
WordPress Address (URL): https://my-website.com Site Address (URL): https://my-website.com
When I visit any of the website pages with a www version of the URL such as https://www.my-website.com/contact/, it redirects the page to non-www version https://my-website.com/contact/. This is all good.
However, the media urls don’t seem to work like this. The www version such as https://www.my-website.com/wp-content/uploads/2023/05/My-PDF-File.pdf does not redirect to the non-www URL. In fact, both the www and non-www versions work. Is this a normal behaviour with the media files? How do I fix this so that media files also redirect to non-www URLs?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Media URLs not redirecting to non-www’ is closed to new replies.