2
我有一個PHP頁面:htaccess的重定向虛擬別名網址
www.mydomain.com/subfolder/subfolder/thepage.php
我想通過訪問它:
www.mydomain.com/page
怎麼可能使用.htaccess文件?
我想使用別名或虛擬名稱來替換長目錄url。
我有一個PHP頁面:htaccess的重定向虛擬別名網址
www.mydomain.com/subfolder/subfolder/thepage.php
我想通過訪問它:
www.mydomain.com/page
怎麼可能使用.htaccess文件?
我想使用別名或虛擬名稱來替換長目錄url。
RewriteEngine On
RewriteBase/
RewriteRule ^page$ /subfolder/subfolder/thepage.php [L]