I have a wordpress site and I need to redirect the homepage " http://members.slateadvisers.com/ "
to the registration page
" http://members.slateadvisers.com/?action=registeruser&subscription=1 "
How can I do this with htaccess?
Insert this rule on top of all the rules just below RewriteBase
line:
RewriteCond %{HTTP_HOST} ^members\.slateadvisers\.com$ [NC]
RewriteRule ^$ ?action=registeruser&subscription=1 [L,R=301]
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.