Viewing 15 replies - 16 through 30 (of 44 total)
  • Thanks for the contribution @stephdotnet.

    Another quick tip to add: individual redirects won’t work with this update, so if you need the functionality available after importing you will need to revert this update in the code.

    This fix is needed!!

    I hope the author, John Godley, can incorporate this fix in the next version of the plugin

    ??

    Thanks Stephdotnet and ZanchettaSol! This isn’t the first time this plugin had this problem. It was an issue last year too.

    That worked for me as well. Thank you

    3 weeks on, still no fix for this.

    Second that Mattsapcote. I just checked his fork on GitHub and he even states that 2.4.2 includes the update patch to fix .csv import. I tried and it said it uploaded, but they aren’t there. Where is the .csv sample file so we know where to put the data?

    Thanks everybody for this threat, I wasn’t sure if I just formatted the csv file in the wrong way.

    Thank you @stephdotnet, your fix worked for me.

    Also in case anybody is wondering the csv formatting that worked for me is:

    old url(no https://xyz.com), new url(including https://xyz.com)

    it seems you can no longer use regular expressions in your redirects when you change ‘group_id’ to ‘group’, so if you want to upload a csv-file set it to ‘group’ and if you want to use reg exp change it back to ‘group_id’

    So one month in with no fix, fantastic.

    I would happily contribute towards your time to fix the plugin!!

    Hi All,

    This was frustrating me as well… So I went ahead and made a pull request on behalf of Stephendotnet https://www.ads-software.com/support/profile/stephdotnet

    See: https://github.com/johngodley/redirection/pull/78

    Thanks for finding this.

    We currently have version 2.4.2 but the import does not seem to work even after making the change Stephdotnet suggested. I already spent over 1hr trying different variations of the CSV file. e.g:
    oldURL,newURL(http included)
    oldURL,newURL(http not included)
    etc.

    I also saved the CSV under different formats as well with no luck.

    After choosing the CSV file, I click on Upload, then it seems like it will upload but right after about 3secs, I get a message saying, “No items were imported”.

    The file may not even be uploading and I might have a totally different issue here because I tested with a different CSV file(larger in size) and after about 3 secs again, it gives me the same “No items were imported”. It seems like it is not uploading at all or the upload function is broken.

    What am I doing wrong? Anyone else experiencing same issue?

    The CSV columns should be:

    source,target,regex,type,code,match,hits,title

    source: any source url or partial
    target: any target url
    regex: any regular expression, if used, can match using capturing groups () and $1, $2, $[…]
    type: url, random, pass, error, nothing
    code: 301, 302, 307 (301 is usual, permanent redirect)
    match: url (url only), referrer (url and referrer), agent (url and user agent), login (url and login status)
    hits: set the starting hits counter.. usually 0
    title: optional title or description to display in admin

    Example of rows:
    /old-page,/new-page,,url,301,url,0,Some optional title
    /old-page2,/new-page,,url,301,url,0,

Viewing 15 replies - 16 through 30 (of 44 total)
  • The topic ‘.csv file upload not working after updates’ is closed to new replies.