sam_h1
Forum Replies Created
-
Forum: Networking WordPress
In reply to: New server, new domain – struggling with 301 redirects/htaccessHa! Yes, it exists!
Forum: Networking WordPress
In reply to: New server, new domain – struggling with 301 redirects/htaccessHi Ipstenu
I seem to be having a couple of problems. By way of a test, I’ve set up the redirect from domainB to domainA before I formally change the URL to domainB (DNS records for both are setup on my own server and I’ve also setup a directory on my server in order to host the htaccess file for domainB in order to do the test…it’s just a folder with an htaccess file in it)
Here’s what the htacess file contains:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^domainB\.com$ [NC]
RewriteRule ^(.*)$ https://www.domainA.com/$1 [R=301,L]RewriteCond %{HTTP_HOST} ^subdomain\.domainB\.com
RewriteRule ^(.*) https://subdomain.domainA.com/$1 [L,R=301](please bear in mind that this is the reverse of what I originaly described in the opening comment in order to test!)
What I’ve found is that domainB successfully redirects to domainA
However, subdomain.domainB.com redirects only to the “Default Web Page” that WebHostManager spits out
I can only imagine that it’s a DNS config error, however I wouldn’t know where to start to fix it!
(if you’d like to see the actual domains, I’d happily email them over to you!)
Cheers – do you have a wishlist btw?
Sam
Forum: Networking WordPress
In reply to: New server, new domain – struggling with 301 redirects/htaccessOk – thank you for that advice
I want to do my best to update the DB but I imagine that if I have the correct 301 in place then any records in the DB that can’t be updated (or I miss) should still be covered by the redirect?
Thank you again for your help – I’ll ping you the final domain when it’s all done so you can see if all the effort was worth it ??
Forum: Networking WordPress
In reply to: New server, new domain – struggling with 301 redirects/htaccessGood times! I just had a little look around your site, how I’ve not come across it before I don’t know!
This is sort of related to this whole thing and if you wouldn’t mind casting your eye over this link I’ve really appreciate it. The link outlines the steps I need to make in order to actually now change to domainB…and I want to confirm that they cover everything: https://www.realisingdesigns.com/2010/09/16/moving-the-domain-of-a-wordpress-multisite-install/
Thank you!
Forum: Networking WordPress
In reply to: New server, new domain – struggling with 301 redirects/htaccessThanks to both of you!
So Ipstenu, I will need to do that for all my subdomains? (i don’t actually mind – it’s a pain, but at least it will work!)
I’ll speak with the people who will be using domainA going forward as you’re both right, it’s in their best interest to make sure this works correctly too
Can I just confirm before I go ahead, these changes will be ok with multisite – ie it will be a redirection at post level ie the htaccess rule will redirect a link to a blog post on the old domain, to the same blog post on the new domain (permalink structures are remaining)
I am also thinking of using a plugin like Smart404 to catch anyone who happens to land on a duff redirection for whatever reason!
Sam
Forum: Networking WordPress
In reply to: Widgets page missing from WPMU member blog adminWell worryingly it isn’t just a quick change to one line but i’ll do my best to explain it!
We compared an old user (who didn’t have the menu) with a brand new user who did.
Following changes are made to the wp_BlogId_options table where option_name = ‘wp_ BlogId _user_roles’;
This was missing from the old user but existed in the new user. So we added them
s:15:"unfiltered_html";b:1; s:17:"unfiltered_upload";b:1; s:14:"update_plugins";b:1; s:14:"delete_plugins";b:1; s:15:"install_plugins";b:1; s:13:"update_themes";b:1; s:14:"install_themes";b:1; s:11:"update_core";b:1; s:10:"list_users";b:1; s:12:"remove_users";b:1; s:9:"add_users";b:1; s:13:"promote_users";b:1; s:18:"edit_theme_options";b:1; s:13:"delete_themes";b:1; s:6:"export";b:1;
These didn’t exist in the new blog, but did exist in the old. So we removed them
s:22:"update_options_general";b:1; s:22:"update_options_privacy";b:1;
It was my tech guy (rather than me personally) that found this solution. So apologies if my desctiption doesn’t quite make sense – I hope you get the gist!
Sam
Forum: Networking WordPress
In reply to: Widgets page missing from WPMU member blog adminIpstenu – do you have an amazon wishlist?
I know you do andrea!
Forum: Networking WordPress
In reply to: Widgets page missing from WPMU member blog adminFIXED IT!!!
We’re currently celebrating in the office. Allow me to calm down before I post the solution!
ok…
We updated user role in wp_BLOGID_options table where
option_name = ‘wp_BLOGID_user_roles’ and checked the role for each and every entry to update the option_value parameter for that table; similar to what was suggested by ipstenu but had to write the whole query for every individual blog….Thank you so much guys for your help – you’ve been quality
I hope that this is helpful in hopefully getting to the root of the problem (if of course it is a WP issue rather than one our end – the fact someone else is reporting the same issue suggests it could be WP)
Sam
Forum: Networking WordPress
In reply to: Widgets page missing from WPMU member blog adminOk well we checked
a:1:{s:13:"administrator";s:1:"1";}
And they were all as they should be – with administrator roles
In an attempt to eliminate other factors – should we upgrade all our themes and plugins?! I know, it’s bad hygeine not to have done them already!
Forum: Networking WordPress
In reply to: Widgets page missing from WPMU member blog adminCheers for the clarification on the tables/db – it’s been a long day of trying to fix this (and the server crashing for no less than 5 hours!!) we just got a bit lost for a second!
We will try your idea ipstenu
thank you both so much for your help.
I don’t know whether this has any bearing whatsoever, but should we also be seeing a ‘Custom Menu’ option panel (also under appearance?)
Forum: Networking WordPress
In reply to: Widgets page missing from WPMU member blog adminOut of interest @terjefevaag have you ever used any plugins in the past that have manipulated the databse to allow it to scale better – or is yours a relatively fresh install/upgrade?
Forum: Networking WordPress
In reply to: Widgets page missing from WPMU member blog adminOk so we just created a brand new blog – with a brand new user…the widget menu *was* available for this user.
What I’ve now just done is made this new user an admin user on a previously existing blog (that was having the menu error). As expected, when logged in as the new user on the old blog, it still didn’t display the widget menu. I guess that’s in answer to you ipstenu!
The old version of WPMu used to generate an individual table for each blog – that’s correct yeh? But 3.0 has everything in one table?
I’ve tried changing user roles to Admin (even if they were already admin) but that hasn’t helped. Running out of ideas now!
Forum: Networking WordPress
In reply to: Widgets page missing from WPMU member blog adminInterestingly, we just came across the exact same problem today
I’ve posted something in the WPTavern forum (andrea, you’ve replied – apologies, this is yet another account name!)
We upgraded from WPMU 2.8.6 to 2.9.2 to 3.0
Forum: Plugins
In reply to: TimThumb Thumbnail not displayedIs the host to your live version running an up-to-date version of php?
I’m struggling with timthumb myself at the minute, but i’ve read in places that the php version makes a difference ??
Forum: Plugins
In reply to: Syndication and Duplicate content?thanks for your help chaoskaizer, i have added a robots.txt file as discussed…hopefully it should work!!
all the best
sam