Title: Issue with SSL on Additional Domains
Last modified: July 31, 2023

---

# Issue with SSL on Additional Domains

 *  Resolved [amujain22](https://wordpress.org/support/users/amujain22/)
 * (@amujain22)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/https-not-working-18/)
 * First and foremost, I would like to extend my sincerest gratitude for creating
   the “Each Domain a Page” plugin. It has been an invaluable tool for my WordPress
   website, allowing me to allocate individual domains to each page seamlessly, 
   enhancing the overall user experience.
 * However, I have recently encountered an issue that I believe requires attention
   and assistance. Let me provide you with some context regarding the problem I 
   am facing:
 * Example domains :
    1. Primary Domain: first.com
    2. Additional Domain: second.com (linked to a specific page on first.com)
 * When I use the additional domain, second.com, without SSL (HTTP), everything 
   works flawlessly. The pages load correctly, and the content displays as intended.
   However, the challenge arises when I enable SSL (HTTPS) for the additional domain,
   accessing the page via [https://www.second.com](https://www.second.com/). At 
   this point, I am unable to access the page as I could before, without SSL.
 * I have thoroughly reviewed my SSL certificate installations and confirmed that
   everything is set up correctly. The primary domain, first.com, works perfectly
   with HTTPS, and there are no issues on that front.
 * Considering the critical importance of SSL for securing communications and the
   growing demand for encrypted connections, it is essential that the “Each Domain
   a Page” plugin works seamlessly with HTTPS.
 * I have already attempted various troubleshooting steps, including updating the
   site URLs, checking plugin settings, and reviewing the .htaccess file. Despite
   these efforts, I have not been able to resolve the SSL-related issue with the
   additional domains.
 * I would like to kindly request your support in investigating and resolving this
   matter. It would be highly beneficial for users like myself who value both the
   functionality of your plugin and the security offered by SSL.
 * Looking forward to your response and assistance.
    -  This topic was modified 2 years, 10 months ago by [amujain22](https://wordpress.org/support/users/amujain22/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fhttps-not-working-18%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Joeri van Veen](https://wordpress.org/support/users/ruigehond/)
 * (@ruigehond)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/https-not-working-18/#post-16935015)
 * Hello [@amujain22](https://wordpress.org/support/users/amujain22/), thank you
   for contacting me.
 * The plugin should definitely work with ssl, I use it myself with ssl without 
   issues. Your ‘first’ domain is the domain you listed with your question I presume?
   Because I cannot access that domain over ssl, only [http://](https://wordpress.org/support/topic/https-not-working-18/?output_format=md).
   When I try https:// I get an apache error ‘The requested URL was not found on
   this server.’
 * For each domain apache needs a virtual host listening to port :443, they should
   all point at the same folder, where your WordPress is installed, and use the 
   correct certificate for that domain.
 * Can you check this for me: when you switch off ‘each-domain-a-page’, can you 
   access all the domains over https? (obviously they will all show the same homepage,
   not the one you assigned in my plugin)
 * If you can not, there is a misconfiguration in Apache, if you can, switch back
   on my plugin please, and check the domains again. [Edit:] and let me know the
   exact error message please.
 * Also: can you let me know what your second domain is, that you are using for 
   this example / setup?
 * Hope this helps looking for a solution, happy to troubleshoot the issue with 
   you.
    -  This reply was modified 2 years, 10 months ago by [Joeri van Veen](https://wordpress.org/support/users/ruigehond/).
 *  Thread Starter [amujain22](https://wordpress.org/support/users/amujain22/)
 * (@amujain22)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/https-not-working-18/#post-16936323)
 * Hello, [@ruigehond](https://wordpress.org/support/users/ruigehond/) thanks for
   taking the time to resolve my issue. 
   The domain i have mentioned in the question
   is my second domain which i want to link to a post on my website. My primary 
   domain is https://[http://www.amantrran.com](https://www.amantrran.com) which
   is working fine. As you have mentioned my secondary domain is working fine over
   http but is showing error as i switch to https. i have used certbot for obtaining
   SSL for my secondary domain with auto-redirect to https configuration enabled.
   It would be a great pleasure if you could look again upon my issue with the above
   mentioned information. Also, i want to know if it’s possible to use this plugin
   with a domain something like “abc-weds-xyz” since i am planning to use your plugin
   for my wedding invitation website purpose.If yes, please guide me through the
   process to link a domain with hyphens in it, in case there is a different approach
   to follow.Thanks much.
    -  This reply was modified 2 years, 10 months ago by [amujain22](https://wordpress.org/support/users/amujain22/).
    -  This reply was modified 2 years, 10 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).
 *  Plugin Author [Joeri van Veen](https://wordpress.org/support/users/ruigehond/)
 * (@ruigehond)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/https-not-working-18/#post-16936667)
 * Hello [@amujain22](https://wordpress.org/support/users/amujain22/),
 * It looks like you got it working, as far as the SSL issue is concerned: for both
   domains I can see a website over [https://](https://wordpress.org/support/topic/https-not-working-18/?output_format=md).
   The second domain shows the same page as the slug on the main domain. Am I correct
   in assuming there is no error anymore for the second domain?
 * However, some images are missing on the second domain, notably in the buttons
   in the footer. I think these are fonts that are blocked due to cors errors. Can
   you check if the required lines are present in your `.htaccess` file (in the 
   root of your WP installation)?
 *     ```wp-block-code
       # BEGIN ruigehond007
       <IfModule mod_headers.c>
       <FilesMatch ".(eot|ttf|otf|woff|woff2)$">
       Header set Access-Control-Allow-Origin "*"
       </FilesMatch>
       </IfModule>
       # END ruigehond007
       ```
   
 * Regarding your other question: I updated the plugin (to version 1.5.2) and made
   the documentation a little clearer on the settings page. For a domain with hyphens
   just use the domain, it works out of the box. So for domain `abc-weds-xyz.com`
   you use this slug: `abc-weds-xyz-com`
 * For utf-8 / unicode domains, you need to use the punycode in the slug (this is
   also updated in 1.5.2, since WP does not allow utf-8 characters in the slugs 
   anymore). You can convert a unicode domain to punycode online. Remember to NOT
   convert the extensions, only the domain name. I also added an example of it on
   the settings page.
 * Let me know whether you get it working like it should,
 * Kind regards, Joeri
 *  Thread Starter [amujain22](https://wordpress.org/support/users/amujain22/)
 * (@amujain22)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/https-not-working-18/#post-16940683)
 * Dear [@ruigehond](https://wordpress.org/support/users/ruigehond/)
 * I hope this message finds you well. I wanted to express my sincerest gratitude
   for your prompt and valuable assistance in resolving the SSL and domain slug 
   issues with your plugin. Your guidance has been instrumental in getting everything
   up and running smoothly, and I am truly appreciative of your support.
 * I can confirm that the SSL issue is now resolved, and both domains are working
   flawlessly over HTTPS. I am delighted to see that the second domain displays 
   the intended page correctly, just as the slug on the main domain. Your expertise
   in addressing this concern has been invaluable, and I am thankful for the improved
   functionality.
 * Regarding the missing elements on the second domain’s page, I’ve thoroughly investigated
   the matter. Upon careful examination, I realized that the elements causing the
   issue are, in fact, Elementor fonts blocked due to CORS errors. I have resolved
   this matter by enabling headers in my server configuration, and your suggestion
   to check the .htaccess file for the required lines has been of great help.
 * Additionally, I appreciate your promptness in addressing my domain and slug question,
   and your explanation regarding the usage of hyphens and punycode for utf-8/unicode
   domains was highly informative.
 * Once again, I extend my heartfelt gratitude for your exceptional support. Your
   responsiveness and expertise have made a significant difference, and I am now
   confident in the seamless functioning of my website.
 * Wishing you all the best, and looking forward to a successful collaboration in
   the future.
 *  Plugin Author [Joeri van Veen](https://wordpress.org/support/users/ruigehond/)
 * (@ruigehond)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/https-not-working-18/#post-16943456)
 * Thank you for confirming, closing this topic, and for chiming in on the other
   support thread!
   Wishing you success with your business and proud to play a small
   role in it. All the best!

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

The topic ‘Issue with SSL on Additional Domains’ is closed to new replies.

 * ![](https://ps.w.org/each-domain-a-page/assets/icon-256x256.png?rev=2969273)
 * [Each domain a page](https://wordpress.org/plugins/each-domain-a-page/)
 * [Support Threads](https://wordpress.org/support/plugin/each-domain-a-page/)
 * [Active Topics](https://wordpress.org/support/plugin/each-domain-a-page/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/each-domain-a-page/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/each-domain-a-page/reviews/)

## Tags

 * [HTTPS](https://wordpress.org/support/topic-tag/https/)
 * [SSL](https://wordpress.org/support/topic-tag/ssl/)
 * [ssl certificate](https://wordpress.org/support/topic-tag/ssl-certificate/)

 * 5 replies
 * 2 participants
 * Last reply from: [Joeri van Veen](https://wordpress.org/support/users/ruigehond/)
 * Last activity: [2 years, 9 months ago](https://wordpress.org/support/topic/https-not-working-18/#post-16943456)
 * Status: resolved