Answer the question
In order to leave comments, you need to log in
How to set up the work of subdomains and redirects?
Hello!
For hosting, I used the Zyro website builder.
He saved the finished site to the /zyro folder and edited my .htaccess
After that, all subdomains and redirects created in cPanel stopped working (gives 500 Internal Server Error).
I decided to transfer all the files of my site to the root and change .htaccess
As a result, subdomains started working, but there were problems with the site. To restore the site, I reverted .htaccess to Zyro's version.
At the moment, the site is at the root and the .htaccess code is as follows:
AddDefaultCharset UTF-8
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^.*$ index.php [L,QSA]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question