WebSite X5Help Center

 
Hakan S.
Hakan S.
User

Htaccess file editing and fixing  en

Author: Hakan S.
Visited 313, Followers 1, Shared 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?

Posted on the
4 ANSWERS - 2 USEFUL
Claudio D.
Claudio D.
Moderator
Best User of the month 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.

Read more
Posted on the from Claudio D.
Hakan S.
Hakan S.
User
Author

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

Read more
Posted on the from 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

Read more
Posted on the from Eric C.
Claudio D.
Claudio D.
Moderator
Best User of the month 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...

Read more
Posted on the from Claudio D.