WebSite X5Help Center

 
Hakan S.
Hakan S.
User

Htaccess file editing and fixing  en

Autore: Hakan S.
Visite 365, Followers 1, Condiviso 0  

Hi,

How can i edit, add the code to the .htaccess file.

Because i need to add some codes for the cerificate to .htaccess file, i can add it to directly by txt editor. But Websitex5 changes it everytime according to it needs. Then my site cert not working.

I cannot find related answers in the community. Did you faced with the same issues?

Postato il
4 RISPOSTE - 2 UTILI
Claudio D.
Claudio D.
Moderator
Utente del mese IT

we have already discussed this in other posts...

you have to put your instructions after all the WebsiteX5 section...

so here:

...so even if it overwrites, it does not change your additions.

Leggi di più
Postato il da Claudio D.
Hakan S.
Hakan S.
User
Autore

Thanks Caludio,

I read your answer but not my direct answer of my question.

My main need is; i wanted to edit/add, aff the the; "-End Code"  line.
I mean, how can i add some codes etc, inside of the WebSiteX5 editor?

Because if i do it inside of the Websitex5, it better way to save my adding lines.

On the other hand, for the write or change something, i must use ftp program to dl .htaccess file from the server, than change the lines, than again upload the sama file and overwrite etc etc.

Can i change or edit these (After the - End Code) it better and easy way for me.

Thanks

Leggi di più
Postato il da Hakan S.
Incomedia
Eric C.
Incomedia

Hello Hakan,
the file cannot be edited directly within Website X5 itself: you would need to retrieve it (either from the file explorer in Website X5 or other FTP tools), modify it with an editor, and then upload it again.

Eric

Leggi di più
Postato il da Eric C.
Claudio D.
Claudio D.
Moderator
Utente del mese IT

@Hakan,

As Eric has already said, you cannot edit from within the WebsiteX5 programme.
But you specified that you are already editing it via a TXT editor... so I specified how you should do it so as not to lose the content you added...

Leggi di più
Postato il da Claudio D.