Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
「PAGEX.aspx」以外のサイト X (http://example.com) のすべてをサイト Y (http://destinationwebsite.com) に転送したい
(http://example.com/PAGEX.aspx?callback=7259%2F7062434327_9fbc6da0cd)
これはうまくいくはずです:
RewriteCond %{REQUEST_URI} !^/?PAGEX.aspx$ RewriteRule .* http://destinationwebsite.com [R=301,L]
RewriteRule!で正規表現の先頭に追加すると、否定として機能します。
!