After update, sub site directs to /wp-signup.php?new=
-
I have a network with a TON of sites. After updating to 3.9 two of them now redirect to
a /wp-signup.php?new=
page instead of the correct site.When I noticed this I checked all of the sites and seeing it only on 2 out of the whole bunch, I just restored to the last version where the sites worked correctly thinking there was some kind of random error somewhere.
I came back to it and tried again yesterday to find the same two sites having the same issue after reupdating to 3.9 again.
I tried going into the subsite folder via ftp and updating WP there without any success.
Thoughts?
-
I tried going into the subsite folder via ftp and updating WP there without any success.
There is no subsite ‘folder’s except for media.
Try resaving Permalinks on each site.
Thanks for the help!
I went to the permalinks settings for each subsite and resaved the setting, but I’m still getting directed to the signup page instead of subsite.
Is there a way to get to the permalink settings for the two sites I can’t access without using the WP Dashboard?
Things to check:
Are these sites active? And are they actually listed on Network Admin -> Sites ?
Is this Subdomains or subfolders?
You didn’t say, but you’ve hinted, that not only can you not get at the front page of these sites, you can’t get at the wp-admin – Is this so?
What’s in your .htaccess?
Finally … can you link to those sites?
I had to go back to the backup I took before updating. One of these sites is heavily trafficked and I can’t afford letting it stay down so I can’t link the broken sites.
They were still listed in the network. When directed to that “create a new site” page, it even displayed a listed of all my currently active sites including both of the down sites.
These are Subdomains.
https://jjes.gcs.k12.in.us/
https://pes.gcs.k12.in.us/
Every page I went to on these sites from front page to admin dashboard to specific post or edit went right back to the same “create a new site page”.htaccess
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond?%{REQUEST_FILENAME}?!-f RewriteCond?%{REQUEST_FILENAME}?!-d RewriteRule . /index.php [L] </IfModule> # END WordPress
Check in wp_blogs if those sites have camel case (that is a mix of upper and lower case) for their subdomain name?
Where would I find “wp_blogs”?
I saw all the issues with mixing cases earlier and checked the domain by going
Network Admin> Sites> Edit (on the problem site)> Info (tab with Domain, Path, registered and last updated dates, attributes)The domain field doesn’t show any mixed cases, all lowercase. Would that info match the wp_blogs?
wp_blogs is a table in your database.
The domain field SHOULD match what’s in wp_blogs, but again, we want to step outside of WordPress and look directly in the DB to be sure ??
I’m glad to see I’m not the only one with this issue after upgrading to 3.9.
I have a multi-site instance running on sub-domains that also has one site defaulting to “signup.php” when trying to access the site. This happens whether I’m logged in as an admin or regular user.
The Network Admin shows the site is there as all my other sites. It’s also appearing correctly in the wp_blogs site.
I don’t think it’s necessarily an issues with .htaccess otherwise I’d see more issues than this isolated one. I plan on rolling back to 3.83, if that repairs the issue.
.htaccess
php_value allow_url_fopen On php_value memory_limit 256M # BEGIN 301 Redirects Redirect 301 /stpeters/schools.html https://school.mansfieldstpeters.org/ Redirect 301 /sports/ https://athletics.school.mansfieldstpeters.org/ Redirect 301 /mainpage.html https://www.mansfieldstpeters.org/ Redirect 301 /mass.html https://parish.mansfieldstpeters.org/ Redirect 301 /pastbulletin.html https://parish.mansfieldstpeters.org/parish-info/weekly-bulletins/ Redirect 301 /stpeters/schools/highschool/recent_news.html https://school.mansfieldstpeters.org/category/high-school/ Redirect 301 /stpeters/schools/highschool/about.html https://school.mansfieldstpeters.org/welcome/about-us/ Redirect 301 /stpeters/schools/elementary/recent_news.html https://school.mansfieldstpeters.org/category/elementary/ Redirect 301 /history.html https://parish.mansfieldstpeters.org/history Redirect 301 /FAMILY.html https://alumni.mansfieldstpeters.org/family-magazine/ Redirect 301 /stpeters/schools/athletic_boosters.html https://athletics.school.mansfieldstpeters.org/athletic-boosters/ Redirect 301 /stpeters/development.html https://almumni.mansfieldstpeters.org Redirect 301 /FAMILYfebruary2013.pdf https://alumni.mansfieldstpeters.org/family-magazine/ Redirect 301 /stpeters/development/email.html https://alumni.mansfieldstpeters.org/alumni/register/ Redirect 301 /stpeters/development/krogerscrip.html https://school.mansfieldstpeters.org/scrip/ Redirect 301 /stpeters/development/news.html https://alumni.mansfieldstpeters.org # END 301 Redirects # BEGIN W3TC Browser Cache <IfModule mod_deflate.c> <IfModule mod_headers.c> Header append Vary User-Agent env=!dont-vary </IfModule> AddOutputFilterByType DEFLATE text/css text/x-component application/x-javascript application/javascript text/javascript text/x-js text/html text/richtext image/svg+xml text/plain text/xsd text/xsl text/xml image/x-icon application/json <IfModule mod_mime.c> # DEFLATE by extension AddOutputFilter DEFLATE js css htm html xml </IfModule> </IfModule> # END W3TC Browser Cache # BEGIN W3TC CDN <FilesMatch "\.(ttf|ttc|otf|eot|woff|font.css)$"> <IfModule mod_headers.c> Header set Access-Control-Allow-Origin "*" </IfModule> </FilesMatch> # END W3TC CDN # BEGIN W3TC Page Cache core <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteCond %{HTTP_COOKIE} w3tc_preview [NC] RewriteRule .* - [E=W3TC_PREVIEW:_preview] RewriteCond %{REQUEST_METHOD} !=POST RewriteCond %{QUERY_STRING} ="" RewriteCond %{REQUEST_URI} \/$ RewriteCond %{HTTP_COOKIE} !(comment_author|wp\-postpass|w3tc_logged_out|wordpress_logged_in|wptouch_switch_toggle) [NC] RewriteCond "%{DOCUMENT_ROOT}/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index%{ENV:W3TC_PREVIEW}.html" -f RewriteRule .* "/wp-content/cache/page_enhanced/%{HTTP_HOST}/%{REQUEST_URI}/_index%{ENV:W3TC_PREVIEW}.html" [L] </IfModule> # END W3TC Page Cache core # BEGIN WordPress RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] # uploaded files RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L] # add a trailing slash to /wp-admin RewriteRule ^wp-admin$ wp-admin/ [R=301,L] RewriteCond %{REQUEST_FILENAME} -f [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^ - [L] RewriteRule ^(wp-(content|admin|includes).*) $1 [L] RewriteRule ^(.*\.php)$ $1 [L] RewriteRule . index.php [L] # END WordPress
They only time I’ve seen it is when I had an alias defined outside of WP (so like bar.example.com was set on my server but not on WP).
I have similar issues:
– HostGator set restrictions (.htaccess) on the multisite for resources overload. I found the following issues.
– all subsite homepages redirected to WP “Page not found” screen. eg.https://hkpel.com/SC/jd/
– all subsite Admin All Posts, All Pages, All Users, …. redirected to show only those posts and pages on the main site eg. https://hkpel.com/SC/jd/wp-admin/edit.php
– all subsites are visible under admin
– HostGator removed restrictions but it did not help to fix the issues
– disabling all plugins did not help
I am on 3.9 for a while without such problems and I have other multisites working fine on 3.9.
Please help, thanks.HostGator support is not helpful at this moment.
I’m a little hesitant, btu I THINK this will be fixed with 3.9.1
Now all subsites homepages redirects to the main site homepage.
Not sure if it is due to something done by HostGator support team or the deactivation of all plugins.
petercwc – You have the camelcase subfolder issue if that’s your real URL
Check in wp_blogs if those sites have camel case (that is a mix of upper and lower case) for their subdomain name? If NOT, please open a new topic for yourself, as you actually have a similar but different issue, and helping two people with different issues in one thread is actually very hard!
When I installed the main site, Hostgator allowed me to put capital letters to the link eg. hkpel.com\SC !!!
When I created subsites WordPress only allow small letters.
Is this what you call “camel case”?
Do I have to avoid using capital letters in all future WP multisites?
petercwc – Update to 3.9.1 – We SHOULD have that fixed.
CamelCase means to have upper and lower case in the middle a name. So WordPress is camelcased, but wordpress or WordPress is not ??
- The topic ‘After update, sub site directs to /wp-signup.php?new=’ is closed to new replies.