A
A
Alexander Bagirov2014-03-17 15:37:57
Apache HTTP Server
Alexander Bagirov, 2014-03-17 15:37:57

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]

Tell me, please, what should be added to restore the system?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Stepan, 2014-03-17
@alexbagirov

Rewrite .htaccess for the new site folder structure.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question