noob here。我如何重定向:將動態網站URL重定向到其動態子域URL
編輯:
http://domain.com/members/index.php/register/params?item=1&pname=productname&pid=1289465219
到
http://members.domain.com/index.php/register/params?item=1&pname=productname&pid=1289465219
與htaccess的?
其中「item」,「pname」和「pid」變量是動態的。
重寫使用正則表達式。 「動態」僅僅意味着「在這裏使用通配符」。 –
hello @MarcB。就像我剛纔提到的那樣,我是新手(不太熟悉htaccess /重寫世界)。我只是希望你們中的某個人能夠給我更直接的回答,因爲我的這項任務的時間有限:( - 感謝你的回覆。 – Victor