[resolved] Site Migration Url Issues (4 posts)

  1. Ritmo2k
    Posted 6 years ago #

    I followed the howto about migrating a site we setup from one url to another. The template had full url refs, some php files and the db.

    Is there not a way to use a relative url in all of this to prevent his?


  2. Darrell Schauss
    Posted 6 years ago #

    WordPress uses full URLs in images and such in posts so they are accessible in RSS feeds. You could export the posts table from database, open in Programmers Notepad or some or text editor, find replace the URL. Empty the table and reimport it.

  3. Ritmo2k
    Posted 6 years ago #

    Thanks for the info. I modified it already, just wondered if there was a way to prevent it in case it must be done again.

    If not, I'll just do as I did the last time.

    Thank You!

  4. Chris Bratlien
    Posted 6 years ago #

    Hey @Ritmo2k,

    I just today made a plugin the migration problem you describe.

    Relative Site URL on Content Save

    Hopefully it will work for you. The plugin doesn't address the RSS feeds issue yet. I'll see what I can do to fix that. Also, when you click Publish or Update, this plugin will replace all instances in the content with my shortcode. I'm not sure if other shortcodes in the content with your site's URL as a parameter will break due to that fact.

    Please send me feedback if you try it.


Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.