After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
SEO Yoast data export
-
Just thought I would give something back. (Is this the right place!)
I use Wordpress with the excellent SEO Yoast plugin. I needed a way of extracting the focus keywords that I have entered onto my pages along with the url for use on the SEOmoz On-page Optimisation tool.
So I created GetYoastData which outputs to the browser the required data (and a bit more) that can be saved into an csv (Excel) file.
Hope you find it useful - Yes it's not polished and yes it might output a blank line now and again but it's fairly useful.
-
Hi Dean,
Thanks for putting your PHP code online. Exactly what I need. Installed as per instructions but only getting the headings. I have Yoast PRO. Could that be my problem?
I also made a similar comment on your blog
Thanks!
Mark
-
Hi FVdBeuken,
Just tested it with WordPress Version 4.4.2 & Yoast SEO Version 3.0.7 and all still works fine.
Make sure you follow the instructions carefully and let me know how you get on.Cheers,
Dean
-
Is there an update on this? Or a new way to download Yoast data easier? We need to focus keyword included with all of the SEO bits. This is the site BlueFire Wilderness.
-
Cool

Small note: get_permalink() will always work, no need to specifically do get_page_permalink()

Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Explore more categories
-
Chat with the community about the Moz tools.
-
Discuss the SEO process with fellow marketers
-
Discuss industry events, jobs, and news!
-
Chat about tactics outside of SEO
-
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
-