site url is not working after migrtaion in worpress, all links are broken

This question was asked and answered in past!

Anyway it’s a broken link problem, after moving a site to another domain or sub domain we face broken link problem.

To Fix Broken Links After Moving Your WordPress Site

  1. Log in to your WordPress admin panel.

  2. From the Plugins menu, click Add New.

  3. Type Search and replace, and then click Search Plugins.

  4. Locate the Search and Replace plugin, and then click Install Now.

  5. Click OK.

  6. Click Activate Plugin.

  7. From the Tools menu, click Search and Replace.

  8. Enter your old site’s URL in the Search for field. For example, http://olddomainexample.com (no trailing slash).

  9. Enter your new site’s URL in the Replaced with field. For example, http://newdomainexample.com (no trailing slash).

  10. Select All, and then click Go.

That’s it.