Eduardo Fuerte
asked on
Could you point how to change the default folder where my site starts?
Hi Experts
Could you point how to change the default folder where my site starts?
My PHP IDE (and also Filezilla) maps the FTP folders accordingly to:
Instead of directly to public_html - accordingly to cPanel Folder Manager:
Since I'm going to necessarily to work from this folder, I have to redirect my site do this folder
So
www.espiriplug.com.br must necessarily to redirect to http://www.espiriplug.com.br/espiriplug/
I guess something else must to be done at my .htaccess to get it done
Could you suggest what must to be done and if possible any other suggestion to workaround it (like how to change the folder where Mozilla start reading to public_html) ?
Thanks in advance!
Could you point how to change the default folder where my site starts?
My PHP IDE (and also Filezilla) maps the FTP folders accordingly to:
Instead of directly to public_html - accordingly to cPanel Folder Manager:
Since I'm going to necessarily to work from this folder, I have to redirect my site do this folder
So
www.espiriplug.com.br must necessarily to redirect to http://www.espiriplug.com.br/espiriplug/
I guess something else must to be done at my .htaccess to get it done
<IfModule mod_rewrite.c>
<IfModule mod_negotiation.c>
Options -MultiViews
</IfModule>
RewriteEngine On
# Redirect Trailing Slashes If Not A Folder...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)/$ /$1 [L,R=301]
#RewriteRule ^(.*)$ https://espiriplug.com.br/$1 [R,L]
# Handle Front Controller...
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>
Could you suggest what must to be done and if possible any other suggestion to workaround it (like how to change the folder where Mozilla start reading to public_html) ?
Thanks in advance!
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
After support, things became clear!