开发者

Redirect any DomainName.com/FolderName to DomainName.com using .htaccess

开发者 https://www.devze.com 2023-02-21 04:28 出处:网络
I want redirect any RandomDo开发者_运维技巧mainName.com/FolderName to RandomDomainName.com using .htaccess.

I want redirect any RandomDo开发者_运维技巧mainName.com/FolderName to RandomDomainName.com using .htaccess.

Thanks Jean


put this in root .htaccess file

RewriteRule ^FolderName/?.*$ http://randomdomain.com [L,R=302]
0

精彩评论

暂无评论...
验证码 换一张
取 消