htacess链接与Get

时间:2019-01-09 15:06:32

标签: php get

我尝试在链接中添加“获取”。

我的.htaccess文件:

RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteCond %{THE_REQUEST} !^[A-Z]+\s/plesk-stat [NC]
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

RewriteCond %{HTTP_HOST} ^asku\.net [NC]
RewriteCond %{THE_REQUEST} !^[A-Z]+\s/plesk-stat [NC]
RewriteRule ^(.*)$ https://www.asku.net/$1 [L,R=301,NC]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d 
RewriteRule ^(.+)$ ./index.php?beurl=$1

https://www.asku.net/yossi = https://www.asku.net/index.php?beurl=yossi

如何在链接中“启用” GET?像这样:

https://www.asku.net/yossi?howareyou=good 

0 个答案:

没有答案