私はこのURLを持っています:
http://subdomain.maindomain.com
すべてのリンクはすでに次のように共有されています。
http://subdomain.maindomain.com/index.php?route=product/product&product_id=xxx
http://subdomain.maindomain.com/index.php?route=product/category&path=xxx
http://subdomain.maindomain.com/index.php?route=information/information&information_id=xxx
現在、サブドメインは使用されておらず、すべてのコンテンツがメインドメインに転送されているため、誰かがこれらのリンクのいくつかをクリックしたときに、次のようにリンクが開かれるようにしたいと考えています。
http://maindomain.com/index.php?route=product/product&product_id=xxx
http://maindomain.com/index.php?route=product/category&path=xxx
http://maindomain.com/index.php?route=information/information&information_id=xxx
つまり、サブドメインのみがドメインにリダイレクトされますが、リンクはそのまま残されます。これができる可能性はありますか?
ありがとう。