To import redirect rules from a TXT file use the following format to create the TXT file(one per line):

/oldurl/?$,https://domain.com/newurl/,301
/oldurl2/?$,https://domain.com/newurl/,301

by adding /?$ to the end of /oldpage it ensures that the page will redirect regardless if the URL is entered into the browser with or without the trailing slash.

Did this answer your question?