Open ghost opened 5 years ago
E.g. zh-cn/soc/9/single-html/suse-openstack-cloud-operations/ does not exist, but (en-us/)soc/9/single-html/suse-openstack-cloud-operations/ is valid, so if possible we should redirect there.
zh-cn/soc/9/single-html/suse-openstack-cloud-operations/
(en-us/)soc/9/single-html/suse-openstack-cloud-operations/
Apache can check if a file name exists with RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -f.
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} -f
E.g.
zh-cn/soc/9/single-html/suse-openstack-cloud-operations/
does not exist, but(en-us/)soc/9/single-html/suse-openstack-cloud-operations/
is valid, so if possible we should redirect there.