Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #4010, comment 44


Ignore:
Timestamp:
04/09/2013 03:35:38 PM (11 years ago)
Author:
Workshopshed
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4010, comment 44

    initial v1  
    1 In the last version I made a change to the way the meta data is stored. Which would have caused a problem for that other plugin as it was using "blogger_permalink". Looking at the code it also broke the link processing which was also expecting the old blogger urls to be in the blogger_permalink meta data.
     1In the last version I made a change to the way the meta data is stored.
    22
    3 What I do for my sites is to use that meta data and import it into the "redirection" plugin so that anyone who's linked an old URL will get directed across to the new location. My scripts also rely on the correct data being stored in "blogger_permalink".
     3What the link processing does is to look for links that match the "blogger_permalink" value and update it with the new permalink of the post that Wordpress has assigned. Any links that match that of the old site but don't match a permalink get mapped across with the new site name e.g.
     4
     5mysite.blogspot.com/p/about.html -> mynewsite.com/p/about.html
     6
     7What I do for my sites is to use that meta data and import it into the "redirection" plugin so that anyone who's linked an old URL will get directed across to the new location, otherwise they might get a 404 error. My scripts also rely on the correct data being stored in "blogger_permalink". I also handle the special cases such as the pages (as above) and searches with the redirection plugin.
    48
    59So I've corrected the importer to store the permalinks as it did before.