• Resolved pingiskhan

    (@pingiskhan)


    Hello!

    As you can see on the link above, I have implanted hreflang on page-specific headers with your plugin. It works great! I have connected over 2000+ pages with this method.

    However, I fucking put the wrong hreflang code on my Serbian version. I put hreflang=”rs” instead of hreflang=”sr”.

    I don’t want to spend another 6 hours updating each page manually. I have tried Better Search & Replace to fix this error but that plugin can’t find the database where this plugin stores the page-specific Header tags.

    So, is there anything else I can try?

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author Aleksandar Uro?evi?

    (@urkekg)

    Hello @pingiskhan,

    Well, HFC store codes for articles to wp_postmeta table within the meta_key with name _auhfc. Data is stored as serialised array and code is escaped.

    I would recommend you to get the standalone app “Database Search and Replace” version 3.1.0 https://interconnectit.com/search-and-replace-for-wordpress-databases/ and then

    1. BACKUP WORDPRESS DATABASE!!!
    2. upload package to your WordPress root on the server (it’s not a plugin)
    3. visit that folder in borwser
    4. search for field: hreflang=\"rs\"
    5. replace with field: hreflang=\"sr\"
    6. select only table wp_postmeta
    7. do a dry run to make sure only that content will be replaced
    8. if it looks good, do a live run to search&replace for real
    9. when it finishes, MAKE SURE YOU DELETE SEARCH APP FROM YOUR SERVER!!!

    Example in action: https://drive.google.com/file/d/1LEItbybMD5LPMsgjw9J–lN6YN0dSBih/view?usp=sharing

    Please let me know if you have any further questions on this topic?

    Kind regards,
    Aleksandar

Viewing 1 replies (of 1 total)
  • The topic ‘Search & Replace Page Specific Code’ is closed to new replies.