WebSite X5Help Center

3 ANSWERS - 2 USEFUL
Aleksej H.
Aleksej H.
Moderator

Hello. There are several lines in the ".htaccess" file:


# WebSite X5 - Start Code [do not edit]

<IfModule mod_deflate.c>
SetOutputFilter DEFLATE
</IfModule>

# WebSite X5 - End Code

Add whatever you need after "# WebSite X5 - End Code". For example:

# WebSite X5 - Start Code [do not edit]

<IfModule mod_deflate.c>
SetOutputFilter DEFLATE
</IfModule>

# WebSite X5 - End Code

AddType audio/ogg oga ogg
AddType video/ogg ogv

AddType video/webm webm

Do nothing between "# WebSite X5 - Start Code [do not edit]" and "# WebSite X5 - End Code".

Read more
Posted on the from Aleksej H.
X5 Croatia
X5 Croatia
User
Author

I have my own .htacess code. So frustrating that every upload i must change it...

Read more
Posted on the from X5 Croatia
Aleksej H.
Aleksej H.
Moderator
  1. Let the program create the ".htaccess" file.
  2. Open it.
  3. Do nothing between "# WebSite X5 - Start Code [do not edit]" and "# WebSite X5 - End Code".
  4. Just add your code under "# WebSite X5 - End Code".

This should save your code after you update the site.

Read more
Posted on the from Aleksej H.