How to rewrite url to share godaddy helper folders

I am trying to rewrite the URL of my subfolders,

I have mysite.php / subfolder / login / index.php where I want to rewrite the URL in any encrypted format or want mysite.php / login / index.php where I want to hide the subfolder

Hope someone can help me with htaccess , but that didn't work.

Thanks in advance....

+1
source share
1 answer

try the following:

RewriteRule ^login\/index\.php$ /subfolder/login/index.php [L] 

This is the max I understood from your question.

0
source

Source: https://habr.com/ru/post/953202/


All Articles