WebsiteBaker Support (2.12.x) > General Help & Support
Showing only sibling pages in backend on a huge site
svsanchez:
Hello everybody,
One of my WB sites has more than 3,000 pages in 40+ categories. When I went to the pages section in the backend, it took forever to open. The pages in the front end were also slower. A few years ago someone here in the forum posted a solution for big sites which consisted in showing only the parent pages, and when clicking on the plus sign it would open a new page only with the second level pages, and so on. This made it a lot faster.
Problem is, after upgrading a dev version of the site from 2.8.3 to 2.12.1, this solution doesn't work anymore which is making the site horribly slow. I have been searching for the original post with the solution for doing this in WB 2.8.3 and I don't know if that specific code would work on 2.12.1 so I thought it would be better to ask for help.
In case it's of use, the site which is still on 2.8.3 (faster) is https://www.deguate.com
The test site already upgraded to 2.12.1 (slower) is https://www.superpromos.info/index.php
Thanks for the help you can provide!
svsanchez:
FOUND IT AT LAST!
Can someone please tell me if this will work with WB 2.12.1?
https://forum.WebsiteBaker.org/index.php/topic,25587.msg174593.html#msg174587
svsanchez:
Ok, so I replaced the /admin/pages/index.php with the old admin-pages-index.php file as instructed by Ruud in that old post.
It SEEMS to work, pages are now loading much faster in the backend, which only load pages from the same level in the pagetree.
HOWEVER:
1) I am NOT able to reorder the pages by dragging and dropping (the reorder function is CHECKED in the admin tools > javascript admin)
2) Pages in the front end are still HORRIBLY slow. For example, you can compare:
- https://www.superpromos.info/guatemala/regalos-y-flores/orquideas.php (SLOW DEV 2.12.1)
Versus
- https://www.deguate.com.gt/guatemala/regalos-y-flores/orquideas.php (NORMAL site 2.8.3)
3) I'm concerned about the safety of using this old (2012!) file. Is there a new version?
Thank you!
dbs:
The zip in the old post is not usable.
You should zip your used admin/pages/index.php again and attache here.
What you could do. Compare the file with the original from rev1638 to find the changes.
Or compare the new file with the one from 2.12.2.
Maybe you see what was done by Ruud and what can you take over.
I can't recommend to use the old file in the new WB version.
svsanchez:
Hello, unfortunately I am not a programmer, so although I used Notepad++ to compare the original vs the modified index.php pages from version 2.8.x, I wouldn't be able to apply those changes into the new index.php from version 2.12.x
Maybe I'm making this harder than it should really be: it's been already 8 years since Ruud made that modification to the index.php for big sites, so I guess there should be a way in 2.12.x to do this in a simple way?
Is Ruud still active in the forum?
Navigation
[0] Message Index
[#] Next page
Go to full version