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.
このリンクからクエリ文字列を削除/リダイレクトしようとしています:
http://www.myDomain.com/detail/link-526.html?fb_action_ids=10151931158951677&fb_action_types=og.likes&fb_source=aggregation&fb_aggregation_id=288381481237582
このリンクを取得するには:http ://www.myDomain.com/detail/link-526.html
どんな助けでも大歓迎です、ありがとう。
ドキュメントルートのhtaccessファイルにこれを追加してみてください。
RewriteEngine On RewriteCond %{QUERY_STRING} (^|&)fb_action_ids= RewriteRule ^/?detail/link- %{REQUEST_URI}? [L,R=301]
これは、Facebookクエリ文字列が含まれていない場合にブラウザをリダイレクトしますが、ページのコンテンツがそれを追加し続けると、リダイレクトがループする可能性があることに注意してください。