url-rewriting

    -1热度

    1回答

    这适用于所有改写请求到的index.php位于我的根文件夹,这对于example.com/1/2/3/4/5工作/ ... DirectoryIndex index.php RewriteEngine On RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] Rew

    2热度

    2回答

    对我的问题可能有一个非常简单的答案,但经过几个小时的浏览,我仍然没有找到解决方案,所以非常感谢您的帮助。也许我应该提到,我在Bluehost中使用了一个子域(同一个帐户上有多个域)。 我想改写:www.example.com/myfolder 到www.example.com/index.php?s=myfolder RewriteEngine On RewriteBase/ RewriteCo

    1热度

    1回答

    我一直面临着这个问题相当长的一段时间,但我一直只是改变了文件名,但我不能这样做,这一次 我有以下两种的RewriteRules设置: RewriteRule ^register-company register-company.php RewriteRule ^register register.php 同样适用于 RewriteRule ^register/company register

    0热度

    1回答

    我有一个看起来喜欢这样的原始URL里面: https://example.com/?page=map&path=Video's 我创建的IIS管理器中的规则,上述重写为 http://h2609709.stratoserver.net/map/Video's/ 这工作正常。 然而,当原始URL是这样的: https://example.com/?page=map&path=Video's/

    0热度

    1回答

    重写我只想重写我的网址一样 http://sifweb/about-us/Open-Article/ArtMID/7821/ArticleID/1132/Nirmal-test 到 http://sifweb/about-us/Open-Article/Something 但要重定向相同的旧网址只是想在浏览器重写URL。 我下面简称链接 IIS URL Rewrite and Web.co

    0热度

    1回答

    我要重写以下网址: https://www.example.com/tools/tool.php?id=predict-backlinks 要: https://www.example.com/tools/predict-backlink 由于这里建议:URL Rewriting for sub-folder 现在工作的网址是https://www.example.com/tools/to

    -1热度

    1回答

    http://localhost/shorter/?aQ3d4B (http://localhost/shorter/index.php?aQ3d4B) 我想重定向url没有问号。 so; http://localhost/shorter/aQ3d4B 这是行不通的。 Options +FollowSymLinks RewriteEngine on RewriteRule shor

    2热度

    1回答

    请帮我解决这个问题。我一直在努力与htaccess一段时间。 我有一个链接索引页beedy.php必须传递一些参数,如 <a href=”beedy.php?user=1”>Link 1</a> ,但我不希望它展现给用户,所以我写了这样的 链接1 用户价值是1这里 哪些工作正常。但在beedy.php页面上,我有另一个链接,应该带我到我们的页面。但是,当我点击链接时显示的页面未找到(请求的UR

    2热度

    1回答

    我在我的网站的根目录中有html页面,并且在名为“c”的文件夹中有更多页面。 我在我的.htaccess文件中有以下正则表达式来隐藏URL中的子目录“/c”。 RewriteCond %{REQUEST_URI} !^/(a|c|e|f|i|n|s|home|mainpage1|mainpage2| mainpage3|mainpage4|mainpage5|mainpage6|mainpage7

    1热度

    1回答

    我更改了一个完美工作的网站的托管,该网站是一台服务器上的插件域,另一台服务器上的插件域。现在,除了index.php文件外,URL重写规则不起作用。 我在.htaccess文件下列代码排除只行: RewriteRule ^p/(.*) index.php?p=$1 [L] 正在和其他人都没有。我联系了服务器提供商,他们确认重写所需的模块已正确安装,从他们的最终没有问题。 代码中的错误是什么? Re