Title: Site with combined https://url and https://www.url
Last modified: May 20, 2021

---

# Site with combined https://url and https://www.url

 *  Resolved [MiKeZZa](https://wordpress.org/support/users/mikezza/)
 * (@mikezza)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/site-with-combined-https-url-and-https-www-url/)
 * Hi,
 * I’m having issues with the provided URL. When you check the sourcecode it’s visible
   that there is sometimes [https://url.com](https://url.com) and sometimes [https://www.url.com](https://www.url.com).
   So sometimes the www. is missing.
 * I want to solve this, because of multiple reasons.
 * I’ve tried the following things:
    - Add url with [https://www](https://www) in admin
    - Use ‘Better Search Replace’ plugin to replace [https://url](https://url) by
      [https://www.url](https://www.url)
    - What can I do to achieve this?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fsite-with-combined-https-url-and-https-www-url%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/site-with-combined-https-url-and-https-www-url/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/site-with-combined-https-url-and-https-www-url/page/2/?output_format=md)

 *  [oiler](https://wordpress.org/support/users/eulerarthur/)
 * (@eulerarthur)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/site-with-combined-https-url-and-https-www-url/#post-14464215)
 * Hey there,
    There are four other standard methods to change your URL. Each of
   these is described here: [https://wordpress.org/support/article/changing-the-site-url/](https://wordpress.org/support/article/changing-the-site-url/)
 *  [Alan Fuller](https://wordpress.org/support/users/alanfuller/)
 * (@alanfuller)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/site-with-combined-https-url-and-https-www-url/#post-14464239)
 * Can you show us where to are seeing [https://url](https://url)
 * as I have reviewed your site and could only find [https://www.url](https://www.url)
 * you can add screen shots by linking to any image sharing service
    -  This reply was modified 4 years, 11 months ago by [Alan Fuller](https://wordpress.org/support/users/alanfuller/).
 *  Thread Starter [MiKeZZa](https://wordpress.org/support/users/mikezza/)
 * (@mikezza)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/site-with-combined-https-url-and-https-www-url/#post-14464267)
 * [@eulerarthur](https://wordpress.org/support/users/eulerarthur/) I’ve tried many
   of these things;
 * – Have had wp-config.php and functions.php filled with these 2 lines, but after
   that removed it and manually filled it in the admin because it didn’t change 
   the issue
 * In my database [https://b&#8230](https://b&#8230); is not found anywhere, only
   [https://www.b&#8230](https://www.b&#8230);.
 * Hi [@alanfuller](https://wordpress.org/support/users/alanfuller/); it’s not URL,
   it’s the URL as provided in the section ‘The page I need help with:’ but I don’t
   want to mention it because of ranking in Google.
 *  [Alan Fuller](https://wordpress.org/support/users/alanfuller/)
 * (@alanfuller)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/site-with-combined-https-url-and-https-www-url/#post-14464317)
 * [@mikezza](https://wordpress.org/support/users/mikezza/) yes I’m fully aware 
   that the url is the one in ‘The page I need help with:’ and I used [https://url](https://url)
   and [https://www.url](https://www.url) for the exact reason that you would not
   like me to publish to Google your URL
 * as I said, I can find no example of your naked domain related to ‘The page I 
   need help with:’
 * If you can, then screen shots would be a safe way of communicating here
    -  This reply was modified 4 years, 11 months ago by [Alan Fuller](https://wordpress.org/support/users/alanfuller/).
 *  Thread Starter [MiKeZZa](https://wordpress.org/support/users/mikezza/)
 * (@mikezza)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/site-with-combined-https-url-and-https-www-url/#post-14464357)
 * It’s on many places [@alanfuller](https://wordpress.org/support/users/alanfuller/).
   But by example here on the homepage:
 * [https://ibb.co/VHKqfMQ](https://ibb.co/VHKqfMQ)
 *  [Alan Fuller](https://wordpress.org/support/users/alanfuller/)
 * (@alanfuller)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/site-with-combined-https-url-and-https-www-url/#post-14464402)
 * [@mikezza](https://wordpress.org/support/users/mikezza/) now I assume when you
   go to settings>general both site & home are showing www.
 * You say the there are no references of non www in the database
 * but those are there from fusion page builder so are either coming from settings
   >general or elsewhere in the data base
 * If you have wp cli ( or can install it )
 * then personally I would use wp cli for search replace
 * `wp search-replace 'https://example.com' 'https://www.example.com' --precise`
 * [https://developer.wordpress.org/cli/commands/search-replace/](https://developer.wordpress.org/cli/commands/search-replace/)
 *  [Matthew](https://wordpress.org/support/users/atxmatt/)
 * (@atxmatt)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/site-with-combined-https-url-and-https-www-url/#post-14464461)
 * [@mikezza](https://wordpress.org/support/users/mikezza/) I’d like to echo [@alanfuller](https://wordpress.org/support/users/alanfuller/)
   with additions.
 * `wp search-replace 'https://example.com' 'https://www.example.com' --precise --
   all-tables --skip-plugins --skip-themes --dry-run`
 * If everything looks good then run the command again minus `--dry-run`.
 * When performing search-replace’s you’ll want to do a couple of rounds. For example,`
   wp search-replace 'http://example.com' 'https://www.example.com' --precise --
   all-tables --skip-plugins --skip-themes --dry-run` & `wp search-replace 'http://
   www.example.com' 'https://www.example.com' --precise --all-tables --skip-plugins--
   skip-themes --dry-run`
 * This will help get the protocol for both the non-www and www over to `https://`.
    -  This reply was modified 4 years, 11 months ago by [Matthew](https://wordpress.org/support/users/atxmatt/).
      Reason: Removed duplicate --skip-plugins
 *  Thread Starter [MiKeZZa](https://wordpress.org/support/users/mikezza/)
 * (@mikezza)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/site-with-combined-https-url-and-https-www-url/#post-14464469)
 * wp cli do I have to investigate. I don’t know that tool.
 * But I’ve made an export of the whole database, opened it in Notepad and can’t
   find [https://b](https://b) at all. So where must this be stored?
 * > [@mikezza](https://wordpress.org/support/users/mikezza/) now I assume when 
   > you go to settings>general both site & home are showing www.
 * You are right.
 *  [Matthew](https://wordpress.org/support/users/atxmatt/)
 * (@atxmatt)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/site-with-combined-https-url-and-https-www-url/#post-14464515)
 * If you are not familiar with wp-cli I would not recommend pursuing it. You may
   want to see if your theme has some sort of regenerate CSS option.
 * Have you already purged cache from everywhere? That is, site, plugins, hosting,
   CDN.
 *  [Website Rob](https://wordpress.org/support/users/website-rob/)
 * (@website-rob)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/site-with-combined-https-url-and-https-www-url/#post-14464763)
 * I can see 20 site links without ‘www’ and 13 of them are found under the “Onze
   kernwaarden” in the block with the 6 images and 6 links plus one more. The others
   come from various place which you should be able to determine by looking at source
   code, as I did.
 *  Thread Starter [MiKeZZa](https://wordpress.org/support/users/mikezza/)
 * (@mikezza)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/site-with-combined-https-url-and-https-www-url/#post-14467731)
 * Hi [@atxmatt](https://wordpress.org/support/users/atxmatt/)
    No I’m not familiar
   with it.
 * I’ve purged cache in my plugin. Hosting is not caching and CDN is not used. And
   we are 4 days after changing some URL things. So I assume that the cache must
   be updates in the meantime?
 * [@website-rob](https://wordpress.org/support/users/website-rob/) I know where
   they are. But I really can’t understand why I can’t find it my database or files
   at all. Where is this coming from…
 *  [Website Rob](https://wordpress.org/support/users/website-rob/)
 * (@website-rob)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/site-with-combined-https-url-and-https-www-url/#post-14468387)
 * If you know where the URLs are, then changing them should not be a problem. By
   that I mean the page is edited through Admin -> Pages.
 * Sometimes when looking for something, especially within code/text, we are not
   looking for the correct bit of kit. For example, I would search for ‘what-we-
   do’ in the database.
 * Although I’m not familiar with the Fusion Builder plugin, it is possible the 
   data is stored somewhere other than your database. Not uncommon for a plugin 
   to use their own services/server. You could also check where the Fusion Builder
   plugin is located (wp-content/plugins/plugin-name) as flat files are still used
   by some plugins.
 *  Thread Starter [MiKeZZa](https://wordpress.org/support/users/mikezza/)
 * (@mikezza)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/site-with-combined-https-url-and-https-www-url/#post-14469690)
 * Hi [@website-rob](https://wordpress.org/support/users/website-rob/), yes it’s
   possible to find all the issues and adjust it manually but that’s a lot of work
   and I don’t know how to take care of not let this happen again.
 * About the location of storage; Fusion Builder is part of Avada. I think they 
   use the database.
 * The strange thing is that this website was running at [https://companyname.otherwebsite.nl](https://companyname.otherwebsite.nl)
   untill this weekend and then I migrated it to [https://www.companyname.nl](https://www.companyname.nl).
   This by changing URL in the admin and a database search and replace by the Better
   Search Replace plugin. That did work for every part of the site. otherwebsite.
   nl is not visible anymore in database or pagesource at all. So also the parts
   that now are without www are changed in the last few days by these 2 actions.
   That’s what is so strange…
 *  [Website Rob](https://wordpress.org/support/users/website-rob/)
 * (@website-rob)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/site-with-combined-https-url-and-https-www-url/#post-14469766)
 * Being able to make 13 corrections out of 20 on one page sounds to me like it’s
   worth the effort. 🙂
 * You didn’t mention if searching your database for ‘what-we-do’ returned any results.
   That will help determine if WordPress is saving the Domain name in URL, which
   I believe it does not–it appends it based on Site URL used in Admin settings.
 *  Thread Starter [MiKeZZa](https://wordpress.org/support/users/mikezza/)
 * (@mikezza)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/site-with-combined-https-url-and-https-www-url/#post-14469791)
 * But there are really more pages where this is [@website-rob](https://wordpress.org/support/users/website-rob/).
   so it will be many corrections.
 * Searching for ‘what-we-do’ results in some results in Yoast but also in these
   tables:
    wp_postmeta (10 results) wp_posts (59 results)
 * Also there [https://b](https://b) was not found. But this trick brought me on
   track! The value in the database was not [https://b](https://b) but it was [http://b](http://b)
   and then my SSL-settings turned it into [https://b&#8230](https://b&#8230); I
   think I’m (almost) there. Thanks a lot!

Viewing 15 replies - 1 through 15 (of 18 total)

1 [2](https://wordpress.org/support/topic/site-with-combined-https-url-and-https-www-url/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/site-with-combined-https-url-and-https-www-url/page/2/?output_format=md)

The topic ‘Site with combined https://url and https://www.url’ is closed to new 
replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 18 replies
 * 5 participants
 * Last reply from: [Website Rob](https://wordpress.org/support/users/website-rob/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/site-with-combined-https-url-and-https-www-url/page/2/#post-14469853)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
