• Resolved imloic

    (@imloic)


    Hello,

    I upload my website from localhost to online. My custom tab is not displayed on the product page. When I go to the plugin option there is no custom tab saved, what !

    I check my database and all is written inside (yikes_woo_products_tabs). My database import is good. I never had this problem before.

    Please help
    Lo?c

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter imloic

    (@imloic)

    Ok,

    I think my problem is from URL database. I change URL localhost to myurl for :
    wp_options
    wp_posts SET guid
    wp_posts SET post_content
    wp_postmeta

    i can find my custom saved tabs in the plugin, but not in product page ??

    Thread Starter imloic

    (@imloic)

    Ok fixed with SQL

    UPDATE au_postmeta SET meta_value = replace(meta_value,’https://localhost:8888&#8242;,’https://mywesbite.com&#8217;) WHERE meta_key <> ‘yikes_woo_products_tabs’

    In the future if you want to to search and replace on your site WordPress has built in tools with the WP-CLI. Check to see if your host allows this option and its very simple.

    You would do the following:

    – SSH into your server
    wp search-replace localhost:8888 mywebsite.com

    This will tell you everywhere that localhost:8888 was removed from your database. Another strategy is to keep all your site data on your production site and sync your data down using something like Migrate DB. That way once you’re ready to make code changes you can sync down, and then run the search and replace on your development server using the CLI.

    Either way, I’m glad you got it all figured out!

    Cheers,

    Freddie

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘localhost ton online – tabs lost and not display’ is closed to new replies.