Duplicate page wordpress title
-
Hi Moz Fan,
I have a few question that confuse by now, According to my website used wordpress for create a blog.
but now i have got duplicate page title from wordpress blog and very weird because these duplicate
page title look like these termLamborghini ASK Hanuman Club < title that was duplicate but they duplicate with the page like this
articles/13-วิธีง่ายๆ-เป็น-คนรวย-ได้/lamborghini-2/ , /articles/13-วิธีง่ายๆ-เป็น-คนรวย-ได้/lamborghini/ I don't know why Worpress create a new page that only have 1 pics, So I think that might be the effect
from Wordpress PHP Code Or wrong setting. Can anyone suggestion what should we do for these issues ?
because i have many duplicate page title from this case. -
As far as I can see, you have made a new post with the same URL. That is why WordPress writes -2 at the end.
Is this happening automatically? Otherwise you could manually remove it.
-
@Rene Hansen : Thanks for answer, But my points why wordpress create a page that only for picture and not include
the content because when you see on the landing page you will only see the picture. Anyway when you delete the picture
name you will see the picture that already have in that content and if that possible because we publish 2 blog post in once
time how can we fix it. -
I am not sure that I understand, but I will try to guess a bit here:
1. You are publishing a post that contains the image of a Lamborghini but with no text content.
2. When you hit publish, it creates 2 posts with 2 almost identical URLS.
Are you having issues with WordPress making 2 posts at the same time?
-
This may be the solution when you're also using the Yoast SEO plugin:
http://www.shoutmeloud.com/wordpress-duplicate-content-problems-fixes.html
-
Haven't you just uploaded two variants of the same image/post twice?, and seeing as the default URL was taken Wordpress has just assigned the -2/ to the second upload ?
Maybe just redirect the second one in your htaccess file or just ensuring you have your rel="canonical" setup correctly will ensure googles doesn't penalize you.
Also just an extra note you could can add a sortcode which make any duplicate titles Unique like this... %%page%% or %%term_title%% more available here https://wordpress.org/support/topic/plugin-wordpress-seo-by-yoast-page-variable-inserting-extra-sep
Hope this helps a little,
James
-
There are two things to do to fix this:
-
When you upload a photo to a post, don't link it to the "attachment page' - this is a unique page just for the image, and is not needed. Here are your four options ---> http://screencast.com/t/KlUXTbes
-
'None' - makes the image not clickable
-
Media file - links to the image file itself, which is good if you want users to see the image bigger
-
Custom URL - you can link the image to anything you want, like an external link
-
Attachment Page - is the one you want to avoid
-
If you use the Yoast SEO plugin
-
Go to Advanced -> Permalinks
-
Check off "redirect attachment URLs to parent page' - this will redirect any images on their own URLs back to the page or post.
-