Modify site URL via functions.php of a theme
My site URL in the database shows sitea.com. Is it possible to change this via functions.php into siteb.com, however still maintaining sitea.com in … Read more
My site URL in the database shows sitea.com. Is it possible to change this via functions.php into siteb.com, however still maintaining sitea.com in … Read more
I am using WordPress for a “news” section on a e-commerce site. So the root of the wordpress install is in a sub-folder. … Read more
I saw this question: How can I change permalinks to use a different domain and path from where the blog is hosted? and … Read more
I am working on a website where I am specifying links to pages within my site in other pages. I am using the … Read more
How can I get the current url in a wordpress page? I have enabled clean urls, but I want the url without the … Read more
No, I’ve never made a plugin. But I would like to, or find someone who can work with me on it. What I’m … Read more
Following the following code sample I managed to redirect it, however the site URL on the browser show as domain.com/subdirectory and not domain.com. … Read more
Why does WordPress store ‘siteurl’ and ‘home’ in the database? It’s driving me crazy because I develop locally, deploy to a staging site, … Read more
I’m trying to concatenate my site_url and a string, but it doesn’t work. This is what I’m doing: $myurl = site_url(); var_dump($myurl); $url … Read more
(I’ve resolved this – sequencing error in wp-config.php – thanks to this answer elsewhere). I’ve moved a site dev to production and everything … Read more