Title: base url fix
Last modified: August 22, 2016

---

# base url fix

 *  [michaelgs](https://wordpress.org/support/users/michaelgs/)
 * (@michaelgs)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/base-url-fix/)
 * My website was working perfect yesterday,
    Today I had the host install SSL which
   works perfect it was tested by Comodo I am told there is something wrong with
   my base url or with a WP script. I flushed DNS removed all plugins,re-installed
   WordPress and my theme,and still this is what happens: if I use [https://christmasshortstory.com](https://christmasshortstory.com)
   every page resolves perfect, but when I use [http://christmasshortstory.com](http://christmasshortstory.com)
   every page is messed up. This is a problem since all my inbound links point to
   http, not https. Can anyone help me figure this out?

Viewing 1 replies (of 1 total)

 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [11 years, 5 months ago](https://wordpress.org/support/topic/base-url-fix/#post-5523811)
 * > but when I use [http://christmasshortstory.com](http://christmasshortstory.com)
   > every page
   >  is messed up.
 * Have you tried putting in a http to https redirect via `.htacces` like so?
 *     ```
       <IfModule mod_rewrite.c>
       RewriteEngine on
       RewriteCond %{HTTP_HOST} christmasshortstory\.com [NC]
       RewriteCond %{SERVER_PORT} 80
       RewriteRule ^(.*)$ https://christmasshortstory.com/$1 [R=301,L]
       </IfModule>
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘base url fix’ is closed to new replies.

## Tags

 * [base url](https://wordpress.org/support/topic-tag/base-url/)
 * [script](https://wordpress.org/support/topic-tag/script/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/base-url-fix/#post-5523811)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
