WebSite X5Help Center

 
Francos H.
Francos H.
User

Htaccess File  en

Автор: Francos H.
Просмотрено 1580, Подписчики 1, Размещенный 0  

My SEO guys sent me an htaccess file to upload to my root directory. Every time I update my website the software warns me that it overwrites the htaccess file. Is there a way that I can copy the settings they sent me into the software to avoid this happening?

Размещено
3 Ответы - 1 Полезно
Paul M.
Paul M.
Moderator

Hello Francos,

You can upload the .htaccess file which you have been given using either an FTP client or the built-in FTP engine within WebSite X5.  If using the latter option then see the screenshots below:

Click on the first icon highlighted in red (in Step 5) to browse the directory structure on your server, and click on the second to select your .htaccess file to upload it.  It should be uploaded to the root folder of your WebSite X5 project.

Please note that you will need to add a single period to the filename before it will work on your server:

i.e.  .htaccess NOT htaccess

Once you've done this then you can carry on using WebSite X5 as normal, with regular uploads, etc.  -  WebSite X5 doesn't replace existing .htaccess files...  it merely edits them, appending text as necessary.

Kind regards,

Paul

Search the WebSite X5 Help Center

Читать больше
Размещено От Paul M.
Francos H.
Francos H.
User
Автор

Hi, I understand that but then presumably every time I make a change to the site I need to upload the file. Is there no way of incorporating these settings in the app to avoid having to do this. If not no problem, was just wondering?

Читать больше
Размещено От Francos H.
Paul M.
Paul M.
Moderator

No, your understanding is not quite correct in that respect.

WebSite X5 will not 'interfere' with your .htaccess file in any way, other than to append or remove its own code.

Your other entries will remain untouched.

Читать больше
Размещено От Paul M.