如何URL重写为GoDaddy的子文件夹的共享主机 [英] how to Url rewriting for shared hosting of godaddy sub folders
本文介绍了如何URL重写为GoDaddy的子文件夹的共享主机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我试图重写我的子文件夹的网址,
I am trying to rewrite URL of my sub folders ,
我的 mysite.php /子文件夹/登录/ index.php文件 在这里我想重写URL到任何加密格式或想要最新的 mysite.php /登录/ index.php文件在这里我要隐藏的子文件
I have mysite.php/subfolder/login/index.php where i want to rewrite the url into any encrypted format or want latest mysite.php/login/index.php where i want to hide the sub folder
希望任何能帮助我试着用,的htaccess ,但没有奏效。
Hope any can help i tried with ,htaccess but it didn't work ..
感谢提前....
推荐答案
试试这个:
RewriteRule ^login\/index\.php$ /subfolder/login/index.php [L]
这是我最大从你的问题的理解。
That is the max i understood from your question.
这篇关于如何URL重写为GoDaddy的子文件夹的共享主机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文