cms – Magento directing all link for pages and admin to old domain except the homepage


I have done all magento things which were supposed update the core_config data table

setup:di:compile

setup configured base_url through command line and also done with n98

My site home page is only working fine but I try to direct it to other pages and admin
then It replace new domain URL with old URL

My menu Items are also not shown after migration

Kindly help