0
我希望我的原始網址http://example.com/
的內容在此URL下顯示:http://example.com/seller/nokia
訪問時。 nokia
是動態的。我怎樣才能做到這一點?如果我瀏覽網頁http://example.com/seller/nokia/about.php
那就我沒有使用任何框架被映射到http://example.com/about.php
.htaccess - 在不同的URL下顯示原始URL的內容
URL必須是持久的所有頁面,例如。
我是htaccess的新手,所以我真的希望有人能幫助我。我很確定這不是StackOverflow中任何現有問題的重複。
你在使用任何框架嗎? – Jok3r
@ jok3r不,我沒有使用任何框架。 – Carl
我認爲你需要在.htaccess中重寫一些規則。試試這個https://stackoverflow.com/questions/14895980/htaccess-redirect-without-changing-url – Jok3r