更新时间:2023-02-18 16:47:04
我假设您在商店目录中使用rewriterules
,而index.php正在处理数据,然后尝试以下操作.
I am assuming you are using rewriterules
in shop directory and index.php is handling the data then try with below.
RewriteEngine On
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+?)$ index.php?s=$1 [L]