The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
23 views

site_url() returns with additional backslashes

I am using site_url() function and it returns the address as http:\/\/vip.local\/cc where I can see that WP automatically adds unnecessary backslashes. Is this for some escaping purpose? I tried using ...
0
votes
1answer
19 views

Alternatives to site_url() and get_template_directory_uri()

The problem I'm having is that my Wordpress is set up on localhost, but when I view the site from another computer, "<?php echo get_template_directory_uri();?>/image.png" will return ...
0
votes
0answers
12 views

Changed sub-site path and now 404

I was running a multi-site on www.madeinindia.club i have made a sub-site with www.madeinindia.club/work-space and now i changed the path to www.madeinindia.club/karmabhoomi but it is not accessible ...
1
vote
0answers
17 views

get_template_directory_uri not dependent on WP_HOME in wp-config.php?

For testing on mobile devices in my local network, I've set up xip.io according to this blogpost I can access the site, but even though I added the following to my wp-config.php define('WP_HOME', ...
0
votes
0answers
17 views

wp-admin won't load when domain includes Hungarian characters

I have a Hungarian domain: "akadálymentes-honlap" After I login, wp-login.php redirects to "www.akadlymentes-honlap.hu/wp-admin". Hungarian character "á" is missing. I made a test, where I put IDN ...
0
votes
1answer
94 views

Relative or dynamic site url possible?

I have a local Xampp wordpress installation that I am using as sort of an intranet with some people I work with. I require them to be able to access it on our LAN router -- I found that I needed to ...
1
vote
1answer
44 views

What do the schemes login, login_post, admin, and relative mean?

site_url and get_site_url accept a parameter named $scheme. $scheme can be set to http, https, login, login_post, admin or relative. http and https are obvious. What do login, login_post, admin and ...
0
votes
0answers
18 views

Moving Site: Is Re-downloading Files After Changing URLs necessary?

On the Wordpress Codex: Moving Site page under Changing Your Domain Name and URLs, it states that you should re-download your site files (Step 5) after changing your site URLs (Step 4). Is Step 5 ...
0
votes
0answers
23 views

How to fix social media profile URL appears in the end of every WordPress posts' URLs?

I am having issue right now regarding my WordPress URL. Not only appears on posts' URL, but also in the main domain. My social media profile URL always appears in the end of every URL of my WordPress ...
0
votes
1answer
46 views

Proper way to have multiple installs with a single database

Here's my scenario: I have a development zone with a standard WordPress installation (dev.domain.com/project). When it comes time to showing work to clients, I use version control to copy the dev ...
0
votes
1answer
49 views

Error 404 wordpress redirecting URL

i'm having problems after trying to redirect my website with wordpress. I wanted not to have something like that: "www.example.com/wordpress/". So I did that in the wp-config file: ...
1
vote
4answers
197 views

how to use a different domain/subdomain for authors/catagories on single site?

I'm not sure if I phrased this question correctly... My wife and I have one blog, family.com in this example, that we both contribute to. I would like family.com to show all blog posts. ...
0
votes
0answers
56 views

HTTPS 301 redirect doesn't work anymore

Since a few weeks I have a SSL certificate installed on my domain. The HTTPS version of the website works fine, and I changed all my internal urls to HTTPS. I have set my urls in settings > general to ...
0
votes
1answer
67 views

Plugin Development - Get Admin Url (Including cases where wp-admin is not used)

I'm currently writing a WordPress plugin, and am looking to retrieve the WordPress admin url. It sounds simple enough - and it is - assuming every WordPress install is using the default wp-admin slug; ...
0
votes
1answer
25 views

Is it risky if I update all url in the database due to my site url changed?

Let's say I have a wordpress site on a subdomain. Initially, I created the site with "www." >>> www.mysite.mainsite.com Now, I'd like to change site url to only mysite.mainsite.com without www ...
0
votes
2answers
58 views

Two domain site: Link base URLs point to wrong domain

I have been running domain.co.za, but recently purchased domain.com. Both domains now point to the same Wordpress site. On domain.com pages all the links point to domain.co.za and on domain.co.za all ...
5
votes
3answers
342 views

