Questions tagged [duplicates]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
570 views

Translate pages and URLs without duplicating

I would really appreciate some suggestions about what plugin to use in WP with DIVI editor, to translate my web site and following these specs: do not duplicate pages (that's really important) ...
1
vote
1answer
616 views

Duplicate Cron Jobs Using wp_next_scheduled / wp_schedule_event

I'm working on a plugin to register and schedule various cron jobs. I am: using WP Crontrol (just to see all of my cron jobs and override them if need be) have a server cron job set up and have ...
0
votes
1answer
19 views

Avoid duplicate posts with xml rpc

I'm new to Wordpress and I'm not a developer. I'm running an IFTT applet that posts a WordPress post each time I upload a new video on my Youtube Channel. There is a bug with IFTT. It often posts the ...
1
vote
1answer
608 views

How do I host Wordpress on a hidden domain through a reverse proxy?

I have a reverse proxy for http://www.xxxx.com/guides/ pointing to Wordpress on another domain. I want to edit and administer it via the other domain, but I don't want the contents to be publicly ...
0
votes
1answer
929 views

Select data from foreach loop and send it to wordpress database

The project that I'm working on have a user login section. Once the user logged in, they should be able to see a list of orders that they made in the past which are stored in the database. The list ...
0
votes
1answer
11 views

Google indexing duplicate page content with Page #### in post title and /page-2 in permalink instead of the ones I set

I'm hoping someone familiar with this problem can help me. I have a WordPress site with thousands of posts, and Google is indexing pages that look like this: mysite.com/page/1 mysite.com/page/2 ...
0
votes
1answer
1k views

Delete duplicate record in wp_postmeta

Some of my posts have two values for a meta key called cb_full_width_post. I want to only keep the records that have a meta value of nosidebar-narrow. This means I need to Identify records in ...
0
votes
1answer
1k views

How to remove Base URL Duplication?

I have an issue in the download link, the URL getting duplicate. Like this http://localhost/test/files/http://localhost/test/files/2016/05/testonly.docx same as the live website: http://www....
0
votes
0answers
20 views

How to give pages priority over any product category

Great community, very useful! I have a problem which I can't solve. Found a couple of articles online, but not really the solution. Problem: I have duplicated slug&urls for product category's ...
0
votes
0answers
29 views

Cloning product not copying custom taxonomies

I have created a custom taxonomy called locations with a lot of options on it. When I clone a product everything is cloned correctly (categories, attributies...) but not the custom taxonomy , all the ...
0
votes
0answers
20 views

Duplicate images on upload

i have the problem with wordpress when i upload 1 image is making 7 images with 7 sizes i want to have only 1 image to stop making from 1 image 7 images with different sizes. Thank you!
0
votes
2answers
3k views

How to allow duplicate comments AND without comment text

I've searched hard but I've been nowhere near close to finding the answer to this... I have a comment meta box that gives the commentor two tick boxes. The tick box is the only input into their ...
0
votes
0answers
13 views

Allow Users To Copy Posts From The Front End

I want to create a grid of posts (a CPT) that a logged-in user will access from the front end of the website. The user can select which posts they want and click submit which would make a copy of the ...
2
votes
2answers
7k views

Remove duplicate images from media library.

I recently used an image importer that has duplicated all the images. They are attached to the right posts and the posts are fine (not duplicated). How do I run through my media library deleting ...
0
votes
1answer
17 views

Display custom posts, ordered by most commented, without duplicates

I would like to display custom posts in template, they have to be ordered by most commented and without duplicates on the same page. This is the code that I have for now. $args = array( 'post_type' =&...
0
votes
0answers
12 views

Hide posts with same title

As, I have to fetch RSS Feed and it will fetch some feed with duplicates so i want to hide them. As, I want to hide those feed which have same post title.Is there any way to do that.
0
votes
1answer
199 views

How to avoid a duplicate query from using wp_nav_menu?

My theme need to render 2 menus in homepage. The rest pages only need one. As result is only homepage got duplicate query warning. After tracking down, I found out this was cause by wp_nav_menu. How ...
0
votes
1answer
103 views

Custom product loop avoiding duplicates

I am trying to create a product loop based on an attribute value from (pa_product-series). many products can have the same value, but I only want to return one from each...avoiding multiple products ...
0
votes
1answer
53 views

Duplicate/Clone a Multi-site But Use Same Images & Resources?

I'm looking for any advice before taking the step of cloning my main site into a sub-but utilizing the same resources. Is this an easy process? I realize I can strictly instruct my url paths, but in ...
0
votes
1answer
147 views

wp delete duplicate entries of custom post types every 15 minutes

looking for some assistance. I have searched the usual sites but not come across this specific question and was wondering if anybody could help. I have a scrape system that collects data and saves it ...
0
votes
1answer
117 views

Why does WP allow duplicate pages with the same name?

I ran into an issue yesterday where I saw duplicate versions of a few different pages with the same name & path. No extra number appended to them. I deleted the duplicates which caused an issue ...
0
votes
1answer
449 views

Changing username after registration to get around the issue of having duplicate emails?

I want to change username and email after a user has been created and sent an email. This is because I want!! (yes, you read correctly) to have duplicates in my database. In normal situations this is ...
0
votes
0answers
37 views

Duplicate posts on archive page

I am loading posts through ajax and it seems new load produces duplicate posts on archive standard loop. This my code I have tried several methods with $do_not_duplicate but it seems none worked or I ...
0
votes
1answer
194 views

Update or insert meta key value - On Duplicate key update

I need to bulk update some meta descriptions and have found that some of the posts don't have them so I need to do an update or insert query. (Once I get this query right I will be creating a temp ...
0
votes
1answer
112 views

SQL query: select duplicate posts - but using duplicate meta [duplicate]

how can I select the duplicate freelancer.com posts? post_id meta_key meta_value -------- ------------------- ---------------------------------------- 1 ...
0
votes
0answers
30 views

I don't want my website to accessed via my public IP address

I am a newbie here When I first installed the bitnami wordpress to my cloud hosting it can accessed by public IP address. After that I have added a domain name successfully, everything went well.. ...
-1
votes
2answers
108 views

prevent display duplicate titles on main page

I am using a automatic rss post reader on my website and there is a problem with this plugin that sometimes publish duplicate posts.I can't do anything to this plugin but at least it is better if I ...
1
vote
0answers
382 views

Allow duplicate slugs for custom post type with taxonomies

I have set up a custom post type (team) and a custom taxonomy (team_tax) for this post type, both with the same slug. Down to the core: register_post_type( 'team', array( 'labels' => ...
2
votes
0answers
435 views

Find duplicate posts with same slug and author

We imported over 250K posts into our multi-author WordPress database but have found duplicate posts where the same author has multiple posts with the same slug. Could you please recommend a MySQL ...
3
votes
3answers
4k views

force http canonical tag on https pages

At present all https pages have their own canonical tags referencing https, which is incorrect, they should be referencing the http versions. e.g: https://www.example.com has the following ...
1
vote
1answer
53 views

Don't insert if permalink is the same?

I have a foreach loop inserting posts. And I already have statements to check if post already exists by unique meta values. But somehow, often when site is loading slowly, something strange happens ...
2
votes
1answer
2k views

Duplicate Category and Page URL loads Category instead of the Page

I have created a Category with the slug service, which has the permalink: https://example.com/service. and a Page with the link: https://example.com/service. In the Category service, there is a post ...
0
votes
0answers
54 views

get_pages causing duplicates

I am using get_pages to get all the page content for my front page. I am passing post_content through the content filter $content = $page_data->post_content; $mycontent = apply_filters('...
1
vote
1answer
146 views

Events Made Easy Plugin - Duplicate Title Tags

I use the Events Made Easy plugin to handle events for a client. Recently while scanning my site for issues, I noticed that I'm getting blasted with duplicate title tags in the "events" pages as they ...
1
vote
0answers
16 views

How to duplicate a wordpress user and all his/her data from custom fields?

I have many user profiles with a lot of data via custom fields, and have to add it manually. I am wondering how to duplicate users, and then modify some of the data to speed up the process. For what ...
0
votes
0answers
30 views

duplicate wordpress site on same bdd

I have only one bdd with 2 wordpress sites : first with _wp suffix second with _wp2 suffix. For the url : mydomain/site1 mydomain/site2 Now i need to duplicate the site2 as site3 (mydomain/site3) ...
0
votes
0answers
26 views

Where is the source code in the console coming from?

I am having a bit of an issue with menu creation. A bug in WordPress (4.9.4)? -- I am creating a theme and am now adding custom menus. The header menu is fine now. But the footer menu is mirroring ...
0
votes
0answers
693 views

How to remove the duplicate title tags and duplicate meta descriptions?

Google search console detects my duplicate title tags and duplicate meta descriptions... I don't know how can I remove them. These two problems are same. It's from same page. My main page and page 2.....
0
votes
1answer
261 views

How can i find posts with duplicate featured images?

I came across this plugin "Fix Duplicates" which is able to find duplicate posts based on post title and by replacing value from "post_title" to "post_content" in a few places i am able to make this ...
0
votes
1answer
45 views

Multiple duplicate URL's

I keep getting these duplicate pages for my about page. I can't figure out what is causing this issue. Any help or direction?
0
votes
1answer
179 views

Duplicate post/product permalinks. (Link is temporary)

We have 8 different types of products on our site. Often I will duplicate a similar product when creating a new similar product. So instead I created 8 drafts that contain most of info I need when ...
2
votes
2answers
2k views

Delete duplicate rows from wordpress database where a column is duplicate in phpmyadmin

I have a wordpress table like so (phpmyadmin and MySQL) | id | meta_key | meta_value | +----+-----------+------------+ | 1 | import_id | abc | | 2 | import_id | abc | | 3 | ...
2
votes
0answers
400 views

Prevent wp_insert_user from creating duplicate users

I have a custom plugin that automatically creates a new user via wp_insert_user() if the current user does not exist yet. We use data from our remote ldap server to provide the new user's details (...
1
vote
2answers
828 views

Duplicate posts and change category

I am trying to create a button inside a post and, when the user clicks on it, I'd like the post to be duplicated and this new post goes to another category, is it possible? For example: I have "post ...
1
vote
2answers
47 views

Two posts are loaded instead of one?

I am trying to add a read posts function to my Wordpress website. To achieve this, I create a cookie on which I store all the IDs of read posts. Every time a post is loaded, the following function is ...
0
votes
1answer
755 views

delete duplicate meta_value with same post_id

I've trying to cut down on the time to query a custom post type. After looking at the database and the wp_postmeta table, for some reason, there is some duplicate meta values for the same post_id and ...
0
votes
1answer
92 views

How to stop WordPress creating URLs that don't exist

I have a website that is constantly creating URLs that don't exist. For example a category section that only has 2 pages in it, for some reason is allowing the creation of other URLs, e.g. http://www....
1
vote
0answers
481 views

Duplicate posts in paginated results

I'm running into an issue where there are duplicate posts appearing in my paginated results. I suspect the issue is to do with my use of paginate_links(), but if anyone can see something obvious in my ...
0
votes
1answer
4k views

Removing duplicate values between two wordpress queries

I'm addressing a well known issue in Wordpress, in which I want to display "featured" posts, and under it the rest of the posts. I have a $query1 which holds 2 featured posts, and my query_posts which ...
9
votes
4answers
13k views

How do I check for a duplicate record before inserting using wpdb

I am inserting a row into a custom table in a wordpress database. this is the code: $wpdb->insert( 'wp_pl_my_parts', array( 'user_ID' => $user_ID, ...