# My site is redirecting!

**URL:** <https://forums.realmacsoftware.com/t/my-site-is-redirecting/26906>\
**Category:** RapidWeaver Classic\
**Created:** [May 22, 2019, 2:37am UTC](https://forums.realmacsoftware.com/t/my-site-is-redirecting/26906 "2019-05-22T02:37:01Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Figory](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/figory/32/10659_2.png) [@Figory](https://forums.realmacsoftware.com/u/Figory)\
**Post date:** [May 22, 2019, 2:37am UTC](https://forums.realmacsoftware.com/t/my-site-is-redirecting/26906/1 "2019-05-22T02:37:02Z")

</div>

I published a site today and all looked good (still working on it) [Here](https://scriptsrx25.com)

Sometimes when I go to it it’s there, other times its redirected to [example.com](http://example.com)

How is that possible!?

---

<div class="post-metadata">

**Author:** ![DougUK](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/douguk/32/14660_2.png) [@DougUK](https://forums.realmacsoftware.com/u/DougUK)\
**Post date:** [May 22, 2019, 8:00am UTC](https://forums.realmacsoftware.com/t/my-site-is-redirecting/26906/2 "2019-05-22T08:00:51Z")

</div>

> [@Figory](#):
>
> Here

Your site redirects when using http: but its fine when using https: so you need to ask your web host to adjust the address the http redirects too.  
Hope that helps 🙂

Cheers  
Doug

---

<div class="post-metadata">

**Author:** ![teefers](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/teefers/32/8173_2.png) [@teefers](https://forums.realmacsoftware.com/u/teefers)\
**Post date:** [May 22, 2019, 11:21am UTC](https://forums.realmacsoftware.com/t/my-site-is-redirecting/26906/3 "2019-05-22T11:21:53Z")

</div>

Did you add an htaccess rule to redirect to https? You might have forgotten to change the `example.com` to your URL.

---

<div class="post-metadata">

**Author:** ![Figory](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/figory/32/10659_2.png) [@Figory](https://forums.realmacsoftware.com/u/Figory)\
**Post date:** [May 22, 2019, 2:12pm UTC](https://forums.realmacsoftware.com/t/my-site-is-redirecting/26906/4 "2019-05-22T14:12:22Z")

</div>

ahhh thankyou I did forget to change it ! Thanks !

---

<div class="post-metadata">

**Author:** ![LaPan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/lapan/32/92_2.png) [@LaPan](https://forums.realmacsoftware.com/u/LaPan)\
**Post date:** [May 22, 2019, 5:32pm UTC](https://forums.realmacsoftware.com/t/my-site-is-redirecting/26906/5 "2019-05-22T17:32:34Z")

</div>

Some easy .htaccess instructions for that can be seen here:

> **[Force SSL](https://weaver.tips/force-ssl)**
>
> There are a few ways to force users to the secure (HTTPS) version of your site. All require the use of a .htaccess file. The method to use depends on your hosting company. It is safe to try all to see which works.
> 
> Method 1:
> 
> RewriteEngine On...

---

<div class="post-metadata">

**Author:** ![Figory](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/figory/32/10659_2.png) [@Figory](https://forums.realmacsoftware.com/u/Figory)\
**Post date:** [May 22, 2019, 6:49pm UTC](https://forums.realmacsoftware.com/t/my-site-is-redirecting/26906/6 "2019-05-22T18:49:26Z")

</div>

Thanks everyone.

Yes I had remembered to edit the htaccess… but forgotton to put the domain in there. All makes sense now.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/system/32/25301_2.png) [@system](https://forums.realmacsoftware.com/u/system)\
**Post date:** [June 22, 2019, 4:49am UTC](https://forums.realmacsoftware.com/t/my-site-is-redirecting/26906/7 "2019-06-22T04:49:29Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
