# Still can’t access my .htaccess file

**URL:** https://forums.realmacsoftware.com/t/still-can-t-access-my-htaccess-file/44949
**Category:** RapidWeaver Classic
**Created:** [October 12, 2024, 5:12pm UTC](https://forums.realmacsoftware.com/t/still-can-t-access-my-htaccess-file/44949 "2024-10-12T17:12:48Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![richjh](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/richjh/32/25726_2.png) [@richjh](https://forums.realmacsoftware.com/u/richjh)
#### Post date: [October 12, 2024, 5:12pm UTC](https://forums.realmacsoftware.com/t/still-can-t-access-my-htaccess-file/44949/1 "2024-10-12T17:12:48Z")

</div>

I have followed the tips regarding finding your

In order to force visitors to the secure version of your site, you’ll need to do edit your .htacces file in RapidWeaver. My problem is I can’t find that file. I have googled the heck out of it but it doesn’t seem to to exist so I can use the code below. I’m trying to force RapidWeaver to use only https.

RewriteEngine On

RewriteCond %{HTTPS} off [OR]

RewriteCond %{HTTP:X-Forwarded-Proto} !https

# Edit the line below! You’ll need to replace [www.example.com](http://www.example.com) with YOUR domain

RewriteRule ^(.\*)$ [https://www.oldcoffeeroaster.com/$1](https://www.oldcoffeeroaster.com/$1) [R=301,L]

---

<div class="post-metadata">

### Author: ![Bruno](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/bruno/32/25457_2.png) [@Bruno](https://forums.realmacsoftware.com/u/Bruno)
#### Post date: [October 12, 2024, 5:26pm UTC](https://forums.realmacsoftware.com/t/still-can-t-access-my-htaccess-file/44949/2 "2024-10-12T17:26:32Z")

</div>

Hi @richjh The htaccess file must be created, however you must check that one does not already exist at the root of your site, it is a file starting with a point which means that it is hidden, you must make it visible.  
If you have never handled htaccess files **you must first document yourself** on this because otherwise your site risks being quickly dysfunctional. There are many tutorials on Youtube and online documentation, including [here] Good luck 👍 ([Apache HTTP Server Tutorial: .htaccess files - Apache HTTP Server Version 2.4](https://httpd.apache.org/docs/2.4/en/howto/htaccess.html))

---

<div class="post-metadata">

### Author: ![richjh](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/richjh/32/25726_2.png) [@richjh](https://forums.realmacsoftware.com/u/richjh)
#### Post date: [October 12, 2024, 7:16pm UTC](https://forums.realmacsoftware.com/t/still-can-t-access-my-htaccess-file/44949/3 "2024-10-12T19:16:33Z")

</div>

I have already made it so that hidden files are shown and see all the “.” files and still can’t find it. Suggestions on making it? I’m quite new at doing sonething like this.

---

<div class="post-metadata">

### Author: ![Bruno](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/bruno/32/25457_2.png) [@Bruno](https://forums.realmacsoftware.com/u/Bruno)
#### Post date: [October 13, 2024, 5:02am UTC](https://forums.realmacsoftware.com/t/still-can-t-access-my-htaccess-file/44949/4 "2024-10-13T05:02:02Z")

</div>

You can create a file with a file transfer software like Filezilla at the root of your website or use the functionality integrated into Rapidweaver to edit the htaccess. Since you have not yet discussed htaccess, I insist a lot on the phase of taking information on its operation and its structure, often copy-pasting causes the site to no longer work, it is then enough to delete the htaccess of course. You must understand that it is not rapidweaver that you force to use HTTPS but your server which no longer accepts other types of connection. This is why if your webhost offers it you should in the configuration of your hosting indicate in the security panel HTTPS Only, this is preferable when possible.

---

<div class="post-metadata">

### Author: ![Heroic\_Nonsense](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/heroic_nonsense/32/20666_2.png) [@Heroic\_Nonsense](https://forums.realmacsoftware.com/u/Heroic_Nonsense)
#### Post date: [October 13, 2024, 3:03pm UTC](https://forums.realmacsoftware.com/t/still-can-t-access-my-htaccess-file/44949/5 "2024-10-13T15:03:54Z")

</div>

Alternatively, you can just click this button in the Publishing Settings window to modify your existing .htaccess file, or create one if one doesn’t exist:

 ![Capto_Capture 2024-10-13_17-03-10_](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/3/9/39ee404f6154ad7066ad8605a640e63751446ca8.png)

Cheers,  
Erwin
