• Home
  • Get help
  • Ask a question
Last post 5 hours 36 min ago
Posts last week 82
Average response time last week 34 min
All time posts 68071
All time tickets 10515
All time avg. posts per day 20

Helpdesk is open from Monday through Friday CET

Please create an (free) account to post any question in the support area.
Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!
All tickets are private and they cannot be viewed by anyone. We have made public only a few tickets that we found helpful, after removing private information from them.

#4321 – Problema with main url

Posted in ‘sh404SEF’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Thursday, 16 November 2017 17:19 UTC
webmarektingteam
Hi,

I've a big problem that happens in manu website.
I've many duplicate url, and when I click on the "duplicate orange button" I found that both url option are selected with the star and I can't choose one to be main.
How can I solve it?

Please help me to solve it. The only way I found is to create a third url, with the same text for sef url but change a little bit the non-sef url (but keeping the same id=). In that case I can choose the third url like main, and then I can decided wich one is the winner

You can find some screenshot attached to this post to understand better.
I need to solve this problem because I've too many duplicate urls like this.

Thanks,

Niccolò
Thursday, 16 November 2017 17:44 UTC
wb_weeblr
Hi,

Not sure I understand fully, there seem to be 2 questions:

1 - For this case:


All is normal: you have duplicates, and sh404SEF manages them properly as you have only one "main" URL.

2 - However for this case, there is a problem:



This means your database has become corrupted. For unknown reasons, you have multiple URL that are all marked as "Main" URL. Simplest solution is to delete the extra URLs. In this example:


Select the first URL, #146, and delete it. Joomla will probably recreate it later, but that is fine, as sh404SEF will store it in the database properly.

Rgds

 
Friday, 17 November 2017 14:43 UTC
webmarektingteam
Hi,

Thanks for the support. In may cases your solutution works fine. I delete the one without tags and catid (like the #146 in the screenshot) and everything works fine. In other cases, if I delete the first one both records are deleted.

How can I avoid to delete both records?

Thanks,

Niccolò
Friday, 17 November 2017 14:46 UTC
webmarektingteam
An example of what I'm saying...

As you can see I delete the 342, but the 341 is deleted too. Why?

Thanks,

Niccolò
Friday, 17 November 2017 14:53 UTC
wb_weeblr
Hi

Your database is broken, and those URLs need to be removed. So deleting them is the right thing to do.

In other cases, if I delete the first one both records are deleted.
That is not a problem at all. They will be created again automatically.

Rgds
 
Friday, 17 November 2017 16:22 UTC
webmarektingteam
Your database is broken, and those URLs need to be removed. So deleting them is the right thing to do.


What do you mean with my database is broken? Other components and plugin doesn't have this problem.
Can I solve it? What could be the cause?

[quote]In other cases, if I delete the first one both records are deleted.
[/quote]

That is not a problem at all. They will be created again automatically.


The problem is that I've already optimized and changed that url.
So If I delete es/my-url-optimzed.html it will be recreated as es/url-not-optimized.html and I've to start again the optimization.
I'm working, right now, on a website with 13 languages on joomla, and most of them have around 300 pages. And all languages have something like 50/100 duplicate urls with 2 main url selected. If I delete all of them I will have to reoptimize hundreds of pages!

Thanks,

Niccolò
Friday, 17 November 2017 16:26 UTC
wb_weeblr
Hi

What do you mean with my database is broken?
Your URL database is broken, in that it has invalid records.

Can I solve it? What could be the cause?
things that happened in the past, URL customizations, bugs in Joomla and/or sh404SEF, hard to tell at this time, but it may have happened quite a long time ago.

So If I delete es/my-url-optimzed.html it will be recreated as es/url-not-optimized.html and I've to start again the optimization.
Deletion is only needed in one single case: when you have something like that:

This is not normal and denote URLs that are not properly recorded in the database. THey need to be deleted so that they are recreated.

Other situations where you have multiple duplicates for a single SEF is absolutely normal, nothing should be done about it, that's just how Joomla works.

Rgds

 
Saturday, 02 December 2017 05:34 UTC
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.