Answer the question
In order to leave comments, you need to log in
How to add relative links in WordPress?
Hello, I am making a WordPress site, the site is on a virtual server. Accordingly, if the page has a link to any internal page, then it looks like when I transfer the site to hosting, for example, mysite.ru, then accordingly, the pages will need links of the form how to do this automatically without editing the page. I know this command <?php bloginfo('template_url'); ?> but it leads exactly to the theme folder, there is probably a similar one for relative links.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question