I have a Wordpress site that it is working perfectly with a bunch of posts and pages.
I have recently started a process to migrate the contents from another website and this has added ~16,000 pages and ~100,000 posts to the site.
Now, in the admin dashboard, when I go to the page list or I try to edit a page, it takes ages to load or stops loading because the timeout is fired. This is not happening with the posts, I can open the post list and edit any without issues. The frontend is working fine.
I'm starting to believe that Wordpress might not be able to manage that quantity of pages. Is there a solution to this? Replace Wordpress with another CMS like Drupal or Joomla is my latest option.
I also tried to tune mySQL, disable all the plugins (I only have a few), etc. with no luck at all.
Thank you in advance!
UPDATE:
I found out the reason of this slowness. When editing a page, Wordpress displays a dropdown list to select a parent page. This list is populated with every single page available on the site (ugh) and this is causing the huge load times. If I "tell" Wordpress to not show this dropdown list (via functions.php or editing the core), everything goes back to normal.
Related
Hello fellow developers,
I have an issue that I am running up against regarding WordPress and the current website I am working on.
I have been give a task to revamp a website, and to insert that website into WordPress. I have been working on a "custom theme" which I succeeded in luckily. The problem with that theme is, the theme shows the homepage of the website I have revamped, and when I wish to add another page to said WordPress installation. All it shows is a blank editor page.. (The same with the "view" and "edit") on the homepage of that website.
TL;DR
I want to use my custom theme to add another page to the wordpress website, problem is it shows a blank page. And the preview of a new page just shows the theme page (so the add page refuses to do anything).
Is there a good and efficient way to migrate my current HTML & CSS website to wordpress? If so how?
Thanks for the read, it's really hard to explain the situation
So the problem comes when you try to add a new page, within WordPress? Did you accidentally edit that function? Try reinstalling WordPress. Since your theme is ready, you will just need to copy it to the new installation.
I have found multiple postings with similar phrases but all too specific to their issue and not addressing this...
Most of the website requires a login session. I have built a custom plugin for WordPress to handle my CMS needs, etc. I have included a blog in the website. However, my issue is... How do I require login when "blog" is selected on the menu. AND I do NOT want to show WordPress anything. I want the blog to look like the rest of the site.
Basically I want to "nest" the blog in my website with one required login session. I have the menu item "blog" set as a category so as to pull the WordPress pre-built functionality. So this is the only item I am not able to php a login session as there really isn't a page to do so.
I have read several things. But finding them a bit confusing. Many say to change the wp-config.php but I am not comfortable with changing core files within WordPress. What am I missing or misunderstanding?
UPDATE:
Would changing the menu selection to a "page" instead of "category" and insert php file within that page with a redirect using header('Location:mysite.com/blog_files (of course after session verified) to redirect where WordPress has stored my blog? Is this a viable work-a-round?
You can use your wordpress as API point. Wordpress comes with REST API. So what you can do is get all posts after certain action. Then parse them in html.
There are 2 things to keep on mind.
1st is that everything on wordpress is post.
2nd is that to change certain parts of how api works you add filters to functions.php.
Hope I was helpful.
UPDATE
I have successfully "nested" my blog into my website so that login session is required. Changing the menu selection to a "page" instead of "category" and insert php file within that page with a redirect using header('Location:mysite.com/blog_files (of course after session verified) to redirect where WordPress has stored my blog files. This was quick and easy. However, it still requires WP login to participate in the blog. :(
my wordpress website has woocommerce installed with multiple tshirts and variations. When I click on the variations button within a specific product, I get the pinwheel and the backend just keeps loading. It never resolves.
Also worth nothing is that I have tried deleting all plugins except Woocommerce and this still happens. At the moment, I am also unable to delete any plugins on the site. The site just loads and loads and never resolves.
I'm assuming something funky is messing with the coding on the site. Anyone ever experienced this before or know what I can try?
I was trying to get rid of the Welcome section on the front page of a WooCommerce site I am building. The site is using the Storefront theme.
I thought the way to do it was to delete the Welcome page from the Pages section of WordPress. However, as soon as I did that, the entire front page of the store is gone and it is back to what seems like a regular WordPress.
Using "Create default WooCommerce pages" feature of WooCommerce does not seem to work as it neither fixes the display of the front page nor creates another Welcome page.
I have several questions.
1. What went front?
2. How can I fix it, so the store displays again.
3. How can I get rid of the Welcome section on the front page without blasting the entire page off the site?
Any advice is appreciated.
P.S. I should mention that I originally moved the Welcome page to trash. I then saw that it broke the site. In turn, I attempted to restore it, but it didnt fix the issue. I then deleted the page permanently in hopes of recreating it with the WooCommerce functionality. The latter didnt work.
You need to use the WordPress theme Customizer
under front page you have the option to choose a page your blog as a front page, here you just need to select the page that you deleted and then restored
this link may be of some use to you... https://atlantisthemes.com/change-storefront-homepage-layout/
I am making a redesign of my clients website through the CMS wordpress.
They want to keep the same theme, so I would need to make some changes to the basic theme options etc.
Every time I try to open the theme_options page it loads a blank page. A completely white screen, and by inspecting I can see that there is NO html what-so-ever loaded. not even the wordpress frame.
After this accident happened, I have tried to update all their plug-ins without any luck, and I have tried to deactivate the plug-ins without any luck.