404 Errors after upgrading to 2.7
-
Just did the automatic upgrade to 2.7 and now all my pages are getting not found errors:
Any ideas what may be the problem? It’s not showing any posts, pages, etc.
-
I am having the same problem with two sites. This is the last time I upgrade or I’m moving to Joomla. I’m tired of these problems about every two months.
This is the last time I upgrade or I’m moving to Joomla
so you think joomla doesn’t do regular upgrades? :>)
did you rest permalinks?
admin – settings – permalinksor try generating a new .htaccess?
https://codex.www.ads-software.com/Using_Permalinks#Creating_and_editing_.28.htaccess.29I just upgraded a new blog (4 posts) to 2.7 last night from 2.6 and have a problem with custom permalinks, but mine is a little different. I have some javascript that sets up a random image in my headers.
When I tried to change from default permalinks to /%category%/%postname%/ all my images in my header disappeared except on the homepage of my blog. My posts also came up 404 under categories, though showed correctly when clicked from the homepage.
I was able to get posts and header images to reappear when I reverted to default and did a quick edit on all posts.
Any suggestions on what could have caused that and what I can do to have both header images and permalinks working? That’s so key to SEO, and I want to get it resolved before I have dozens or hundred of posts to manually reset.
thanks,
Liz MI am having the same problem.
I am using the Arthemia Premium Theme, with WP v2.7.1 at https://solutionsjournal.com. At the end of the articles or news posts, there is a “Related Post” section with several other articles mentioned. Although, when clicked on the user is presented with the following:
Error 404 – Not Found
Ooops, We cannot find you the page you are looking for. You may try to search our site for another keyword or use the navigational tools in this website.
I cannot located where the problem might lie other than the link from the “Related Posts” do not include the “?” before the page number, i.e.
https://universaldomainexchange.com/sjmsplash/p=394, which doesn’t work versus https://universaldomainexchange.com/sjmsplash/?p=394, which does work.
Where can I make the change that will add the question mark into the equation? I checked the Permalinks Settings and it is clicked to “Default” which shows the example with a “?”.
I tried changing the Permalinks to Day/Name and that doesn’t work either.
Any ideas? Thanks in advance,
Bill Hood
Bill…thank you. You have no idea how much better I feel just knowing someone else is having the same problem. I will hope we get an answer soon.
As far as your problem of the 404 persisting after you revert, I went through and did a “quick edit” on each of my posts (just clicked the update button) to reset it to the default, but then again, I only have a few posts.
Liz
Sorry, Bill, I didn’t read you correctly. I would suggest going to the option page for the related posts plugin and reentering your parameters, then saving them. That should force a “refresh” of the command.
Liz
I also got 404 errors on everything except the main and admin pages after moving from 2.7 to 2.7.1. However all I did to fix the problem is navigate to the permalinks settings page in the admin panel and change my custom permalink to the default –save changes, and then set it back to my custom permalink and again –save changes. This fixed it for me. Hope this helps.
Andyfarmerboy, what custom permalink did you use to make it work? I have not been successful so far.
Elizam, what related post plugin are you using?
Thanks, Bill
I went through a list of available “related posts” plug ins and none have been checked against WP v2.7.1 yet.
I was using “Related Posts” in other blogs, but I haven’t activated it yet in this one. Still trying to get the permalinks and pictures thing worked out.
AndyFarmerBoy, I wish it were that simple. I could set my custom permalink to /%category/%postname%/ as usual, and the post does show up correctly, but I lose the images in my header! When I reverted to the default ID, my images come back, but I get 404 errors all over until I go through and manually reselect the category of each of my posts.
I need to start moving ahead with this blog. My previous version was 2.6 and I’m not sure how to rollback to it (or even if I could), but I’m really beginning to regret doing this upgrade.
Any other suggestions, or do you guys know how to revert to a previous version?
Thanks,
LizLiz, you can simply ftp the previous version to overwrite the new version. But, that would not be advisable. It is far better to find a resolve for this problem and go forward, rather than giving up and going back.
I am still looking for someone with an answer as to why my links do not have the “?” mark before the page number, i.e.
https://universaldomainexchange.com/sjmsplash/p=394, which doesn’t work versus https://universaldomainexchange.com/sjmsplash/?p=394, which does work.
Does anyone know where can I make the change that will add the question mark into the equation?
Andyfarmerboy, what custom permalink did you use to make it work? I have not been successful so far.
I use the “Day and name” format selectable from the permalinks menu. All I did is change it from that to the “default” setting and then change it back.
As for the rest of you still having problems I really don’t have any great suggestions. If you haven’t done so already I would make sure to disable all plugins, change the theme to the default, make sure all the wordpress files uploaded correctly and then see if you can get the permalinks to work. Once you have that fixed then switch back to your main theme, activate the plugins etc. This can be a big help if there is an issue with a theme or plugin.
Thank you so much Andyfarmerboy for posting your fix – it worked perfectly! I’m currently running WP 2.7.1 and last night I got a notice from within admin saying my SQL database needed to be upgraded. I proceeded to upgrade and when I came back, despite a long list of “WordPress database error: [MySQL server has gone away]” (which I’m assuming were just timeout errors) my database had upgraded successfully. THEN… I went to my site and found that only the homepage and admin could be accessed, all other links within the site were getting a 404. I freaked out and was on hold with my host when I found this thread. I simply went to “Permalinks” under the Settings menu, changed to “Default”, saved, checked the site and everything was back to normal again! Then, since I don’t want use the default structure, I went in to Permalinks again and changed it back to my preferred “Custom Structure”: /%category%/%postname% Whalah! my site was back to normal. Thank you again!
I’m not sure know what it is that I did to fix my site, but I’ll post the steps here in case it can help anyone:
Baseline:
– Brand new install, WP 2.7.1
– Permalinks don’t work although I know that mod_rewrite is on because my other blogs on my same server work. .htaccess has been updated and is pretty standard.My steps:
1. Added “cat” and “tag” as the base values in permalinks. Save.
1a – Checked it, still didn’t work.
2. Switched back to default links.
3. Switched back to default theme.
4. Switched on permalinks
4a – Checked it, still didn’t work.
5. Switched back to my custom theme.
5a – I may have checked my site and found it still didn’t work.
6. Signed onto phpMyAdmin and accessed (as in didn’t do anything, just looked at) the wp_options table.
7. Checked my site again – voila, it’s working.So obviously, it may have been fixed by 5a, but it may have been fixed after step 6. I can’t remember, but I don’t see why just signing into the database would do anything.
I had the same issue. Oddly, I changed the setting back to the default permalink, saved, then changed it again to the (month/name) option. Then it worked.
Bizaare.
- The topic ‘404 Errors after upgrading to 2.7’ is closed to new replies.