Title: [Plugin: Redirection] CSV import without Regex
Last modified: August 20, 2016

---

# [Plugin: Redirection] CSV import without Regex

 *  [stillingen](https://wordpress.org/support/users/stillingen/)
 * (@stillingen)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-redirection-csv-import-without-regex/)
 * Hi.
 * Thanks for a great plugin. I am trying to import a CSV file using ‘<source url
   >,<destinationurl>’, and I have also tried importing using a previously exported
   file, pasting my new entries in to that. The import works, but all redirects 
   are marked as Regex. I would like to import without all my entried been registered
   as Regex. Is there a way around that?
 * Haakon
 * [http://wordpress.org/extend/plugins/redirection/](http://wordpress.org/extend/plugins/redirection/)

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [michelelougheed](https://wordpress.org/support/users/michelelougheed/)
 * (@michelelougheed)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-redirection-csv-import-without-regex/#post-3125097)
 * I managed to import a csv file of 607 redirects, none marked as regex.
 * Windows comma-separated file
    format: cell A1: [http://oldurl.com/old-article-link/](http://oldurl.com/old-article-link/)
   cell B1: [http://newurl.com/new-article-link/](http://newurl.com/new-article-link/)
 * There should be some documentation around this on the plugin. Took me awhile 
   to figure out how to mass import a list of redirects, but really easy once I 
   knew the format.
 *  [stramark.nl](https://wordpress.org/support/users/stramarknl/)
 * (@stramarknl)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-redirection-csv-import-without-regex/#post-3125120)
 * michele,
 * can you post the content of the csv? because i could not generate the right csv.
 * so can you post something like:
 * /oldurl/,/newurl/,0
 * ?
 *  Thread Starter [stillingen](https://wordpress.org/support/users/stillingen/)
 * (@stillingen)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-redirection-csv-import-without-regex/#post-3125121)
 * > I managed to import a csv file of 607 redirects, none marked as regex.
 * Same format as I used. I ended up importing and removing Regex with mysql query.
 *  [michelelougheed](https://wordpress.org/support/users/michelelougheed/)
 * (@michelelougheed)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-redirection-csv-import-without-regex/#post-3125127)
 * I’m actually having trouble importing with all marked as regex.
 * I simply put old url in one cell, new url in cell beside. Next line for new redirect.
 * A1: [http://oldurl.com/whatever](http://oldurl.com/whatever) B1: [http://newurl.com/whatever-new-link](http://newurl.com/whatever-new-link)
   
   A2/B2: new redirect. A3/B3 etc
 * Any ideas on how to get regex marked on import? Not keen on doing this manually…
 *  [Shovan](https://wordpress.org/support/users/thescube/)
 * (@thescube)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-redirection-csv-import-without-regex/#post-3125129)
 * I am having same issue.
    A1 – A26 : List of Source URL B1 – B26 : List of Target
   URL
 *  Thread Starter [stillingen](https://wordpress.org/support/users/stillingen/)
 * (@stillingen)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-redirection-csv-import-without-regex/#post-3125130)
 * > Any ideas on how to get regex marked on import? Not keen on doing this manually…
 * If non of your entries are Regex, import them, and the search replace in mysql
   like this
 * UPDATE `wp_redirection_items` SET `regex` = replace(`regex`, 1, 0);

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘[Plugin: Redirection] CSV import without Regex’ is closed to new replies.

 * ![](https://ps.w.org/redirection/assets/icon-256x256.jpg?rev=983639)
 * [Redirection](https://wordpress.org/plugins/redirection/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/redirection/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/redirection/)
 * [Active Topics](https://wordpress.org/support/plugin/redirection/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/redirection/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/redirection/reviews/)

 * 6 replies
 * 4 participants
 * Last reply from: [stillingen](https://wordpress.org/support/users/stillingen/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/plugin-redirection-csv-import-without-regex/#post-3125130)
 * Status: not resolved