Htaccess file editing and fixing
Автор: Hakan S.
Просмотрено 497,
Подписчики 1,
Размещенный 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?
Размещено
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.
Автор
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
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
@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...