Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8272235
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T07:04:12+00:00 2026-06-08T07:04:12+00:00

I have to move a wordpress site under an other domain (foo.com => foo.hu)

  • 0

I have to move a wordpress site under an other domain (foo.com => foo.hu) so it’s needed to update the links on the site. I wrote a script which replaces the tld in the database in the posts/options, but when I check the site I see no widgets on the sidebar…

I tried to find something about it’s caching (based on md5 hash or like that), because if I replace the tld to the original in the text widget everything is fine again. But regarding to the wordpress documentation (and some forums) there’s no permanent caching built in.

So my question is, how can I modify the contents of text widget from the outside?

I really don’t want to do it by hand…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T07:04:14+00:00Added an answer on June 8, 2026 at 7:04 am

    The content of the widgets is a serialized DB entry. So if the new domain name has a different string length than the old domain name, the serialized DB entry (as well as any other serialized DB entry that includes a domain name, such as attachment URLs, etc.) will become malformed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a site example.com that runs wordpress. Now I want to move this
I'm looking at what is needed to move from wordpress.com to a BlogEngine.NET or
I'm looking to move my custom domain from blogger to wordpress. I have purchased
Have a client who wants to move their Wordpress.com blog over to their main
I have to move a clients BlogEngine.Net site to WordPress. I have had people
I am trying to move a Wordpress site to a new server. The domain
I have a sharebox(div containing social site links) that I've been using with a
I have an application in which i have to move images, problem is arising
So I have been experimenting with RootsTheme (which uses Bootstrap), Wordpress (from Joomla! background)
I have a wordpress mu-site. I need to set up a test-version of it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.