On a hosting by default the site is allocated in public_html But I need to rise on level above and to allocate it in the folder <a site name> (which is flush with public_html> I Modify such code: the Code (Text): RewriteEngine on RewriteCond % {HTTP_HOST} ^ (www.)? website.com $ RewriteCond % {REQUEST_URI}! ^/frontend/RewriteCond % {REQUEST_FILENAME}!-f RewriteCond % {REQUEST_FILENAME}!-d RewriteRule ^ (. *) $/frontend / $1 RewriteCond % {HTTP_HOST} ^ (www.)? website.com $ RewriteRule ^ (/)? $ frontend/[L] It does a redirect in enclosed a folder/frontend/, but I need to rise on level above and to make readdressing in a folder <sitename>/frontend (once again: the folder <sitename> is flush with public_html) How many did not modify this code - does not work (changed "/frontend /" on "/./sitename/frontend /"). Such sensation that does not allow to rise on level above.
↧