friendly-url

    0熱度

    2回答

    我想匹配以破折號和一組號碼(或只是一個數)結尾的URL,但不工作: 例子:domain.com/my-product-36-inches-long-135355 # rewrite urls Options +SymLinksIfOwnerMatch +FollowSymLinks -Indexes RewriteEngine On RewriteBase/ # product Rew

    0熱度

    1回答

    我創建了一個註冊&登錄系統,它工作正常。 但是,我只知道如何使一個寄存器&登錄系統,我不知道如何做一個鏈接,每個註冊用戶 ,如: example.com/marwan example.com/user/marwan 這是我的註冊PHP代碼: <?php error_reporting(0); session_start(); if(isset($_SESSION['user

    0熱度

    1回答

    在這裏得到的參數是我的網頁 xyz.com?show=page 在我的index.php文件的代碼會像 <?php echo $_GET['show'] ?> 但我想用戶鍵入只xyz.com/page,它會自動追加?show in url 我該怎麼做? 我的.htaccess像 RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f

    1熱度

    1回答

    我已經學會了使用Stackoverflow中的.Htaccess重寫URL併成功實現該任務。但是,當頁面被訪問時,我在相同的友好URL中看到一些異常變化。讓我們看看發生了什麼。 友好的URL是 http://localhost/CRDLabsphp/PHP/recursive 肚裏succeffully並顯示從 detailspage.php?category=$1 內容但是,當你點擊同友

    0熱度

    1回答

    我想根據以下指南https://elixircasts.io/seo-friendly-urls-with-phoenix在我的應用中實現友好網址。 正在從文章標題ok了DB產生的廢料,但我不能得到這個職位,顯示由塞查找何時收到以下錯誤: function Driverless.Articles.get_by!/2 is undefined or private post_controller.e

    3熱度

    2回答

    目錄: eventfinder是項目文件夾 本地主機 - PROJECT1 - 項目2 - eventfinder ---的.htaccess 用戶來到TH Ë頁http://localhost/eventfinder/和後/ eventfinder類型「randomevent123」/ 那麼PHP查詢情況與?事件= randomevent123從數據庫 我試圖重寫我的網址 $event = $_

    0熱度

    3回答

    我將我的友好URL從Apache移動到nginx,並且出現問題。我希望Friendly URL只在子目錄sgforum內有效。 在PHP中,我收到了地址爲:127.0.0.1/sgforum/index,127.0.0.1/sgforum/member等 當我去127.0.0.1/sgforum/ - 它的工作原理,但是當我給成員(127.0.0.1/sgforum/member),或指數,它下載

    0熱度

    1回答

    我有用於查看產品的ProductController。 產品有一個slu and和一個類別。 我想以下漂亮網址(示例) URL CONTROLLER ACTION PARAMETER www.example.com/products -> ProductController.Products : "" (empty string) www.example

    0熱度

    1回答

    我將DNNFriendlyUrl安裝到了我的主要站點,該站點在Web配置文件中有幾個門戶。 <friendlyUrl defaultProvider="DNNFriendlyUrl"> <providers> <clear /> <add name="DNNFriendlyUrl" type="DotNetNuke.Services.Url.FriendlyUrl

    0熱度

    1回答

    我想我的網站(的Joomla)的單個URL重寫一個友好的URL即 www.example.com/index.php?option=com_mycomponent&view=article&id=10&nav_button=0&article_layout=1&Itemid=503 到 www.example.com/favourit 不干擾網站的其他網址 謝謝你的幫助。