具有2个子文件夹的Htaccess重定向器问题

时间:2019-10-16 19:27:36

标签: apache .htaccess

我有这样的链接

http://doseagull.tabanirealestate.com/mobile/ 当我碰到这个

see screenshot1

要获取我想要的内容,我需要点击此网址 http://doseagull.tabanirealestate.com/mobile/mobile/

基本上我想读取URL中只有一个移动设备的内部移动文件夹 see screenshot2

这是我尝试过的方法,但是没有运气,我也尝试过其他方法,但是无济于事

RewriteBase /mobile/
RewriteRule ^(.*)$ mobile/$1 [L]

0 个答案:

没有答案