By Sean Carney on Tuesday, 21 February 2017
Posted in Technical Issues
Replies 9
Likes 0
Views 195
Votes 0
We are struggling to clean up some of the URLs on our site with EasyBlog. I know that the appended string is because of 'duplicates' but we are struggling to figure where the duplicates are coming from.

Here is a url in question:
https://www.drcarney.com/blog/entry/association-between-dietary-fiber-intake-and-risk-of-coronary-heart-disease-a-meta-analysis-2

What we want is to remove the -2 from the url. But, each time we click on the edit button and then remove the -2 we find it is added back when we "Update Post".

Since I know I need to find duplicates I have been looking to see if maybe a copy was in unpublished but have not found any. I also looked in trashed and did not find any. So, I thought it must be in the History tab and I deleted EVERY revision except the one I was working on. But, that also did not allow me to change the URL.

I am hoping you can give me a clue as to what we are doing wrong. Or, do you think maybe this is just something that is getting stuck in the Joomla cache? or the EasyBlog cache?

any ideas will be greatly appreciated.

Sean
Hi Sean,

That could be one of the caused why you having a new url permalink generated, where the url has already stored in the draft post
Feel free to create a new forum ticket if there have any issue on this Sean.
·
Friday, 24 February 2017 15:34
·
0 Likes
·
0 Votes
·
0 Comments
·
Here is another URL that we want to remove the -1 from:
consumption-of-vegetables-may-reduce-the-risk-of-liver-cancer-results-from-a-meta-analysis-of-case-control-and-cohort-studies-1
·
Tuesday, 21 February 2017 23:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Sean,

For the first blog post seems like there have a duplicate post which do not have any content in it. I've rename the url -4 temporarily
https://www.drcarney.com/blog/entry/association-between-dietary-fiber-intake-and-risk-of-coronary-heart-disease-a-meta-analysis-4
in order to make the exact blog post you've mention above to have url without the number append.
Now the blog post have a correct url:
https://www.drcarney.com/blog/entry/association-between-dietary-fiber-intake-and-risk-of-coronary-heart-disease-a-meta-analysis

and I've already change another post:
https://www.drcarney.com/blog/entry/consumption-of-vegetables-may-reduce-the-risk-of-liver-cancer-results-from-a-meta-analysis-of-case-control-and-cohort-studies

Please give it a try.
·
Wednesday, 22 February 2017 13:30
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you very much. From now on I will search for and destroy the duplicates. :-) I believe some of those duplicates were in 'Drafts'. I am thinking they are being auto generated as part of the versioning?
·
Wednesday, 22 February 2017 22:12
·
0 Likes
·
0 Votes
·
0 Comments
·
Sorry to mark this as unresolved but we are still needing help to figure out how all these duplicates with unique urls are being created. My editors are frustrated because they know it happens but do not know how or why.

Can you help me to understand what would cause a new url to be generated. Is a new url generated every time we edit and save?

What we want is to be able edit and then leave and then return and then edit and not have the URL change!

Any clues will be greatly appreciated.

Sean
·
Thursday, 23 February 2017 04:45
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Sean,

Kindly find my response for your inquiries below:
Can you help me to understand what would cause a new url to be generated. Is a new url generated every time we edit and save?
-> The new url will be generated as there is same url have been stored in other word is there is same article with same url (duplicate url)
If you intend to only update the content of the blog post, you no need to edit the permalink (leave as it is)

What we want is to be able edit and then leave and then return and then edit and not have the URL change!
-> As my response on your question above. If you want to edit your blog post without the url permalink got changed. You no need to edit the url permalink https://www.screencast.com/t/gjY1xzm8WF
·
Thursday, 23 February 2017 16:17
·
0 Likes
·
0 Votes
·
0 Comments
·

-> The new url will be generated as there is same url have been stored in other word is there is same article with same url (duplicate url)


Thank you Fadhli for your reply. I am sure you are right that the reason this is happening is because there is a same article with the url somewhere. But, I can also assure you that we are never actually editing the urls to change them unless we find they have had this text appended. And, it seems that we are finding the correct url in drafts. So, our puzzle is how it is that we are creating the duplicate urls. We think we are just editing the blog post. But, somehow we are editing a copy of the blog post. And, sometimes we are finding multiple copies in drafts all with a slightly different url. So, I hope this makes sense. I am figuring something my editor is doing is creating this although I have also seen it happen to me. But, we are still puzzled about what we might be doing that generates the drafts with changing urls. I am sure it is something dumb on our part. But... haven't figured it out yet. Do you have any suggestions on where to look in our process?

Sean
·
Thursday, 23 February 2017 22:47
·
0 Likes
·
0 Votes
·
0 Comments
·
I believe we have figured out the problem. My writer was using the Save for Later button like I told him so that the blogs would not publish and then he was not looking for them under Drafts. So, I believe he was starting over and creating the duplicates. Hopefully this will stop now. :-)
·
Friday, 24 February 2017 05:50
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post