Multisite /files/ URLs broken after server move
Multisite /files/ URLs broken after server move
Multisite /files/ URLs broken after server move
This happened because WPMU has an admin account that defaults to the same URL as the install. So my admin user, who is also the default user, let’s call him “adminUser”, could log in at http://www.example.com/blog/ He could update, add new posts, whatever and his posts show up at: http://www.example.com/blog/ But when new user, let’s … Read more
hmm this is called responsive web design. Being responsive doesn’t mean the UI has to be 100% the same. Have your JS detect that you are in webview, maybe via user agent, and then set some appropriate class on the body element. design your webview design around that class.
WP has very good support for this. You will be Internationalizing and then Localizing your theme. Internationalization is often abbreviated as “i18n” because there are 18 letters between the ‘i’ and the ‘n’. The Codex provides a great reference on what needs to be done here: https://codex.wordpress.org/I18n_for_WordPress_Developers Much of the work involves wrapping strings with … Read more
You might have missed the right configuration in your hosts file. Assuming you are using Apache on a Linux server and vi editor, open this file: sudo vi /etc/apache2/sites-available/example.com.conf Since you have installed Multsite as subdomains, adjust your directives to include these: Listen 80 <VirtualHost *:80> DocumentRoot “/var/www/example” ServerName example.com ServerAlias *.example.com </VirtualHost> Note that … Read more
Themes All themes are installed for the entire network. If you edit the code of one theme, you edit it for all sites using that theme. You can install the plugin WordPress.com Custom CSS to allow each site to tweak their own CSS without affecting anyone else. You can activate themes for the entire network, … Read more
How can you have a site at http://angelcard.example.com/logmein? The address isn’t invalid. For the other link you provided http://angelcard.com.au/logmein DNS does not resolve, at least from my connection. It also does not resolve from AWS in N. Virginia. /usr/home/bill/> nslookup angelcard.com.au Server: 216.92.61.41 Address: 216.92.61.41#53 ** server can’t find angelcard.com.au: NXDOMAIN Were DNS records recently … Read more
It will be a problematic thing to do as it will require you to let the webserver run scripts as a system root. It is somewhat hard and requires a lot of thinking security wise about the implications of letting a web server do it. But you are spared of all that thinking 😉 as … Read more
I was able to get a work around in place. Since I was deleting all blogs with no user interaction. I created two mysql queries and ran them. The first was to drop all tables associated with the given $blog_id the second was to remove that row from the wp_blogs table. $blogs = wp_get_sites( array(‘limit’ … Read more
In my experience WP doesn’t like being accessed from anywhere that’s not the site url in the wp_config table. If you want to change the URL to your new(?) one this codex page should help, however it will probably prevent you from accessing by your old(?) url.