3,000 pages = Rewrite FAIL
-
So, I made 3,000 pages in Word press. Yes, it’s a lot- I am aware.
PROBLEM: Certain pages are timing out, the main page is timing out
THE ERROR: “Fatal error: Maximum execution time of 30 seconds exceeded in /home/(INFO REMOVED FOR www.remarpro.com)/rewrite.php on line 851”
THIS COULD BE OF USE IN HELPING ME SOLVE THIS: https://ottopress.com/2010/category-in-permalinks-considered-harmful/
OTHER SOLUTIONS: Adding execution time will not solve anything. I’ve already talked with my host about it. He said it’s a problem with the script. And I think it has to do with the re-write.
FIRST SOLUTION: I removed line “851” completely. Line 851 is
” if( is_array( $uris ) ) {
foreach ($uris as $uri => $pagename) {
$this->add_rewrite_tag(‘%pagename%’, “($uri)”, ‘pagename=’);
$rewrite_rules = array_merge($rewrite_rules, $this->generate_rewrite_rules($page_structure, EP_PAGES));
}
}
“At this point, my main page works but NONE of my pages work..because I removed the page re-write. But the site does function now. So is there a way I can list the pages and the IDs and the URLs that I want?
IDEAS, PLEASE?! Eventually I will have tens of thousands of pages!
- The topic ‘3,000 pages = Rewrite FAIL’ is closed to new replies.