The page renders only up to
All internal blog posts:<UL>
and that' it: end of file.
I think something breaks when <?php $archive_query = new WP_Query('showposts=1000');
code is executed, but I may be wrong.
Please help to fix it. I have a lot of traffic targeted to sitemap page.
See it here: http://www.maximovieblog.com/site-map
Cutline Theme Support Forums » Cutline Theme Support Forums
SiteMap page broken
(4 posts)-
Posted 4 years ago #
-
How about trying to make the sitemap by defining a new page Give it a title of something like test sitemap - and then pull down the Page Template option to Sitemap? Publish the page - taking note of the URL...
When I changed your URL to http://www.maximovieblog.com/sitemap I see this error message so it seems there is something wrong with the plugin you are using.
Error loading stylesheet: A network error occured loading an XSLT stylesheet:http://www.maximovieblog.com/wp-content/plugins/google-sitemap-generator.3.0b8/sitemap.xsl
: )
JunePosted 4 years ago # -
It's site-map, not sitemap.
Other pages were broken too, such as archive and Contact us.
But never mind. The problem was in the way I intergated bbPress with WordPress. It was including bb-load.php from wp-config.php, and apparently some of the bbPress and WordPress functions have same names, and as the result WordPress was calling bbPress's version of the function.
Once I commented out require_once (ABSPATH. 'forums/bb-load.php'); the pages began to work normally.
Posted 4 years ago # -
s site-map, not sitemap.
Other pages were broken too, such as archive and Contact us.
But never mind. The problem was in the way I intergated bbPress with WordPress. It was including bb-load.php from wp-config.php, and apparently some of the bbPress and WordPress functions have same names, and as the result WordPress was calling bbPress's version of the function.
iphone custom cases
blackberry silicone cases
Once I commented out require_once (ABSPATH. 'forums/bb-load.php'); the pages began to work normally.Posted 1 year ago #
Reply
You must log in to post.
not resolved