I've been assigned to edit the canonical URL's (rel="canonical" found in the head)of about 600 posts on a client's site. Not all of the posts will use the same canonical url. Nor are these 301's or 302's. I'm told not to use a plugin because I would have to edit each post one at a time. These are the general steps I plan to take:
- Make an appropriate back up of the mySQL db in phpMyAdmin.
- Download a csv of the table containing the canonical url's (using phpMyAdmin export).
- Make a new csv that uses the post id and the new canonical url's (and a bit more magic).
- Import the new csv (in its corrected format using LibreOffice)through a plugin called Really Simple CSV, which will write the new url's to the database.
This is the tutorial I'm following for these steps.
My questions are: Using phpMyAdmin, what table is used to currently store these url's, and what, exactly, are they called? And, has anyone done this sort of edit before?
The site is currently on WordPress 3.9.x (it's outside of our scope of work to update their site to a newer version.)
Help please!