Application error after changing htacces

Hi, I am trying to point my domain to my website using CNAME. After that I have chosen to ‘Redirect from non-www to www’. I did this by changing the htacces, but it did not work as I got the message ‘application error’ when opening my webiste. I set htacces back again as it was, but unfortunately still my website shows ‘application error’. When checking my logs it says “Accessed Website Builder”. I am a bit lost now. Is there someone who could help with this. Thanks.

Hi @JMul
Can you post the code of your .htaccess file

I am not sure if this is these are the codes you want to know:
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ zyro/$1 [L,QSA]
But I have been trying to solve this problem by myself and found out that I needed to click on publish on website builder. So now it is showing again http://name.000webhostapp.com/ again and no ‘application error’. Now I am a bit confused what to do after pointing my own domain by CNAME to name.000wehostapp.com. I am a bit lost…

Add RewriteEngine on
To the 1st line

Thanks. I added ‘RewriteEngine’, but when rechecked it did not stay as written. My main problem now is after changing the Wordpress url and site address on Wordpress and when clicking my domain name it redirects to domain.000webhost with another template (probebly from Wordpress). How can I change this back to my website again.

Have you just removed all your files?

Post your 000webhostapp URL here.

1 Like

Hi, thanks for your concern. Well…I am intend to remove my files. 000webhost is an amazing web builder. It is easy to do and is complete with multi language. That is why I like it very much. But unfortunately there are too many actions to redirect the domain.000webhost to my ‘own domain’ which makes complicate for me (I am a layperson in this matter) and I am actually giving up as I am not getting any further.

Check this http://wwwpro-key-tectcom.000webhostapp.com/