I’m working on a wordpress website for my friends bussines and I’m working on it on my personal server to then export it and import it on his server when it’s done.

And one some of the pages I’ve added som buttons that links to other pages on this website.

It’s basially using the code: [button link=””.

However my problem is when it’s moved to my friends server it’s going to be under a different URL than the one I’m working one, which menas that the current link of the button won’t work.

Is there any type of code that I could use to use the siteurl?

So basically when the site is hosted on a other URL it will use that URL instead.

Hope this made sense!

Cheers thanks! :)

Read more here: Siteurl code for links


Solution:

If you know the solution of this issue, please leave us a reply in Comment section, to update the question.


Wordpress related questions and answers: