I am getting this error using the plugin.
Caller:
tdrd_table()
wp-content/plugins/trash-duplicate-and-301-redirect/trash-duplicates-admin.php:158
tdrd_init()
wp-content/plugins/trash-duplicate-and-301-redirect/trash-duplicates.php:45
do_action('init')
wp-includes/plugin.php:476
tdrd_table()
wp-content/plugins/trash-duplicate-and-301-redirect/trash-duplicates-admin.php:159
tdrd_init()
wp-content/plugins/trash-duplicate-and-301-redirect/trash-duplicates.php:45
do_action('init')
wp-includes/plugin.php:476
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘IF’ at line 1
Error Code: 1064
Apart from that db error, I am also getting slow queries using this plugin.
Caller: tdrd_admin_func()
]]>Hi, I can’t find the trash on the control panel? Because I want to undo a 8 posts i put in the trash.
Thanks
]]>The plugin should have a check, if the pages are already redirected.
example:
a redirect of these pages has already been created by the plugin:
site.com/page1 -> site.com/page2
page1 has already been deleted by the plugin.
I created a new post, with the same title (a page was created with the end page1, but page2 still exists)
I will use the plugin to delete and redirect (I will keep the newest one).
creates a duplicate redirect bug because it will create the following redirect
site.com/page2 -> site.com/page1
the plugin should check if there is already a redirection of the links.
Hi dear @solwininfotech , @sanjaydabhoya , @khushbupadalia ,
Two months ago and precisely on November 26, 2020 the latest and most updated official stable version of PHP 8.0.x was released while 2 months ago and precisely on November 8, 2020 the latest and most updated official and stable version was released of WordPress 5.6.x which supports the new version of PHP 8.0.x .
I wanted to ask you the following question:
When you make your “Trash Duplicate and 301 Redirect” plugin compatible with the latest and most updated official stable version of PHP 8.0.x , you have an ETA (Estimated Time of Arrival) ?
Thanks in advance for the support.
]]>Warning
Message
session_start(): open(/var/cpanel/php/sessions/ea-php72/sess_483tukl4cee2oru8mjrp0553q2, O_RDWR) failed: No such file or directory (2)
Location
wp-content/plugins/trash-duplicate-and-301-redirect/trash-duplicates.php:215
session_start()
wp-content/plugins/trash-duplicate-and-301-redirect/trash-duplicates.php:215
tdrd_session_start()
wp-includes/class-wp-hook.php:287
do_action(‘init’)
wp-settings.php:540
——————————–
Warning
Message
session_start(): Failed to read session data: files (path: /var/cpanel/php/sessions/ea-php72)
Location
wp-content/plugins/trash-duplicate-and-301-redirect/trash-duplicates.php:215
session_start()
wp-content/plugins/trash-duplicate-and-301-redirect/trash-duplicates.php:215
tdrd_session_start()
wp-includes/class-wp-hook.php:287
do_action(‘init’)
wp-settings.php:540
Hello,
This plugin is actively using sessions to display success messages. Using unnecessary sessions breaks caching mechanisms with POP layers, like Varnish.
Can you please implement one of the following solutions?
Thank you,
Rob
I have an events calendar with thousands of events on it. I don’t want to have duplicates of course, but many times I will have events which by name will appear many times. For example: The Nutcracker appear everyday for a month or a particular festival takes place over 5-6 days. In this case, the only thing that differentiates the entries could be the date and the time. Nothing else. Unfortunately, TRASH Duplicate wants me to delete all entries with the same name – but as you can see they are not necessarily duplicates. Is there a way to select the duplicates by their URLs? Or other additional fields – so that a real difference can be established?
]]>Installed the Trash Duplicate plugin today and trashed a lot of identified content – good so far.
However, I am left with a page identifying 270 posts with some type of duplicate content.
I only have 33 page and 64 posts on the site and it seems the on duplicate item maybe the fact that I am the ‘author’.
This is very confusing and I am reluctant to use the trash facility as I don’t know what this will do to the site.
]]>to the oldest of the duplicates?? is that possible?
ex
sheep 1 added jan 5 2000
sheep 1 added feb 9 2000
sheep 1 added feb 15 2000
the latter two would load to sheep 1 added jan 5 2000
i think you have what i need
]]>I have deleted lots of duplicates this morning and as a result it’s deleted two images from my landing page. I suspect this is because there was two individual images that for part of another image on a slider. I didn’t design the site so i don’t think i have copies and within the dashboard i don’t seem to have a trash anywhere. Where has Trash-Duplicate put all of the files it says it successfully moved to trash? Please help!
]]>Hey all,
If you are having speed issue with the speed of the Trash Duplicate and 301 Redirect Plug-in I wanted to post my solution. This will also help with the general speed of searches. I hope this helps someone or at least spurs some conversation.
I created the indexes below and my performance went from from 5-10 minute runs to about 30-60 second runs. Here are the indexes:
— The plug-in heavily relies on the title of posts for it’s searches.
ALTER TABLE smfh_posts ADD INDEX idx_smfh_posts_title (post_title(250) )
— * ID is a common sort value. Since this is already an indexed value you could not use
— it. I’ll let DBA discuss this one
— * post_status – the plug-in excludes items in the trash so the status helps the
— overall exclusion
— * post_date – One of the option is to keep oldest or newest. This will help to
— decide which to keep.
ALTER TABLE smfh_posts ADD INDEX idx_smfh_posts
(ID, post_status, post_date)
Some last notes:
* ‘smfh_’ was my hosting services default prefix. For most people it will just be ‘wp_’.
* There is a cost for speed: storage space. You are sorta making mini databases in your database. Most hosting services are capped at 200 megs.
* Back up your database if you can. You are touching you’re primary table in your WordPress installtion
I keep getting the message
Error: Can’t move to the trash.
every time I try to use the plugin.
It happens on both batch deletes and individual deletes.
Not very useful. Sorry.
]]>we have a site with a large number of posts (nearly 200,000) which seems to cause this plugin to hang
is it possible to incorporate some kind of batching mechanism into your plugin so that it can handle large sites better? i.e. where it could be configured to process a certain amount of posts at a time .. or something like that?
]]>Why duplicate trash not keeping newest posts after delete oldest posts using bulk action?
]]>Cannot send session cache limiter – headers already sent (output started at /home/(website)/public_html/wp-content/plugins/trash-duplicate-and-301-redirect/trash-duplicates.php:516
We are getting this error.
It looks like alot of others are getting the same:
How can we fix? Also is there anyway to pay to design an addon for this? We need more functionality.
]]>Because of this, the RSS Feed is broken, etc.
Check the project for an empty echo output!
In the latest change, XMLRPC is breaking because of a change introduced in trash-duplicates.php, the last 4 blank lines:
//——
@@ -498,14 +500,16 @@
if(!function_exists(‘TDRD_plugin_links’)) {
–
+
function TDRD_plugin_links($links){
$links[] = ‘‘.__(‘Documentation’, ‘trash-duplicates’).’‘;
return $links;
}
–
+
}
add_filter( ‘plugin_action_links_’ . plugin_basename( __FILE__ ), ‘TDRD_plugin_links’);
–
?>
+
+
+
//——
The introduction of the empty lines after the closing ‘?>` causes XML parsing exceptions as any response from wordpress now contains extra whitespace leading up to the intended output.
]]>So using your software I found numerous duplicate posts. They have URLS like:
domain.com/post-about-dogs
domain.com/post-about-dogs-2
domain.com/post-about-dogs-3
domain.com/post-about-dogs-4
domain.com/post-about-dogs-5
Do I have to do a 301 for each url or can I use a wild card such as:
domain.com/post-about-dogs* points to domain.com/post-about-dogs
Does that make sense? Does your software support wild cards like this? Thank you!
]]>Is there any way to remove the Solwin news widget from the dashboard, or at least move it so it’s not at the top, above “At a Glance”?
]]>If I missed something please let me know.
This plugin seems to search for duplicate titles and NOT duplicate content.
I just took over a site where I manually found 5 pages (10 pages) with almost identical duplicate content and images.
In some cases the title was one word different, a new sentence added, a word or two added to a sentence, on word added to the page and/or a slider instead of a static header image.
]]>Hello,
Is there an easy tweak to disable trashing posts and keep 301 redirects?
Need this for Pinterest clone theme which generates duplicate posts on each repin and if i trash the posts users are loosing repined (collected) photos…
Regards
Vojcha
HI!
Thanks for this good plugin
I just have a problem… i have some old urls like this one :
/+Brunch-les-samedi-des-novembre+.html
and when i add it as a redirect… redirection dont work ??
I tried using and without using wildcards… still not work
Any idea?
https://www.ads-software.com/plugins/trash-duplicate-and-301-redirect/
]]>Great plugin! However in my set-up, the little arrows to expand and view the post are not working. Also it is only displaying 3 post per page.
I’d love to see this plugin improve. It’s already pretty good, and the 301 direction is brilliant!
https://www.ads-software.com/plugins/trash-duplicate-and-301-redirect/
]]>I have a newly launched website and have been using the plugin to add redirects from the old links to the new links in the 301 Redirects page. Everything was working fine and I have added about 85 entries so far.
I only need to add a few more entries and each time I try to add a new line, I get this error at the top of the page in red: “Error:Fail to insert new record.” That’s it and it will not allow me to add any new or update any of the already existing lines.
I deactivated all plugins and I still am unable to add anything new. Is there a limit to how many pages you can have? Any insight would be appreciated.
Thanks!
Tara
https://www.ads-software.com/plugins/trash-duplicate-and-301-redirect/
]]>As others have suggested, it would be nice to have this run daily or on a schedule and automatically remove all duplicates.
Also, I don’t seem to be able to mass-delete/trash duplicates. If I do them one at a time it works, but trying to select multiple or Trash All does not work.
https://www.ads-software.com/plugins/trash-duplicate-and-301-redirect/
]]>According the scenario of this plugin, it should detect also duplicate from URLs.
For example somehow two posts has been added with titles:
Title 1.Avinnash Gorakssakar’s value picks for 2016 On Youtube
Title 2.Avinnash Gorakssakar’s value picks for 2016 On Youtube
Although titles have difference of ( ’ ) and ( ‘ ) special characters, but as you know special character will not be used in URL.
So URLs for the posts will be as:
URL 1./avinnash-gorakssakars-value-picks-for-2016-on-youtube/
URL 2./avinnash-gorakssakars-value-picks-for-2016-on-youtube-2/
In this situation plugin can not detect Duplicates.
It is a must included function, if author can do.
NOTE:Special characters used in titles seems identical although they are not.
https://www.ads-software.com/plugins/trash-duplicate-and-301-redirect/
]]>Is there anyway to have the plugin automatically delete any duplicates that it detects?
https://www.ads-software.com/plugins/trash-duplicate-and-301-redirect/
]]>Hi
Thanks for the great plugin. Due to some bug of previous version, i was using your plugin to find duplicate posts and then i was manually trashing, adding them in redirection list of another “Redirection Plugin“. I have 718 records right now. Its difficult to add all of them one by one. Mentioned plugin have export, import (CSV) list facility.
Is there a way to use exported list in your plugin?
Thanks
https://www.ads-software.com/plugins/trash-duplicate-and-301-redirect/
]]>Is there anyway to schedule to auto delete duplicates like once an hour or something?
https://www.ads-software.com/plugins/trash-duplicate-and-301-redirect/
]]>I can not add links manually in 301 Redirection List.
https://www.ads-software.com/plugins/trash-duplicate-and-301-redirect/
]]>