AddDefaultCharset UTF-8
RewriteEngine On
RewriteBase /
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
RewriteCond %{HTTP_HOST} ^example\.com [NC]
RewriteRule ^(.*)$ http://www.example.com/$1 [R=301,NC,L]
RewriteRule ^(.*)/$ ./msadmin/index.php?string=$1 [NC,L]
写入https://example.com/msadmin/后重定向到 https://example.com/msadmin/index.php?string=https://example.com/msadmin
哪一部分错了? 我需要去https://example.com/msadmin/
谢谢
答案 0 :(得分:0)
将所有代码替换为此:
var url= document.getElementById("preview").getAttribute("data-element");
确保在新的浏览器中对其进行测试。