Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
Wordpress blog in a subdirectory not being indexed by Google
- 
					
					
					
					
 HI MozzersIn my websites sitemap.xml, pages are listed, such as /blog/ and /blog/textile-fact-or-fiction-egyptian-cotton-explained/These pages are visible when you visit them in a browser and when you use the Google Webmaster tool - Fetch as Google to view them (see attachment), however they aren't being indexed in Google, not even the root directory for the blog (/blog/) is being indexed, and when we query:site: www.hilden.co.uk/blog/ It returns 0 results in Google.Also note that:The Wordpress installation is located at /blog/ which is a subdirectory of the main root directory which is managed by Magento. I'm wondering if this causing the problem.Any help on this would be greatly appreciated!AnthonyToTOHuj.png?1 
- 
					
					
					
					
 Thanks guys! God I feel so stupid - I should have checked that. I got so obsessed about the magento/wordpress thing that checking the canonical completely slipped my mind! Oh well at least if anyone else ever has the same problem, the resolution is here for all to see! Take care, Anthony 
- 
					
					
					
					
 I agree with Lynn Your canonical tags are pointing to outside the subdirectory example: http://www.hilden.co.uk/blog/member-spotlight-joy-arkley-from-the-yr-hen-llaethdy-holiday-cottage/ is canonicaled to http://www.hilden.co.uk/bed-linen.html Also just a heads up you don't need the <meta content="INDEX,FOLLOW" name="robots"> tag as that is the default behavior. Hope this helps, Don 
- 
					
					
					
					
 Hi, At first glance it seems you have a rel canonical issue. All of your blog posts have a rel canonical pointing to: <link <span class="webkit-html-attribute-name">rel="canonical" href="http://www.hilden.co.uk/bed-linen.html" /></link <span> Probably not what you had in mind! 
Browse Questions
Explore more categories
- 
		
		Moz ToolsChat with the community about the Moz tools. 
- 
		
		SEO TacticsDiscuss the SEO process with fellow marketers 
- 
		
		CommunityDiscuss industry events, jobs, and news! 
- 
		
		Digital MarketingChat about tactics outside of SEO 
- 
		
		Research & TrendsDive into research and trends in the search industry. 
- 
		
		SupportConnect on product support and feature requests. 
Related Questions
- 
		
		
		
		
		
		Moving html site to wordpress and 301 redirect from index.htm to index.php or just www.example.com
 I found page duplicate content when using Moz crawl tool, see below. http://www.example.com Intermediate & Advanced SEO | | gozmoz
 Page Authority 40
 Linking Root Domains 31
 External Link Count 138
 Internal Link Count 18
 Status Code 200
 1 duplicate http://www.example.com/index.htm
 Page Authority 19
 Linking Root Domains 1
 External Link Count 0
 Internal Link Count 15
 Status Code 200
 1 duplicate I have recently transfered my old html site to wordpress.
 To keep the urls the same I am using a plugin which appends .htm at the end of each page. My old site home page was index.htm. I have created index.htm in wordpress as well but now there is a conflict of duplicate content. I am using latest post as my home page which is index.php Question 1.
 Should I also use redirect 301 im htaccess file to transfer index.htm page authority (19) to www.example.com If yes, do I use
 Redirect 301 /index.htm http://www.example.com/index.php
 or
 Redirect 301 /index.htm http://www.example.com Question 2
 Should I change my "Home" menu link to http://www.example.com instead of http://www.example.com/index.htm that would fix the duplicate content, as indx.htm does not exist anymore. Is there a better option? Thanks0
- 
		
		
		
		
		
		Redirect wordpress from /%post_id%/%postname%/ to /blog/%postname%/
 Hi what is the code to redirect wordpress blog from site.com/%post_id%/%postname%/ to site.com/blog/%postname%/ We are moving the site to a new server and new url structure. Thanks in advance Intermediate & Advanced SEO | | Taiger0
