1

我正在尝试将https://mydomain.com/free屏蔽为 www.myotherdomain.com,以便在输入 www.myotherdomain.com 或 myotherdomain.com 时,它会在 mydomain.com 加载页面,但在地址中显示 myotherdomain.com bar 以及通过 mydomain.com 保持 ssl 连接而不必使用 iframe,这可能吗,我对使用 .htaccess 和 mod_rewrite 相当陌生,我的 .htaccess 代码如下

# BEGIN WordPress

Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
RewriteCond %{HTTP_HOST} !^javitaonlinecafe\.com$ [NC]
RewriteRule ^(.*)$ http://freejavitacoffee.com [R=301,L]

# END WordPress
4

0 回答 0