apache - thinkphp 如何只顯示主網址,後面跟著的全部不顯示在地址欄中

來源:互聯網
上載者:User
目前:http://zhidao.baidu.com/new?word=&ie=GBK
處理後:http://zhidao.baidu.com/

如何這樣處理 我見過這樣處理的 但是不知道什麼原理

回複內容:

目前:http://zhidao.baidu.com/new?word=&ie=GBK
處理後:http://zhidao.baidu.com/

如何這樣處理 我見過這樣處理的 但是不知道什麼原理

用 標籤 ,參考後台即可。</p> <p class="answer fmt" data-id="1020000004399119"> <p><code>post</code> 提交<br><code>cookies</code> <code>session</code> 儲存<br><code>UrlRewrite</code><br>啥的。</p><p>參考: http://document.thinkphp.cn/manual_3_2.html#url<br>http://doc.thinkphp.cn/manual/url_route.html</p> <p class="answer fmt" data-id="1020000004410159"> <p>這個應該跟url重寫有關,把thinkphp配置項URL_MODEL設定為2,參考thinkphp手冊url路由那一章節應該有你想要的</p> <p class="answer fmt" data-id="1020000004410262"> <p>一般兩種實現:<br>1 簡單粗暴的就是iframe 相對原有基礎上改動也很小<br>2 跳轉全部做成ajax 即保留一個頁面不做跳轉 資料互動全部通過ajax包括頁面模板更換</p> <p class="answer fmt" data-id="1020000004410700"> <p>.htaccess 重寫規則是否寫對。<li ><i class="layui-icon">&#xe63a;

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.