Skip to main content

Wordpress development vs. actual web page links

Comments

3 comments

  • Ariel H.

    Hi JP,

    Thanks for reaching out!

    We've noticed this issue with domains that use the 'www' subdomain. It seems like a glitch from the recent update.  To fix this, try removing 'www' from your production site. Go to Settings > General and remove "www" from your Home and Site URL, then save your changes.

    After this, you might need to flush the permalinks as an extra step. You can find instructions here: https://wpastra.com/docs/how-to-refresh-wordpress-permalinks. 

    This should fix the links on your live site, so they won't point to your dev pages.

    Please give it a try and let me know if it works for you.

    Best regards,
    Ariel H. 

    0
  • J P

    It didn't help. I already and originally had my links without the "www". So, I added the "www" to the links but it didn't help either. I tried all the variations. I even changed my dev-site's links to www-format and made it live. After this I removed the www-format from the live site. Not even this did work.

    And I have this problem only in my main menu. The blog links were ok.

    0
  • Ariel H.

    Hi JP,

    Thank you for the update.

    To safely migrate your site from staging to production, you can consider using a backup/migration plugin such as All-in-One WP Migration and Backup. For a more detailed tutorial, please refer to this link:  https://youtu.be/tIurrwfsCOg

    I have used this plugin extensively, and it should not break your site after it has been migrated.

    If you have any further questions, please let us know.

    Best regards,
    Ariel H.

    0

Please sign in to leave a comment.