spencerpad
Forum Replies Created
-
Thanks for the advice. So far I haven’t been so lucky, I have looked through just about every document on my site trying to find the whitespace. Does anyone have any debugging tips on finding a hard to identify whitespace?
So after doing a fresh install and installing it works correctly. I was looking at the developer page, does anyone know of any documentation on getting the canonical to work correctly in non standard themes?
I’ve checked my other sites, including ones with older installs. It seems that all wordpress SEO Canonicalizes pagination to the root. Google specifically warns against this though and says to use the rel next and rel prev tags for pagination =\
I thought that could be it too, but I have that unchecked and my paginated pages still point to the root.
HmmmFMGguy, I have found the problem, however I have not figured out how to solve it yet.
Something in my theme (it works with other themes) somehow adds one line of space in the beginning of sitemap_index.xml, causing the error. After testing it in Google, it still reads it.
That said, if we can figure out how to remove the space it will work.No such luck for some of us. I have 3.5 and 1.3.4.1, I don’t have a redirect loop, but I have an error:
This page contains the following errors:
error on line 2 at column 6: XML declaration allowed only at the start of the document
Below is a rendering of the page up to the first error.@ http://www.michaelpadway.com/sitemap_index.xml
There is a separate thread about this here: http://wordpress.org/support/topic/xml-sitemap-putting-out-parsing-error?replies=5
Any help or fix would be greatly appreciated!
Forum: Fixing WordPress
In reply to: WordPress generating /blog/[numbersequence] pagesThey are still there if I do that, plus I lose my hierarchy if I do that. I currently have it set as category/postname
These aren’t unique pages, all the same page just with different numbers appended to it after a /Forum: Fixing WordPress
In reply to: WordPress generating /blog/[numbersequence] pagesI deactivated my theme and used twentyten to see if that is where the pages came from. It is not.
For plugins I have: Contact form 7, Disqus comments, UltimatetinyMCE and WordPress SEO.
I think this is new with the latest version of wordpress SEO, I wonder if there is a way to rollback?
Scratch that, I deactivated/reactivated and it didn’t work. WordPress 3.5 and an up to date WordPress SEO plugin.
Forum: Fixing WordPress
In reply to: Why do my posts come out as blobls of text?I tried deactivating all plugins, but it changed nothing.
Forum: Fixing WordPress
In reply to: WP_Query not working in pluginThe answer in case anyone searches this was yes, I needed to include wp-blog-header.php which contains the WP_Query class.
it is found in the root folder of my wordpress installation so I had to relative url it ../../../wp-blog-header.phpForum: Fixing WordPress
In reply to: How to make a WP_Query that includes a category and excludes a tagIf anyone is curious, the problem is that tag__not_in MUST be an array, so I had to use the tag ID, and make it an array.
This was the result:
<?php $query = new WP_Query( array( ‘cat’ => ’35’, ‘tag__not_in’ => array( 31 )));Forum: Fixing WordPress
In reply to: user variable input for pagesAwesome, thanks.
for some reason I thought custom fields were for posts only.