-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
404 pages #685
Comments
What do you mean by “after adding a core page”? |
So basically if you go to any URL of your site that isn't the homepage you get a 404? I'd probably have to see the issue on a live site to be able to identify what's going on. I haven't seen that issue myself. |
Well it is a closed site, and it doesn't always happen. It's irregular, but since I disabled the plugin, the logs only show the service worker calling 404 |
is there something in the plugin that lists all the pages or something like that? |
When the service worker is installed, it precached two pages, one for the https://amp-wp.org/?wp_error_template=offline |
Thanks for taking the time to get back to me. So no directory for all of the pages? Also when do the manifest and offline files get created? Is it only on install of the plugin |
The offline/500 error templates are created at runtime. There are no files that are created. The manifest is served dynamically by the REST API. |
Interesting, I have not had time to look further into it, but since i disabled it. The issue hasnt been raised again |
Well today i have activated the plugin again, and already got a 404 page. |
Share the URL of your site where I can see the issue. |
Its a closed site, so i cant do that. I will be looking into the actual reason when i have time. Will also post it here if it is a conflict or issue with the plugin. |
By closed site, i mean you need a login to see the site. |
Good morning, guys. |
Thank you for a quick response @westonruter. Yes, reverting exactly this changes fix issue in our case. I agree that it is ridiculous and by my opinion simple rewriting rule could not affect. But probably, we have some complex problem. wp-coreversion: 5.7.2 wp-paths-sizeswordpress_path: /project/web/wp wp-dropins (1)db.php: true wp-active-themename: BuddyBoss Child (buddyboss-theme-child) wp-parent-themename: BuddyBoss Theme (buddyboss-theme) wp-mu-plugins (6)Asset CleanUp Pro: Plugin Filtering: version: 1.0, author: Gabriel Livan wp-plugins-active (6)Advanced Custom Fields PRO: version: 5.11.4, author: Delicious Brains wp-mediaimage_editor: WP_Image_Editor_GD wp-serverserver_architecture: Darwin 20.4.0 x86_64 wp-databaseextension: mysqli wp-filesystemwordpress: writable redux-frameworkversion: 4.3.1 redux-instance-buddyboss_theme_optionsopt_name: buddyboss_theme_options Hope it will help. Please let me know if I can provide anything else. |
So to confirm the behavior you're experiencing: When you create a new page, accessing it will show the 404 template ( Do you get a 404 when you try to access new posts as well or only pages? |
@harryPAchievement In looking at @Sasha15's Site Health info, do you see any commonalities with your Site Health info? Anything that would be a common denominator? |
@Sasha15 In particular, I wonder if the problem is due to your permalink structure being |
Also when the permalink structure begins with |
@westonruter Also, as you suggested, probably problem is in Perhaps it doesn't matter, but I would like to notice that we are getting 404 not constantly. Pages are loading from time to time. |
site health is mostly similar. ours is /%category%/%postname%/ I have removed the rewrite and that seems to have fixed it. Our site is the same in the fact that "we are getting 404 not constantly. Pages are loading from time to time." |
I've tried various combination of permalink with posts and pages creation with no luck to reproduce the problem. System info
|
@Sasha15 and I both have the learndash plugin active |
@harryPAchievement Does deactivate the Learndash plugin and flushing permalinks solve the issue? |
I still have on my todo list to troubleshoot this. It may be a bit difficult to do if having the LearnDash plugin active is required, since it's a commercial offering. |
Thank you @westonruter. Unfortunately LearnDash is MU plugin for us. |
I've tried activating LearnDash and setting the permalink structure to |
Looks like service worker is breaking pages. Installed fine to my wordpress website, after adding a core page, so domain/page_name, all core pages started going 404. After disabling plugin, this stopped happening. Its not the normal issue which is solved with permalinks. Any assistance or information about this is appreciated, thanks
The text was updated successfully, but these errors were encountered: