Skip to content
Read For Learn
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP
Read For Learn
  • Database
    • Oracle
    • SQL
  • C
  • C++
  • Java
  • Java Script
  • jQuery
  • PHP

Woocommerce Login Redirect to old domain

Your first step is correct, updating the wp_options in phpmyadmin is correct but its only step one.

You will need to update all occurrences of your old domain with the new.

Assuming that your DB prefix is wp_.

You will fine that the table wp_posts contains all posts/pages, under the guid column you will find all of the permalinks, i’m sure that when you will navigate there you will see your old domain.

To update the guid you can use the following sql

UPDATE wp_posts SET guid = replace(guid, 'http://www.oldurl','http://www.newurl');

Another option is to use a plugin.

Better search and replace does a great job with changing those setting, you can also bulk update/search multiple tables at ones.

IMPORTANT!!! Always backup your DB before doing any changes! even if you are 100% sure that everything will work; BACKUP ANYWAY!

Related Posts:

  1. Remember page before login page, redirect to that page after login
  2. Woocommerce Login Redirect not working [closed]
  3. Redirect user after login through woocommerce login page to page with his/her username?
  4. Woocommerce login not working on the first try
  5. wordpress/woocommerce login url not redirecting correctly
  6. Anonymous users can not access website
  7. How to use woo commerce login to authenticate code php pages?
  8. How to change redirect code? [duplicate]
  9. Login page so wide [closed]
  10. Remove login fields from /customer-account page [closed]
  11. Account Status/Login on Main Menu with Avatar Pictures
  12. How to get current product category ID in product archive page
  13. Woocommerce registration page [closed]
  14. WP/WooCommerce REST API cart/checkout/order [closed]
  15. Fatal Error when installing woocommerce despite upgrading
  16. Adding an action within a function that is being called by add_filter
  17. Hide Add to Cart Button
  18. Pass custom Checkout field value to Stripe gateway in WooCommerce
  19. How to modify “[Product] has been added to your cart” in WooCommerce?
  20. woocommerce fail to replace template string in email title [closed]
  21. Why do Woocommerce templates use hooks rather than get_template_part
  22. Woocommerce checkout via external page [closed]
  23. Change font size in products listing pages in woocommerce
  24. How to stop a Gutenberg Block from firing multiple GET Requests?
  25. Trying to disable slider for WooCommerce price filter [closed]
  26. Hide “Delete Note” link in Order Notes Panel
  27. Woocommerce reviews xss issue [closed]
  28. Unable to update Woocommerce Product Permalink
  29. How to select default Woocommerce category page
  30. Creating Product Table using Gutenberg
  31. I can ‘t display product images based on the label
  32. SKU for each product on every page
  33. Woocommerce get billing state manually
  34. WooCommerce quick checkout form? [closed]
  35. woocommerce cart item remove ajax not working in hosted site [closed]
  36. Set woocommerce product price based on dealer location [closed]
  37. How can I custom order the product display?
  38. WordPress plugin cloak link [closed]
  39. Woocommerce Update Causing Internal Server Error [closed]
  40. How to display Woocommerce variations prices and descriptions
  41. How to override the title tag for woocommerce endpoints?
  42. Adding Transaction-Specific Conversion Tracking from Adwords into WooCommerce
  43. New field on checkout is shown but it’s not saved on the order details [closed]
  44. How to rewrite product permalinks in Woocommerce to use category slugs
  45. How to re-arrange this hooked content?
  46. Woocommerce altered my homepage, and I can’t figure out how to revert it [closed]
  47. Woocommerce – Problem sorting and filtering products with different tax rates by price [closed]
  48. Single product page doesn’t display price
  49. Unable to paste google analytics con header.php [closed]
  50. can’t get the product id in single woocommerce page
  51. WooCommerce get_author_posts_url() – Author URL redirecting to shop base
  52. Error message if user is buying less than 200 euros of a given product [closed]
  53. Woocommerce – How to mix products and posts on a landing page?
  54. Disable woocommerce product search plugin’s autocomplete [closed]
  55. WooCommerce Subscriptions: Hide one variation subscription
  56. Contact form 7 send product PDF after submit
  57. Add sub variations in product page
  58. Woo commerce product quantity wise SKU
  59. Override une fonction dans une class Woocommerce
  60. What to do if images are not displayed in mob. versions of the online store on wordpress?
  61. WooCommerce (Bookings) + AddOns not always calculating correctly the total
  62. Woocommerce order proceed hooks
  63. List of JS events in the WooCommerce frontend
  64. WooCommerce custom product type not saving with namespaces
  65. Redirecting orders by company field
  66. Upload file to Woocommerce Order
  67. wp_login overriding user meta data
  68. Split taxonomies on different pages
  69. woocommerce REST api on the website’s front-end
  70. Woocommerce List categories with Image thumbnail
  71. Display WOO Commerce products on HTML page?
  72. How to add custom text field inputs for attributes in backend?
  73. Get unsolved array keys of product data tabs in woo product editor page
  74. Show products as posts on archive page
  75. Woocommerce new shop page
  76. Add class to latest item Woocommerce
  77. WooCommerce: how to set stock per attribute on variable product
  78. How to display products in sidebar in 2 columns?
  79. Replace “Add to cart” by a link to contact page on specific product
  80. Adding price to woocommerce cart item with get_price gets multiplied with 3?
  81. Increase load-out-page speed
  82. WooCommerce Stucked (?) – Edit dimensions
  83. Use Product Attribute in conditional tag
  84. Admin – Custom Post Type in WooCommerce menu – how to control menu order
  85. Facing issue in Woocommerce 3.3 version in wordpress
  86. getting attributes in a product loop
  87. Update products, terms and relations via SQL
  88. How to Display Amount of products being displayed out of the amount in category – WordPress/Woocommerce
  89. Echo SKU in WooCommerce Conformation page [closed]
  90. Woocommerce cart displays outdated prices [closed]
  91. Adding Extra Customer Email In Woocommerce Checkout
  92. How to override email text New Customer Order?
  93. redirect not logged in users to specific page and redirect them back where they come from
  94. How do I create a array custom field for use with facetwp.com?
  95. How to add my theme’s style to woocommerce blocks?
  96. Get a customer’s phone number by woocommerce
  97. Insert a custom field as a second email address to a completed order in WooCommerce
  98. Want to add Number of Products added by each shop manager in users list
  99. Titles with thumbnails in media library
  100. WooCommerce Webhook Action When a New Product Review was Submitted/Created
