Shorten URL in hosting and real domain (GODADDY)

0

Greetings I am new to the domains and hosting and I have not been able to find a solution to my problem, when on my website I click on the enter button to send me to the login screen instead of leaving :

www.voypalla.net/login, this comes out:

www.voypalla.ent / Home / Login / login.php

that would be folder / subfolder / file.extension

I would like first that the extension .php or .html or whatever it is and second that comes out directly because it is a risk that everyone knows the folders in which the files of my website are hosted. as I understand the configuration is done in the .htaccess file with regular expressions but I do not know how, I leave here the configuration that has mine:

RewriteEngine on
RewriteCond %{HTTP_HOST} ^(www.)?voypalla.net$
RewriteCond %{REQUEST_URI} !^/voypalla/Home
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /voypalla/$1
RewriteCond %{HTTP_HOST} ^(www.)?voypalla.net$
RewriteRule ^(/)?$ voypalla/Home/index.html [L]

Options All -Indexes

RewriteCond %{SCRIPT_FILENAME} -d [OR]
RewriteCond %{SCRIPT_FILENAME} -f
RewriteRule "(^|/)\." - [F]

<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/gif A432000
ExpiresByType image/jpg A432000
ExpiresByType image/jpeg A432000
ExpiresByType image/png A432000
ExpiresByType image/ico A432000
ExpiresByType image/bmp A432000
ExpiresByType text/css A432000
ExpiresByType text/javascript A432000
ExpiresByType application/javascript A432000
ExpiresByType application/x-javascript A432000
</ifmodule>

<Files .htaccess>
Order allow,deny
Deny from all
</Files>

<FilesMatch "(\.(bak|config|dist|fla|inc|ini|log|psd|sh|sql|swp)|~)$">
    Order allow,deny
    Deny from all
    Satisfy All
</FilesMatch>
    
asked by Julio Angel Mejia Tejada 17.12.2018 в 19:58
source

0 answers