Links not working on our site
- This topic has 7 replies, 4 voices, and was last updated 10 years, 10 months ago by
Michael McKean.
-
AuthorPosts
-
June 11, 2014 at 3:41 pm #4811
Michael McKean
ParticipantHi–
We’re running a site at the following URL:
We recently (in March) went from a stand-alone site, to being a network (multi-site) site, with just one subsite because there were a couple plug-ins that we wanted to use, but could only use on a multi-site network
The site worked fine for a few weeks. Then, about a week before WordPress upgraded to version 3.9, possibly when it automatically upgraded to WP 3.8.3, our links simply stopped working.
You can go to the homepage, and click on any link, and you’ll get a “Not found” error message. The content is still on the site, but we simply can’t connect from the home page.
The only way I’ve been able to get (most of) the links to work again is to switch the WordPress “PermaLinks” setting back to “Default”, rather than “Post Name”, as I’ve got it now (the sub-menus items still don’t work when I do that). But BuddyPress won’t work with that option selected, so I set PermaLinks back to “Post Name.”
I was wondering if anyone had some insight into the problem, and if there’s anything I can do to fix it. I had been using a child them of the default “Commons” theme, and then reverted back to the default theme to see if that would help. But it had no effect.
I can provide details about what plugins we have installed and other details as necessary.
Thanks for any assistance you might be able to provide.
Regards,
Mike McKean
June 11, 2014 at 7:39 pm #4815Matthew K Gold
ModeratorHi Mike,
I’ve experienced something similar in the past. Have you regenerated your
.htaccess file after changing the permalink structure? If so, and if that
didn’t fix things, try adding the following line to the .htaccess file at
the top:Options +FollowSymlinks
If that still doesn’t work, contact your systems administrator and ask them
to follow the troubleshooting guidelines here:http://codex.wordpress.org/Permalinks#Fixing_Other_Issues
Best,
Matt
June 12, 2014 at 3:21 pm #4819Michael McKean
ParticipantHi Matt–
Thanks for your assistance.
I tried what you suggested, with no luck, and I didn’t find the troubleshooting guidelines too helpful.
Eventually, I fixed the problem by just using the text from an old version of .htaccess to write the new version:
# 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 WordPressThe </IfModule> lines had been left out of the version of the .htaccess file written on 4/3/2014, which is about when the problems started. I think that might have been when WP 3.8.3 was installed, but I’m not sure.
Thanks again.
Mike
-
This reply was modified 10 years, 10 months ago by
Michael McKean.
-
This reply was modified 10 years, 10 months ago by
Michael McKean.
June 13, 2014 at 7:09 am #4822Christian Wach
Participant@spiderboy12 That looks like the content of a single site .htaccess file to me. If you’re now using multisite, you’ll need different content in it. Put
define('WP_ALLOW_MULTISITE', true);
in your wp-config.php file, then visit Network Admin → Settings → Network Setup to find out what the content should be.June 16, 2014 at 3:59 pm #4834Michael McKean
ParticipantHi Christian–
I tried doing what you suggested. Now my site is loading as just a single site. I can’t access the Network Admin dashboard any longer.
In all likelihood, I lost my access when I made changes to .htaccess. I redid Permalinks, setting the default to “Post name”, and it actually just restored the original .htaccess, the one installed on 4/3/2014. And my links worked fine.
In a single site mode, the links all look this when I try the “Post Name” option:
http://suitemath.3csn.org/%5Bpost-name%5D
With a multi-site network, in Permalinks, it always tried to the following as the URL:
http://suitemath.3csn.org/blog/%5Bpost-name%5D
Trying to insert “blog” into the link names was evidently what was causing the problem.
At this stage, my links work, but I no longer have access to the Network admin. This is a problem, because we wanted to use plugins like “More Privacy Options”, which we can’t use for a single-site installment of WordPress.
Any ideas?
Thanks for your time.
Mike
June 16, 2014 at 5:18 pm #4835Christian Wach
ParticipantIt’s very hard to assess this sort of thing from a distance. I’m afraid I can’t think of any more options for you to try – probably time to bring a sysadmin in as Matt suggested.
June 16, 2014 at 11:33 pm #4838Ray
KeymasterIf you can’t access the Network Admin dashboard, but it was working before, chances are something happened on your end.
Did you install any plugins interfering with WordPress roles?
This post might shed some light on your problem:
https://wordpress.stackexchange.com/questions/28864/no-network-super-admin-after-enabling-networkThere might be a problem with your wp-config.php. If you have a backup of the file when you enabled multisite, try restoring that.
June 17, 2014 at 6:34 pm #4842Michael McKean
ParticipantThanks, Ray. Though I haven’t explored all the ins and outs, that link worked. I made the modifications to wp-config.php suggested on that post, and it seems to have solved the problem.
I now have access, again, to the Network admin dashboard, and the links on our site still work.
Thanks again, everyone.
Mike
-
This reply was modified 10 years, 10 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.