0

I was recently launch localhost server on my computer to create local website. If I create new link that add to top menu. The href value was http://localhost.com/something/something. Does this href value will change to my website name after I upload my website online ? http://mywebsite.com/something/something.

1
  • Depends on how the link is created. Some things will change, others will not. This is not going to be answerable without more detail.
    – s_ha_dum
    Commented Feb 22, 2014 at 1:55

1 Answer 1

0

Sure it will change if it was created using the default WordPress menu. Wordpress stores a site url, which is usually the domain or exact path. On your localhost it will be something like localhost/site/about and the moment you deploy your site and update your database with your domain, www.yourdomain.co.za/ - that will automatically update the rest of the pages or links, e.g. www.yourdomain.co.za/about

So, to answer your question: Yes, but only if your used the WordPress menu

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.