SEOオプションでサブドメインではなくディレクトリ方式にすることはできますか?

AIシュリーマンのSEOオプションでは通常サブドメイン方式で提供しています。
ex) en.ai-translate.com
これを ai-translate.com/en のようにスラッシュ配下にする設定を一般的にディレクトリ方式と呼びます。
弊社ではサブドメイン方式を推奨していますが、御社側でリバースプロキシの設定が可能であれば上記のようなディレクトリ方式でURLを適用することも可能です。
 
Nginxの設定例(nginx.conf):
server { listen 80; resolver 8.8.8.8 8.8.4.4 valid=300s; resolver_timeout 10s; # 英語、韓国語のドメインを対応している場合 location ~ ^/(?<lang_code>en|ko)(?<rest>/.*)?$ { proxy_pass https://$lang_code.example.com$rest$is_args$args; proxy_set_header Host $lang_code.example.com; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_redirect off } } 6,8 Top
 
Apacheの設定例 (.htaccess または httpd.conf):
RewriteEngine On # 英語、韓国語のドメインを対応している場合 RewriteRule ^(en|ko)(/.*)?$ https://%1.example.com$2 [P,L] # プロキシの設定 ProxyPreserveHost On ProxyRequests Off ProxyPass / https://example.com/ ProxyPassReverse / https://example.com/ # ヘッダーの設定 RequestHeader set X-Forwarded-Proto "https" RequestHeader set X-Forwarded-Port "443"
 
※ディレクトリ方式での設定を行った場合、AIシュリーマン側での設定の書き換えを行いますので管理画面内の[お問い合わせ]からご連絡ください。