Simple 301 is not working with this type of URL:
http://www.example.com/submit/action.php/?url=%20http%3A%2F%2Fwww.mysite.com%2F2017%2F10%2Ffacial-hair-trending-days.html%20&media=http://www.example.com/wp-content/uploads/2017/10/Screen-Shot-2017-10-13-at-5.05.59-PM.png
to
subdomian.example.com/post-1
I have tried .htacess and wordpress plugin as well.
URL Decode online: https://meyerweb.com/eric/tools/dencoder/
You have to use decoded URL in htaccess:
Note : Remove space in URL.
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.