Support » Fixing WordPress » Site Migration Url Issues

  • Resolved Ritmo2k

    (@ritmo2k)


    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?

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • 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.

    Hey,
    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!

    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.

    Thanks
    -Chris

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Site Migration Url Issues’ is closed to new replies.