Title: Bad Cert Domain
Last modified: May 31, 2018

---

# Bad Cert Domain

 *  Resolved [fable03](https://wordpress.org/support/users/fable03/)
 * (@fable03)
 * [8 years ago](https://wordpress.org/support/topic/bad-cert-domain/)
 * Hello, I want to use your module, but once the configuration applied for my domain
   parallaxpictures.fr, it is my other site, cuzcoanimatronics.fr which became inaccessible.
   Indeed, my site cuzcoanimatronics.fr is now using the certificate parallaxpictures.
   fr, which is not correct. My two sites work very well before, my vhosts files
   are correct, uninstall the module does not change anything. Thank you for your
   help
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fbad-cert-domain%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [Alexander C.](https://wordpress.org/support/users/alexanderfoxc/)
 * (@alexanderfoxc)
 * [8 years ago](https://wordpress.org/support/topic/bad-cert-domain/#post-10344508)
 * Hi. In order to undo the changes made by plugin, please refer to this post [https://wordpress.org/support/topic/removing-the-htacccess-rules-of-this-plugin/](https://wordpress.org/support/topic/removing-the-htacccess-rules-of-this-plugin/)
 *  Thread Starter [fable03](https://wordpress.org/support/users/fable03/)
 * (@fable03)
 * [8 years ago](https://wordpress.org/support/topic/bad-cert-domain/#post-10344510)
 * Ah, and reset, delete, change, .htaccess files do nothing.
 *  Plugin Support [Alexander C.](https://wordpress.org/support/users/alexanderfoxc/)
 * (@alexanderfoxc)
 * [8 years ago](https://wordpress.org/support/topic/bad-cert-domain/#post-10344514)
 * Probably you are editing wrong .htaccess. Can you check both .htaccess files 
   of your both sites?
 *  Thread Starter [fable03](https://wordpress.org/support/users/fable03/)
 * (@fable03)
 * [8 years ago](https://wordpress.org/support/topic/bad-cert-domain/#post-10344516)
 * Yes i already done that.
 *  Plugin Support [Alexander C.](https://wordpress.org/support/users/alexanderfoxc/)
 * (@alexanderfoxc)
 * [8 years ago](https://wordpress.org/support/topic/bad-cert-domain/#post-10344528)
 * You also need to disable plugin before editing .htaccess as well.
 * The only thing plugin does is modifying your .htaccess, so removing its modifications
   from there should fix the issue.
 * Also, just in case, go to your WP Dashboard -> Settings -> General and check 
   if both WordPress Address (URL) and Site Address (URL) are correct.
 *  Thread Starter [fable03](https://wordpress.org/support/users/fable03/)
 * (@fable03)
 * [8 years ago](https://wordpress.org/support/topic/bad-cert-domain/#post-10344531)
 * cuzcoanimatronics.fr (site down)
 * # BEGIN WordPress
    <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule
   ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME}!-
   d
 * RewriteRule . /index.php [L]
    </IfModule>
 * # END WordPress
 * Parallaxpictures (site where i use you’r module)
 * <IfModule mod_rewrite.c>
 * RewriteEngine On
    RewriteBase / RewriteRule ^index\.php$ – [L] RewriteCond %{
   REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.
   php [L] RewriteCond %{HTTPS} off RewriteRule (.*) [https://%](https://%){HTTP_HOST}%{
   REQUEST_URI}
 * </IfModule>
 * # BEGIN WordPress
    <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule
   ^index\.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME}!-
   d RewriteRule . /index.php [L] </IfModule>
 * # END WordPress
 *  Plugin Support [Alexander C.](https://wordpress.org/support/users/alexanderfoxc/)
 * (@alexanderfoxc)
 * [8 years ago](https://wordpress.org/support/topic/bad-cert-domain/#post-10344552)
 * These two lines redirect the site to HTTPS:
 *     ```
       RewriteCond %{HTTPS} off
       RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
       ```
   
 * Can you comment them out by putting # at the beginning, e.g.:
 *     ```
       #RewriteCond %{HTTPS} off
       #RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
       ```
   
 * And see if this helps?
 *  Thread Starter [fable03](https://wordpress.org/support/users/fable03/)
 * (@fable03)
 * [8 years ago](https://wordpress.org/support/topic/bad-cert-domain/#post-10344595)
 * Unfortunately no, my website continues to use the wrong certificate. Your module
   has crashed the ssl configuration of my cuzcoanimatronics site for the parallaxpictures
   site. My hostname is cuzcoanimatronics.fr , maybe that it comes into conflict?
 *  Plugin Support [Alexander C.](https://wordpress.org/support/users/alexanderfoxc/)
 * (@alexanderfoxc)
 * [8 years ago](https://wordpress.org/support/topic/bad-cert-domain/#post-10344609)
 * The plugin only changes .htaccess file to make redirects. It does not modify 
   apache config files or whatsoever. If you followed instructions from this post
   [https://wordpress.org/support/topic/bad-cert-domain/#post-10344528](https://wordpress.org/support/topic/bad-cert-domain/#post-10344528),
   the plugin should be completely disabled and no longer redirect your site to 
   HTTPS.
 *  Thread Starter [fable03](https://wordpress.org/support/users/fable03/)
 * (@fable03)
 * [8 years ago](https://wordpress.org/support/topic/bad-cert-domain/#post-10344643)
 * However, this certificate problem occurred just after enabling the configuration
   of your module. I do not want to disable ssl, my site is configured to use only
   ssl. If i do it will beackdown. I know that my certificates let’s encrypt are
   correct. Thank you for your reply
 *  Plugin Support [Alexander C.](https://wordpress.org/support/users/alexanderfoxc/)
 * (@alexanderfoxc)
 * [8 years ago](https://wordpress.org/support/topic/bad-cert-domain/#post-10344660)
 * What I’m trying to help you with is to undo the changes plugin made to your site.
   After that, when it’s back to how it was before you installed the plugin, we 
   can try to figure out why it happened and how to fix it.
 * If this is some error in the plugin itself, I can rectify it. If this is error
   or some conflict in your webserver config, you can rectify that to make things
   work as expected.
 *  Thread Starter [fable03](https://wordpress.org/support/users/fable03/)
 * (@fable03)
 * [8 years ago](https://wordpress.org/support/topic/bad-cert-domain/#post-10345116)
 * I disable all ssl configurations of this site (URL passed from https to http 
   via phpmyadmin, vhost 443 removed and delete new htacess content) but the problem
   persists.
 *  Thread Starter [fable03](https://wordpress.org/support/users/fable03/)
 * (@fable03)
 * [8 years ago](https://wordpress.org/support/topic/bad-cert-domain/#post-10348293)
 * Hi, the problem comes from a vhost https redirection. Can your module be responsible
   for this? If you have any idea about the resolution of this problem I will be
   grateful to you, thanks you.
 *  Thread Starter [fable03](https://wordpress.org/support/users/fable03/)
 * (@fable03)
 * [8 years ago](https://wordpress.org/support/topic/bad-cert-domain/#post-10348512)
 * I found the solution, change
 * <VirtualHost *:80>
 * to
 * <VirtualHost sitename.com:80>
 *  Plugin Support [Alexander C.](https://wordpress.org/support/users/alexanderfoxc/)
 * (@alexanderfoxc)
 * [8 years ago](https://wordpress.org/support/topic/bad-cert-domain/#post-10353748)
 * Thank you for your information and glad you have resolved it.
 * Like I mentioned earlier, plugin can’t control web server config files, therefore
   the only way to fix your issue is to rectify those yourself.
 * And thank you for sharing your solution. I’m sure it will be useful for people
   having similar issues.

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

The topic ‘Bad Cert Domain’ is closed to new replies.

 * ![](https://ps.w.org/https-redirection/assets/icon-128x128.png?rev=1779143)
 * [Easy HTTPS Redirection (SSL)](https://wordpress.org/plugins/https-redirection/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/https-redirection/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/https-redirection/)
 * [Active Topics](https://wordpress.org/support/plugin/https-redirection/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/https-redirection/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/https-redirection/reviews/)

 * 15 replies
 * 2 participants
 * Last reply from: [Alexander C.](https://wordpress.org/support/users/alexanderfoxc/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/bad-cert-domain/#post-10353748)
 * Status: resolved