• Resolved jbmaca

    (@jbmaca)


    Hi, can I import redirects in .txt format? I’m looking to switch to this plugin from Quick Page/Post Redirect Plugin. That plugin only lets me export redirects in .txt format. Thanks.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author John Godley

    (@johnny5)

    You will need to convert your file into a format that Redirection supports. Have a look at your .txt file and see how the redirects are stored. A CSV file is just a text file, and you may be able to convert it to CSV.

    Thread Starter jbmaca

    (@jbmaca)

    Thanks for the reply John. The redirects look like this, one per line:

    http://www.willflyforfood.net/2014/04/08/how-to-apply-for-a-japanese-tourist-visa-for-filipinos/|https://www.willflyforfood.net/2017/03/06/how-to-apply-for-a-japan-tourist-visa-for-filipinos/|0|0

    Can I copy and paste each line as is into CSV format and import into your plugin?

    Plugin Author John Godley

    (@johnny5)

    Ok, so it looks like it using the pipe character to split the source and target URL. If you replace the | with , and then rename the file to .csv it *should* import.

    Thread Starter jbmaca

    (@jbmaca)

    Thanks John! I’ll try that. Sorry, one last thing. What about these characters at the end of every line?

    |0|0

    Should I keep those?

    Plugin Author John Godley

    (@johnny5)

    I don’t know what they are, but if you replace all | with , then they will also be replaced, and Redirection should just ignore them. You can also delete them yourself if it causes problems.

    Thread Starter jbmaca

    (@jbmaca)

    Great! Thanks so much!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Import .txt’ is closed to new replies.