Categories woocommerce-offtopic Tags login, woocommerce-offtopic
dynamic css file for admin / backend and get_option results in Uncaught Error: Call to undefined function get_option()
How to generate an all in one WordPress New content, plugin and theme update report on a website? [closed]

Recommended Hostings

Cloudways: Realize Your Website's Potential With Flexible & Affordable Hosting. 24/7/365 Support, Managed Security, Automated Backups, and 24/7 Real-time Monitoring.

FastComet: Fast SSD Hosting, Free Migration, Hack-Free Security, 24/7 Super Fast Support, 45 Day Money Back Guarantee.

Recent Added Topics

  • Bug in translation system: load_theme_textdomain() returns true, files are available and accessible but the language defaults to english
  • Custom Elementor controls not appearing in the widget Advanced tab using injection hooks
  • Get the name of the template/*html file used
  • Trying to Add Paging to Single Post Page
  • Sharing media files between live and staging servers
  • How to display the description of a custom post type in the dashboard?
  • Critical error on image display
  • Copying WP data and files into new install?
  • How to determine the DirectAdmin WordPress backup date?
  • How to get list of ALL tables in the database?
© 2026 Read For Learn
  • Database
    • Oracle
    • SQL
  • algorithm
  • asp.net
  • assembly
  • binary
  • c#
  • Git
  • hex
  • HTML
  • iOS
  • language angnostic
  • math
  • matlab
  • Tips & Trick
  • Tools
  • windows
  • C
  • C++
  • Java
  • javascript
  • Python
  • R
  • Java Script
  • jQuery
  • PHP
  • WordPress