Getting the Site URL Including the Front Base

If my permalink structure is set to /blog/%postname%/, how can I retrieve a URL for my site which retrieves domain.com/blog/? With the permalink structure mentioned above, when using site_url();, it ...
0
votes
1answer
18 views

How to retrive previous Domain URL in Wp

One of my firend accidently! Changed the WorsPress domain address to his expired domin address now we can't even connect to WP Login Page and WP is redirecting us to a domain address which does not ...
0
votes
0answers
6 views

How do I change Wordpress Multisite default URL? [duplicate]

When I install WP Multisite, my blog gets automatically shifted to mydomain.com/blog. How do I change that to mydomain.com/network?
0
votes
0answers
29 views

moved site to development box, WP works fine except that only root of site is served

I have a small, ultra-low traffic WP site. Let us call it www.mysite.com. This same URL is listed both as the "Site Address" and the "Wordpress Address" under the wp-admin Settings panel of the live ...
0
votes
0answers
109 views

How to give dynamic url path in widget?

I have a widget and give link to some text within it like href="http://www.netattingo.com/dev/imc/" as it is static path in widget but when I try to to use "site_url" or "bloginfo". It does not work. ...
0
votes
2answers
1k views

When moving a WP site, why does wp-admin redirect to old site?

I am in the process of moving a WP site from one host to another. I copied the database and all the files, created a new database and imported the old one. I then changed the wp-config file. The home ...
0
votes
1answer
40 views

Top Admin Bar Never Shows Up

So I recently moved a site to a new domain and updated the URL to reflect the changes in the database as well as in the wordpress backend. wp_head and wp_footer are placed respectively in header.php ...
4
votes
1answer
167 views

Run WordPress frontend and backend in different domains

I want to run my WP frontend as www.example.com and my backend (i.e. wp-admin) as user1.example.org, is it possible? The reason is I want to host lot of sites in a single server which has only 1 IP ...
0
votes
0answers
14 views

Wordpress in own directory not working

