# HTTPS Weiterleitung in .htaccess und Integration in den neuen Shopware-Block

**URL:** <https://forum.shopware.com/t/https-weiterleitung-in-htaccess-und-integration-in-den-neuen-shopware-block/69989>\
**Category:** Installation / Einstieg\
**Created:** [2. Oktober 2020 um 11:25 UTC](https://forum.shopware.com/t/https-weiterleitung-in-htaccess-und-integration-in-den-neuen-shopware-block/69989 "2020-10-02T11:25:54Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![opalion](https://avatars.discourse-cdn.com/v4/letter/o/a587f6/32.png) [@opalion](https://forum.shopware.com/u/opalion)\
**Post date:** [2. Oktober 2020 um 11:25 UTC](https://forum.shopware.com/t/https-weiterleitung-in-htaccess-und-integration-in-den-neuen-shopware-block/69989/1 "2020-10-02T11:25:54Z")

</div>

Hallo,

Shopware hat beim Update von 6.2.3 auf 6.3.0.0 ja die .htaccess Datei unweigerlich überschrieben und entfernt somit die https-Weiterleitungen, die man dort selbst platziert hat.

Ab Shopware 6.3.0.0 gibt es nun ja die # BEGIN Shopware und # END Shopware Blöcke. Und Anpassungen sind außerhalb des Blocks zu machen.

Nur wo gibt man nun die https-Weiterleitungen hin? Die letzte Zeile des Shopware-Blocks (siehe Screenshot mit der grünen 1) darf nicht vor der https Weiterleitung gerufen werden, sonst funktioniert sie nämlich nicht. D.h. unten außerhalb des Shopware-Blocks einfach die https-Zeilen hinzugeben funktioniert nicht. Wie habt Ihr das gelöst?

Das einzige, was mir noch einfällt, wäre, die Zeilen VOR dem Shopware Block hinzuzugeben mit einem eigenen

&nbsp;&nbsp;&nbsp; RewriteEngine On

…

 ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/c/cb873a550a167d2b43fb2fb818663c7106538e78.png)

&nbsp;

Danke für eure Hilfe.

---

<div class="post-metadata">

**Author:** ![musikdiscount24](https://avatars.discourse-cdn.com/v4/letter/m/ac8455/32.png) [@musikdiscount24](https://forum.shopware.com/u/musikdiscount24)\
**Post date:** [2. Oktober 2020 um 11:53 UTC](https://forum.shopware.com/t/https-weiterleitung-in-htaccess-und-integration-in-den-neuen-shopware-block/69989/2 "2020-10-02T11:53:53Z")

</div>

Hallo,

wir haben die https-Weiterleitungen - wie du auch schreibst - auch an den Anfang der Datei gestellt und es läuft.

Ob das nun so vorgesehen ist würde mich auch interessieren.

Viele Grüße
