Question: |
Created sweat-domain \"m.sibles-stroy.ru\" with working directory \"m\" respectively laid \"index.php\" but since the directory was not.\"htaccess\" indicates the index of the directory \"index.php\" I am in control of the redirection specified \"m.sibles-stroy.ruindex.php\" but so unnecessary to me now... got rid of all the sweat-domain, re-create \"m.sibles-stroy.ru\" but the redirection is triggered.. please clear the cache, or whatever... in General help or tell me what nibudb |
Answer: |
Hello . server ENET no cache. remove .htaccess from a folder |
Question: |
And here .htaccess? I immediately deleted.. this sweat-domain is now generally \"not listening\" file .htaccess made over the condition for the redirection and configuration... how to fix that? the point is that, delete do not delete, redirect poprezhnemu appears on m.sibles-stroy.ruindex.php |
Answer: |
You have no subdomain m.sibles-stroy.ru |
Question: |
well, I deleted it, removed already... the fact is that I`ll create and m.sibles-stroy.ru it will perenapravljaetsja in m.sibles-stroy.ru/index.php and to me that is unnecessary |
Answer: |
and where he needs perenapravljat? the subdomain will not perenapravljaetsja. redirection is only possible in two sposobami or through .htaccess or via index file in the folder of the subdomain |
Question: |
open \"m.sibles-stroy.ru\"... opened m.sibles-stroy.ru/index.php ?? |
Answer: |
Yes .opened |
Question: |
and I don`t need to redirecti on index.php... how else are affected. |
Answer: |
You .htaccess in the folder of the subdomain specified RewriteEngine On DirectoryIndex index.php RewriteRule ^([- a-z,A-z,0-9]*)(/?)$ index.php?id=$1 what was redirected, is it? |
Question: |
Yes, it`s nothing neimeet, now I deleted all the files from \"m\" to go and make sure that the server sends prezhnemu on the index.PHP \"m.sibles-stroy.ru\" |
Answer: |
serve one of nikud Ana directs. you redirect to .htaccess DirectoryIndex index.php
RewriteEngine On
RewriteRule ^([- a-z,A-z,0-9]*)(/?)$ index.php?id=$1 the file /public_html/.htaccess action file .htaccess applies to all enclosed directories the folder /public_html/m/ under the influence /public_html/.htaccess |
Question: |
then why when I open root \"sibles-stroy.ru\" I was not directed to the \"sibles-stroy.ru/index.php\" ??? |
Answer: |
at sibles-stroy.ru You have open sibles-stroy.ru/index.php |
Question: |
... open the result of \"sibles-stroy.ru/index.php\" but no redirection to the \"sibles-stroy.ru/index.php\" when I enter the site the browser this nepatazane in the address bar clean http://sibles-stroy.ru/ |
Answer: |
so at m.sibles-stroy.ru also no m.sibles-stroy.ru/index.php nebylo. display only its contents http://tools.pingdom.com/fpt/#!/bwt7Hi/http://m.sibles-stroy.EN |
Question: |
https://yadi.sk/i/KZiytH9nqhTpy |
Answer: |
you redirect to .htaccess
DirectoryIndex index.php
RewriteEngine On
RewriteRule ^([- a-z,A-z,0-9]*)(/?)$ index.php?id=$1
the file /public_html/.htaccess
action file .htaccess applies to all enclosed directories
the folder /public_html/m/ under the influence /public_html/.htaccess the video shows a 404 error. In a file folder You have. and if there is no file it is it is logical that You see a 404 error . |