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.
Duplicate Content with ?Page ID's in WordPress
- 
					
					
					
					
 Hi there, I'm trying to figure out the best way to solve a duplicate content problem that I have due to Page ID's that WordPress automatically assigns to pages. I know that in order for me to resolve this I have to use canonical urls but the problem for me is I can't figure out the URL structure. Moz is showing me thousands of duplicate content errors that are mostly related to Page IDs For example, this is how a page's url should look like on my site Moz is telling me there are 50 duplicate content errors for this page. The page ID for this page is 82 so the duplicate content errors appear as follows and so on. For 47 more pages. The problem repeats itself with other pages as well. My permalinks are set to "Post Name" so I know that's not an issue. What can I do to resolve this? How can I use canonical URLs to solve this problem. Any help will be greatly appreciated. 
- 
					
					
					
					
 this might do it as wellA flexible pattern URL mapping is a way of redirecting all URLs that match a particular pattern, to equivalent destination URLs, using a single mapping. It does this by allowing you to parse out and name portions of the requested URL to substitute into the destination URL. These types of URL mappings are useful when you are changing the structure or format of your URLs, but want to make sure you can redirect requests for pages under their old URL structure to their new URLs. An example of a flexible pattern URL is the following: /myblog/:post-year/:post-month/*rest-of-url?id=:post-idEach portion of the URL above that starts with a colon (:) creates a named component that is matched until the next delimiter character (./=&?), and any portion that starts with an asterisk (*) creates a named component that is matched until the end of the URL (up to the query string). The named components can then be used in the URL mapping's destination, with each name included inside of curly braces. For example, the named components defined in the flexible pattern URL above could be used to create the following destination: /newblog/{post-year}/{post-month}/post-{post-id}/{rest-of-url}To demonstrate how this flexible pattern URL mapping would work, let's consider the following example requested URL and where it would be redirected. The named components in the requested and destination URLs are highlighted. Requested URL: http://www.mydomain.com/myblog/2013/12/marketing/inbound-marketing-rocks?id=98765 Redirected to: http://www.mydomain.com/newblog/2013/12/post-98765/marketing/inbound-marketing-rocks With this pattern-based URL mapping we were able to retain all of the important, identifying parts of the original URL and insert them into the new URL structure. In addition, with this particular mapping, we were able to: - capture the variable-length {rest-of-url} component (i.e. marketing/inbound-marketing-rocks) to be used in the destination url, by using an asterisk (*) at the beginning of that component's definition
- move the {post-id} component from the query string in the original URL into the middle of the URL in the destination
 
- 
					
					
					
					
 you may want to remove the flash file from the website. It is not compatible with iPhones and flash is really something I would stay away from on websites. This is flash http://www.spamedica.com/wp-content/themes/spamedia/flash/spamedica_flash.swf See why that's not good http://www.browserstack.com/screenshots/46bca267a16b8726a26c7438e76317ef51b877be Try http://www.browserstack.com/responsive Here's an example of the exact same thing using the gif http://cl.ly/image/2t2d470b3A2F/Screen Recording 2014-09-23 at 12.58 PM.gif iPhone The http://www.siteground.com/ your host is great for shared hosting your IP 181.224.137.194 - 126 other sites hosted on this server I honestly would give them a call and have them correct your htaccess file However if you want something that's going to be faster and focused 100% on WordPress use manage WordPress hosting provider. Like GetFlywheel you get your own VPS only one site per an IP no shared resources and this type of stuff is never a problem for them to fix. You can migrate 100% free in addition. Overall I would say that your site needs some TLC http://tools.pingdom.com/fpt/#!/exa05N/http://www.spamedica.com/ you have over 100 requests and your server does a good job of catching after it's been loaded but not that much prior to so the 1st visit will be slow. Most important part is it needs to be responsive and work properly on mobile devices. that includes using CSS 3 and HTML 5 to substitute for flash so render properly on all devices. In addition to allowing people to browse it on all devices. http://www.spamedica.com/Tested from New York City, New York, USA on September 23 at 14:00:29 <dl class="first"> <dt>Page size</dt> <dd>1.9MB</dd> </dl> <dl> <dt>Load time</dt> <dd>2.31s</dd> </dl> <dl> <dt>Requests</dt> <dd>112</dd> </dl> <dl class="last"> <dt>Perf. grade</dt> <dd>69/100</dd> </dl> Sincerely, Thomas 
- 
					
					
					
					
 You can check it with https://yoast.com/wp-content/permalink-helper.php https://yoast.com/change-wordpress-permalink-structure/ If you’re on Apache and you decide to do the redirect, having been on a /yyyy/mm/dd/%postname%/structure before, you might benefit from this simple redirect which you could throw into your .htaccess file:| 1|RedirectMatch 301 /\d{4}/\d{2}/\d{2}/(.*) http://example.com/$1|
- 
					
					
					
					
 PS try to save your link structure to the way you want it and make sure you click the save button. if it does not work there a problem that would require access to WordPress to fix http://wordpress.stackexchange.com/questions/39665/custom-htaccess-rewrite-rule-for-page 
- 
					
					
					
					
 Rewrite the URLs your hosting company for a plug-in like https://yoast.com/wordpress/plugins/seo-premium/ Yoast makes it better be best redirect plug-in for WordPress I know of. You can use The redirection plug-in https://wordpress.org/plugins/redirection/ Hosting http://getflywheel.com/help/do-you-support-htaccess-files/ You will want to clean up what WordPress did not. Via 301 redirects it is most likely an error in your HTaccess file Your WordPress install is not up to date as well you may want to ensure that is updated to 4.0. Have http://getflywheel.com/tour/ do it This is something I would recommend a company like Getflywheel.com at $15 a month you get manage WordPress your own all SSD VPS and all the issues with WordPress to take care of by them. http://getflywheel.com is a bargain. Hope that helps, Thomas 
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
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
- 
		
		
		
		
		
		Should I redirect or add content, to 47 Pages?
 We have an insurance agency website with 47 pages that have duplicate/low content warnings. What's the best way to handle this? I'm I right in thinking I have 2 options? Either add new content or redirect the page? Thanks in advance 🙂 On-Page Optimization | | laurentjb1
- 
		
		
		
		
		
		Duplicate URL's in Sitemap? Is that a problem?
 I submitted a sitemap to on Search Console - but noticed that there are duplicate URLs, is that a problem for Google? On-Page Optimization | | Luciana_BAH0
- 
		
		
		
		
		
		Duplicate content penalty
 when moz crawls my site they say I have 2x the pages that I really have & they say I am being penalized for duplicate content. I know years ago I had my old domain resolve over to my new domain. Its the only thing that makes sense as to the duplicate content but would search engines really penalize me for that? It is technically only on 1 site. My business took a significant sales hit starting early July 2013, I know google did and algorithm update that did have SEO aspects. I need to resolve the problem so I can stay in business On-Page Optimization | | cheaptubes0
- 
		
		
		
		
		
		How to Structure URL's for Multiple Locations
 We are currently undergoing a site redesign and are trying to figure out the best way to structure the URL's and breadcrumbs for our many locations. We currently have 60 locations nationwide and our URL structure is as follows: www.mydomain.com/locations/{location} Where {location} is the specific street the location is on or the neighborhood the location is in. (i.e. www.mydomain.com/locations/waterford-lakes) The issue is, {location} is usually too specific and is not a broad enough keyword. The location "Waterford-Lakes" is in Orlando and "Orlando" is the important keyword, not " Waterford Lakes". To address this, we want to introduce state and city pages. Each state and city page would link to each location within that state or city (i.e. an Orlando page with links to "Waterford Lakes", "Lake Nona", "South Orlando", etc.). The question is how to structure this. Option 1 Use the our existing URL and breadcrumb structure (www.mydomain.com/locations/{location}) and add state and city pages outside the URL path: www.mydomain.com/{area} www.mydomain.com/{state} Option 2 Build the city and state pages into the URL and breadcrumb path: www.mydomain.com/locations/{state}/{area}/{location} (i.e www.mydomain.com/locations/fl/orlando/waterford-lakes) Any insight is much appreciated. Thanks! On-Page Optimization | | uBreakiFix0
- 
		
		
		
		
		
		Duplicate Content on Event Pages
 My client has a pretty popular service of event listings and, in hope of gathering more events, they opened up the platform to allow users to add events. This works really well for them and they are able to garner a lot more events this way. The major problem I'm finding is that many event coordinators and site owners will take the copy from their website and copy and paste it, duplicating a lot of the content. We have editor picks that contain a lot of unique content but the duplicate content scares me. It hasn't hurt our page ranking (we have a page ranking of 7) but I'm wondering if this is something that we should address. We don't have the manpower to eliminate all the duplication but if we cut down the duplication would we experience a significant advantage over people posting the same event? On-Page Optimization | | mattdinbrooklyn0
- 
		
		
		
		
		
		Will "internal 301s" have any effect on page rank or the way in which an SE see's our site interlinking?
 We've been forced (for scalability) to completely restructure our website in terms of setting out a hierarchy. For example - the old structure : country / city / city area Where we had about 3500 nicely interlinked pages for relevant things like taxis, hotels, apartments etc in that city : We needed to change the structure to be : country / region / area / city / cityarea So as patr of the change we put in place lots of 301s for the permanent movement of pages to the new structure and then we tried to actually change the physical on-page links too. Unfortunately we have left a good 600 or 700 links that point to the old pages, but are picked up by the 301 redirect on page, so we're slowly going through them to ensure the links go to the new location directly (not via the 301). So my question is (sorry for long waffle) : Whilst it must surely be "best practice" for all on-page links to go directly to the 'right' page, are we harming our own interlinking and even 'page rank' by being tardy in working through them manually? Thanks for any help anyone can give. On-Page Optimization | | TinkyWinky0
- 
		
		
		
		
		
		Duplicate Content from on Competitor's site?
 I've recently discovered large blocks of content on a competitors site that has been copy and pasted from a client's site. From what I know, this will only hurt the competitor and not my client since my guy was the original. Is this true? Is there any risk to my client? Should we take action? Dino On-Page Optimization | | Dino640
- 
		
		
		
		
		
		Page content length...does it matter?
 As I begin developing my website's content, does it matter how long or short the actual text found in the is? I heard someone say before "a minimum of 250 words", but is that true? If so, what is the maximum length I should use? On-Page Optimization | | wlw20090
 
			
		 
			
		 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				 
					
				