Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Ash Durham

    (@ashdurham)

    Hi Morecow,

    I have the link working ok for me. What browser are you using there? All the quotes in that line are ok as the single quotes in between the PHP tags don’t come into play when the page is rendered, otherwise the link wouldn’t generate correctly.

    When you say it has an error, what is that error exactly? This link creates a csv file (as a page) on the fly. It could just be that the page isn’t compatible with the browser (browser is unable to read it and in turn can’t return the file to you correctly). I’d be interested to know so that I can get it fixed up to work across the board if it is that issue.

    Thanks, look forward to hearing from you.

    Thread Starter morecow

    (@morecow)

    Hi Ash,

    I’m using the latest version of Google Chrome on Windows 7. The same error happens in the latest Firefox.

    The link text itself shows '> in front of the text ‘Export current 301’s to CSV’.

    To clarify: when I manually go to the page in the link (wp-admin/admin.php?action=bulk301export) I can download the CSV file just fine. Therefore, something must be wrong with the link (not the receiving page).

    Upon checking, the other urls in the same spot don’t work either. They show /wp-admin/<?=%20plugins_url(%20%27301-example.csv%27,%20__FILE__%20);%20?> or something similar in the address bar.

    I suspect it might have something to do with WPML, as I am running a site with two languages. Unfortunately, since it is a live site I can’t experiment too much with it.

    Other plugins are Contact Form 7, Contact Form 7 Honeypot, various WPML (offical) extentions, Regenerate Thumbnails, Simple 301 redirects, Simple Page Sidebars, Types, WordPress Charts, WordPress SEO, WP-Mail-SMTP. Like I said, I cannot experiment by disabling since most are essential to the (live) website.

    I hope this helps!

    Plugin Contributor Ash Durham

    (@ashdurham)

    Hey morecow,

    Yeah, certainly does help! Your server doesn’t support php short tags… (<?=)

    Majority these days will have it on by standard which has clearly allowed me to fall into bad habits.

    I’ll see to it that is updated in the next update.

    Cheers

    Thread Starter morecow

    (@morecow)

    Thanks! I do know that our server configuration is pretty strict for safety concerns.

    Nice to see that you’ll fix it and that it will work for the majority. I’m glad I got it working by pasting in the links.

    We also have a strict, privately operated server and I can’t see the sample csv. https://www.napavalleysupportservices.org/
    Is it just two columns with no titles? Thanks

    Plugin Contributor Ash Durham

    (@ashdurham)

    Hey webmystery,

    It would have been better if you created a new topic for this as your situation is slightly different to that of morecow’s

    That aside, the CSV code is:
    "/EXAMPLE-old-url/","/EXAMPLE-new-url/"

    So yes, its just the two columns with no titles. First column is the old URL and the second is the new URL.

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