all. A have a site with folow structure
The type of all this page was 'page'. After adding more than 50k pages, memory usage of /wp-admin/ became more than 300 MB, and some pages are crashing (edit page on parent dropbox for example), though memory_limit is 512MB.
Aftrer problem investigation ( WP load ALL pages with type 'page' in the begining), I suppose to change type of :countryPage:(~100 pages), :regionPage:(~1000 pages) and :hotelPage:(~50000 pages) to some custom page type, leaving type of somePage 'page'
important to save site page structure.
I spend a lot of time in google, trying some variants, read a lot of posts, but I can not combine 3 diffrent custom page in one structer. The best result was correct get_permalink(), but 404 while opening.
- Is it real to combine 2 or 3 diffrent custom page type in one permalink? How can I do it.
- Is any other solution to decrease memory usage?
Thanks for help, sorry for my english.