- 
		
		
		
		
		
		Mass Removal Request from Google Index
 Hi, I am trying to cleanse a news website. When this website was first made, the people that set it up copied all kinds of articles they had as a newspaper, including tests, internal communication, and drafts. This site has lots of junk, but this kind of junk was on the initial backup, aka before 1st-June-2012. So, removing all mixed content prior to that date, we can have pure articles starting June 1st, 2012! Therefore My dynamic sitemap now contains only articles with release date between 1st-June-2012 and now Any article that has release date prior to 1st-June-2012 returns a custom 404 page with "noindex" metatag, instead of the actual content of the article. The question is how I can remove from the google index all this junk as fast as possible that is not on the site anymore, but still appears in google results? I know that for individual URLs I need to request removal from this link Intermediate & Advanced SEO | | ioannisa
 https://www.google.com/webmasters/tools/removals The problem is doing this in bulk, as there are tens of thousands of URLs I want to remove. Should I put the articles back to the sitemap so the search engines crawl the sitemap and see all the 404? I believe this is very wrong. As far as I know this will cause problems because search engines will try to access non existent content that is declared as existent by the sitemap, and return errors on the webmasters tools. Should I submit a DELETED ITEMS SITEMAP using the <expires>tag? I think this is for custom search engines only, and not for the generic google search engine.
 https://developers.google.com/custom-search/docs/indexing#on-demand-indexing</expires> The site unfortunatelly doesn't use any kind of "folder" hierarchy in its URLs, but instead the ugly GET params, and a kind of folder based pattern is impossible since all articles (removed junk and actual articles) are of the form:
 http://www.example.com/docid=123456 So, how can I bulk remove from the google index all the junk... relatively fast?0
- 
		
		
		
		
		
		Google indexing pages from chrome history ?
 We have pages that are not linked from site yet they are indexed in Google. It could be possible if Google got these pages from browser. Does Google takes data from chrome? Intermediate & Advanced SEO | | vivekrathore0
- 
		
		
		
		
		
		Blog On Subdomain - Do backlinks to the blog posts on Subdomain count as links for main site?
 I want to put blog on my site. The IT department is asking that I use a subdomain (myblog.mysite.com) instead of a subfolder (mysite.com/myblog). I am worried b/c it was my understanding that any links I get to my blog posts (if on subdomain) will not count toward the main site (search engines would view almost as other website). The main purpose of this blog is to attract backlinks. That is why I prefer the subfolder location for the Blog. Can anyone tell me if I am thinking about this right? Another solution I am being offered is to use a reverse proxy. Thoughts? Thank you for your time. Intermediate & Advanced SEO | | ecerbone0
- 
		
		
		
		
		
		Proper 301 in Place but Old Site Still Indexed In Google
 So i have stumbled across an interesting issue with a new SEO client. They just recently launched a new website and implemented a proper 301 redirect strategy at the page level for the new website domain. What is interesting is that the new website is now indexed in Google BUT the old website domain is also still indexed in Google? I even checked the Google Cached date and it shows the new website with a cache date of today. The redirect strategy has been in place for about 30 days. Any thoughts or suggestions on how to get the old domain un-indexed in Google and get all authority passed to the new website? Intermediate & Advanced SEO | | kchandler0
- 
		
		
		
		
		
		Best way to permanently remove URLs from the Google index?
 We have several subdomains we use for testing applications. Even if we block with robots.txt, these subdomains still appear to get indexed (though they show as blocked by robots.txt. I've claimed these subdomains and requested permanent removal, but it appears that after a certain time period (6 months)? Google will re-index (and mark them as blocked by robots.txt). What is the best way to permanently remove these from the index? We can't use login to block because our clients want to be able to view these applications without needing to login. What is the next best solution? Intermediate & Advanced SEO | | nicole.healthline0
- 
		
		
		
		
		
		How long does google take to show the results in SERP once the pages are indexed ?
 Hi...I am a newbie & trying to optimize the website www.peprismine.com. I have 3 questions - A little background about this : Initially, close to 150 pages were indexed by google. However, we decided to remove close to 100 URLs (as they were quite similar). After the changes, we submitted the NEW sitemap (with close to 50 pages) & google has indexed those URLs in sitemap. 1. My pages were indexed by google few days back. How long does google take to display the URL in SERP once the pages get indexed ? 2. Does google give more preference to websites with more number of pages than those with lesser number of pages to display results in SERP (I have just 50 pages). Does the NUMBER of pages really matter ? 3. Does removal / change of URLs have any negative effect on ranking ? (Many of these URLs were not shown on the 1st page) An answer from SEO experts will be highly appreciated. Thnx ! Intermediate & Advanced SEO | | PepMozBot0
 
			
		 
			
		 
			
		 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				