I have a site with a blog section (well, I'm trying to create the blog section now..) WordPress is installed (original install; not transferred from root) in /blog/. Post links (for example, when I ...
0
votes
0answers
59 views

Why is multisite site address restricted to [a-z] and [0-9]?

I don't have much history with WP - I've never used single site, and have just a few months using subdirectory MultiSite under 3.7.1 and 3.9. The first item on the network admin screen to add a new ...
0
votes
1answer
225 views

Hard code a domain into Yoast SEO canonical URLs

For various reasons, I've been asked to duplicate a wordpress blog across multiple subdomains. Obviously, this will cause duplicate content issues, which I hope to mitigate with the use of a canonical ...
0
votes
2answers
434 views

WSOD 3.9.1 – Tried Everything so far

Hoping someone can help me troubleshoot my White Screen of Death. Site Info: WP 3.9.1 (just upgraded) PHP Version: 5.4 (just upgraded) Single Version Many other installs of WP on this server (with ...
0
votes
0answers
89 views

Hijack site url on sub domain for translation

Ok, i have complicated issuse (i think)... i created a site that has 3 languages without any plugin since none meet my needs.... i create 2 sub domains named: he.example.com en.example.com ...
0
votes
1answer
65 views

What is the purpose of storing `siteurl` in database?

Why does WordPress store 'siteurl' and 'home' in the database? It's driving me crazy because I develop locally, deploy to a staging site, AND to a production site, so that's two-three times I have ...
-1
votes
1answer
19 views

Siteurl code for links

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 ...
0
votes
1answer
231 views

Removing all my hardcoded URLs with get_site_url()

In my php files, I would like to remove all my hardcoded URLs (ex: http://mysite.com/) and replace them with the get_site_url() function. My problem is with the php code of one of my functions (in ...
0
votes
1answer
38 views

What is the best way to revert to www version of domain name?

My site uses a bare domain, example.com. I want to use Google's Page Speed Service, which requires a www subdomain, like this www.example.com Google says the server must use a 301 redirect. What ...
1
vote
2answers
441 views

Changing Site Address (URL) causes 404

Thank you in advance for any help you might provide. I have read many other posts, and unfortunately the provided solutions did not work. The problem is this: I have Wordpress installed in a ...
1
vote
3answers
46 views

Confusion about Site url and directory

I have installed my wordpress in root/mysubfolder so my standard path is example1.com/mysubfolder (example1.com is the domain i have registered the webspace with) Now i want the wordpress ...
0
votes
1answer
277 views

Changing www prefix in General Settings and Interior Links

This may be the most redundant/dumbest question known to man, but if I go into Wordpress' General Settings and modify my Site Url to include a www, so http://mysite.com becomes ...
0
votes
0answers
27 views

Index (Home) page not displayed when running wordpress in a subdirectory

I'm running my wordpress site in a subdirectory. Do do that i followed the instructions here: http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory Before i had the url: ...
0
votes
2answers
372 views

Remove site root trailing slash

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. www.mysite.com/news I have setup the home & site URL to reflect this in ...
0
votes
2answers
588 views

Changing my site url from azure.net to custom domain

I have created a WordPress site using Azure so when the site went live the url was http://apidublin.azurewebsites.net/. I changed this to http://www.apidublin.com/ using my domain hosting site and ...
0
votes
2answers
174 views

Displays url's twice and getting 404 errors after activating

I have activated SSL to my site On my wordpress multisite, I am getting 404 errors when I am entering a correct url for example http://site.org/wp-admin it automatically redirecting and giving ...
0
votes
1answer
61 views

Why is a wordpress login session limited to one domain

I have a wordpress installation on my virtual host, where the document root is accessible as both "somesite.com" as well as "www.somesite.com". If I set up site_url as "http://somesite.com", then when ...
0
votes
3answers
505 views

Giving Wordpress it's own directory and using .htaccess Directory Index

Would this be a bad idea for any reason? - installing Wordpress in a sub-directory (ie: http:// example.com/wordpress) alongside the current website (ie: http:// example.com) that is not using ...
0
votes
1answer
77 views

Sub-domain or 2nd, temporary different domain?

I'm developing a Wordpress site for a website that already exists (that's not currently using Wordpress). The current website cannot be taken down until the new Wordpress site is ready to replace it. ...
0
votes
1answer
85 views

Changing the site URL

Overview: I have a self-hosted WordPress installation currently without a domain. Example: http://xx.xx.xxx.xxx/~someaccountname In a few days a domain will be pointing to this installation and ...
0
votes
1answer
137 views

How to add a forward slash to the end of wordpress home?

I have a wordpress site - domain.com/tickets domain.com redirects to another site - this will be fixed soon but will redirect for a few more months. So when I go into WP settings I put in ...
0
votes
2answers
180 views

Preventing Canonical Redirect for CDN

I want to run my entire WordPress site through a CDN to improve performance (HTML, not just static CSS/JS/media). Lets say the origin server is example.com and www.example.com is the URL where traffic ...
0
votes
1answer
75 views

set cookies for my whole site is not working

I'm trying to set the cookie to my site to hide a div on click action. Description of the problem. I wanna set the cookie for the whole site not for particular page. I'm setting the cookie on click ...
0
votes
1answer
608 views

Login to wp-admin “redirect_to” points to wrong URL after migration

I have a WordPress site hosted on GoDaddy, it's a Windows server, (i have the web.config set up). and .htaccess correctly configured. The site was working on example.com/wordpress , as it was a ...
3
votes
1answer
100 views

How to set ipv6 address as siteurl?

I have try to set ipv6 ip address as home and site url, but it seems not work perfectly. From there: http://[2001:da8:d800:71::250]/wordpress/ (if you view the source) we see that some url, such as ...
0
votes
1answer
37 views

WordPress site seems convinced that it's still at its old URL

I had a demo environment set up in /subdirectory/ and then moved it to my root directory to make the site live. Used the wp migrate db plugin to export my database with the new paths, then replaced ...