この URLを次のwww.mysite.com/index.php?url=othersite.comように書き換える必要があるだけですwww.mysite.com/othersite.com
私はこれを書いた.htaccess
RewriteEngine On
RewriteRule ^([a-zA-Z0-9_-]+)$ index.php?url=$1
RewriteRule ^([a-zA-Z0-9_-]+)/$ index.php?url=$1
また、そのコードをファイルに追加し、.htaccessファイルと一緒にサイトのルートにアップロードしましindex.phpたが、何があっても常に取得しますwww.mysite.com/index.php?url=othersite.com
アドバイスありがとうございます!