lightnb
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Non-SSL site SSL admin = all links point to https?Changing home and siteurl in the options table of the database seems to have resolved the issue. Hopefully nothing else breaks because of it. :/
Thanks! I tried going to Settings > Permalinks, but there was no flush option. I did save changes though and that must have triggered the flush, because it now shows up.
Is that something where WordPress manages an .htacess file for you? We don’t have .htaccess enabled, we set rewrite rules manually in the host config. Are there rewrite rules that I need to set for this plugin to work?
Forum: Localhost Installs
In reply to: Converting MS install from Apache2 to NginxUpdate: I’ve updated WordPress to 3.9. When I remove all the wordpress rules from nginx, I can go to
/wordpress/and get the master blog, and I can also log in to the master blog an navigate through the control panel (mostly).Problem 1:
In the master blog, sometimes the link goes to/wp-admin/network/where it should really go to/wordpress/wp-admin/network/. On apache, this was fixed with:RewriteRule ^/(wp-(content|admin|includes).*) /wordpress/$1 [L]….which just silently redirected to the right place.
My attempt to do the same with Nginx:
location ^~ ^/(wp-(content|admin|includes).*) {
try_files /wordpress/$1 =404;
}Produces a 500 response with the error: “rewrite or internal redirection cycle while internally redirecting to “/index.html””.
Problem 2:
I haven’t been able to make a rule set that does what the Apache rules did:
RewriteRule ^/blog/(wp-(content|admin|includes).*) /wordpress/$1 [L] RewriteRule ^/blog/(.*\.php)$ /wordpress/$1 [L] RewriteRule ^/blog/(.*) /wordpress/index.php [L] RewriteRule ^/blog/tag/(.*)/ /wordpress/index.php [L] I also can't make it take precedent over the pattern rule: location ~ ^/([a-zA-Z0-9\-\_]+)/$ { try_files /cache/$1.html $uri $uri/ /other-index.php?rt=$1; } which is too greedy. I've tired using <code>^~</code> on the <code>/blog/</code> rule without success.Forum: Alpha/Beta/RC
In reply to: 500 Internal Server error on css,js files on 3.5 RC3I just tried a fresh install from the beginning and still have the same issue. The “main” site at http://www.site.com/wpsa/ loads fine, the sub sites at http://www.site.com/wpsa/anything-else, load the page but not the JS or CSS files.
Forum: Networking WordPress
In reply to: Trouble converting single site to multisite -> phantom redirectsTo move content from the main site to another multi site:
1. Download the WP importer from here: http://wordpress.org/extend/plugins/wordpress-importer/ and copy to your plug-ins directory.
2. Go to the main site in your WP admin panel, adn go to the plugins tab.
3. Find the importer plug and click network activate.
4. Switch to the site you want to export then choose tools, export. Save the file to your computer.
5. Switch to the site you want to import to. Choose tools -> import -> WordPress. Select your xml file from your computer. Map authors when promoted.Forum: Networking WordPress
In reply to: Trouble converting single site to multisite -> phantom redirectsOK, for other people having issues with themes not appearing when using multi-site: First, you have to go to My sites (at the top left) -> network admin -> Dashboard. Then choose the “themes” tab on the left. All your themes should appear here. Check the themes you want available to your network of sites, then in bulk actions, choose “network enable”. Now when you go into a site to set the theme, the theme should now appear.
Forum: Networking WordPress
In reply to: Trouble converting single site to multisite -> phantom redirects1. The root, http://www.domain.com/ is not a wordpress site nor powered by wordpress. So we would have:
http://www.domain.com/blog -> WP multisite 1
http://www.domain.com/blog/name-of-post
http://www.domain.com/blog2 -> WP multisite 2
http://www.domain.com/blog2/name-of-post
http://www.domain.com/forum/ -> a forum like PHPBB
http://www.domain.com/ -> A stand-alone home page2. Is there a resource for the changes that need to be made to make old themes work? Bare minimum, if I don’t care about new features.
3. From the WP admin or in the database?
Forum: Networking WordPress
In reply to: Trouble converting single site to multisite -> phantom redirectsOK, I’m running into some issues.
1. I’m trying to create a blog at the URL new-domain.com/blog/. When I use “blog” as the slug, I get:
“The following words are reserved for use by WordPress functions and cannot be used as blog names: page, comments, blog, files, feed”.
That’s nice, but I insist on
http://www.domain.com/blog/being the path to my blog. So, put dummy text here in the form and replace it in the database?2. My custom theme which is in the wp-content/themes directory is not showing up in the control panel. The other themes show up and I can download new themes and they show up. Are there compatibility difference between v 2.x and 3.4?
3. My existing blog posts, etc are attached to the /wordpress instance. I need to move them all to the /myblog2 instance. /wordpress should be an empty dummy. I can’t seem to rename /wordpress in the admin because its the default. So how do I get all of the contents from the original single blog into a non-default instance with a multi blog?
Forum: Networking WordPress
In reply to: Trouble converting single site to multisite -> phantom redirectsOK, I found “siteurl” and “home” options in the options table in the database and corrected them to my main site. I’m now able to login. I’ll post back if/when I get sites working.