• Home
  • Get help
  • Ask a question
Last post 5 hours 41 min ago
Posts last week 94
Average response time last week 34 min
All time posts 67911
All time tickets 10496
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.

#1435 – Stopping automatic generation & duplication

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.
Tuesday, 24 November 2015 18:53 UTC
Memphismark
Hello,

I am using your program to do a specific hierarchy for my website.

I let it generate all of its redirects, then edited the SEF URLto what I wanted it to be.

The bad news is, sh404SEF "goes behind me" and reinsitutes the SEF URLs I don't want.

Example:

There is a SEF URL "lf/programs" which I rename to "programs". I delete every reference (and multiple copies) of "lf/programs". As soon as there is a visit on that page, sh404SEF rebuilds and uses "lf/programs" instead of "programs".

How do I get this to stop?? Is there a way I can stop automatic production of SEF URLs? Or have those I delete stay deleted?

Thanks.
 
Wednesday, 25 November 2015 08:23 UTC
wb_weeblr
Hi

The bad news is, sh404SEF "goes behind me" and reinsitutes the SEF URLs I don't want.
sh404SEF never, ever create any URL. It only transforms non-sef URL submitted to it by Joomla or other extensions into SEF URLs.

There is a SEF URL "lf/programs" which I rename to "programs". I delete every reference (and multiple copies) of "lf/programs". As soon as there is a visit on that page, sh404SEF rebuilds and uses "lf/programs" instead of "programs".

The non-sef URL are there. They are created by Joomla and extensions, usually with wrong or missing Itemid or multiple variations.
How do I get this to stop?? Is there a way I can stop automatic production of SEF URLs? Or have those I delete stay deleted?
You can't, those non-sef URLs are on your site. You have to deal with them, either rename them all, or adjust the settings in sh404SEF to create URLS that are closer to what you want to achieve (is this Joomla content?)

Rgds
 
Wednesday, 25 November 2015 14:53 UTC
Memphismark
Perhaps I'm not being clear.

SEF URL, generated by sh404SEF:table/lf/history/

Joomla URL:index.php?option=com_content&Itemid=333&id=32&lang=en&layout=theme2096%3Acategory&view=category

I go into the above entry and rename the SEF URL "table/lf/history/" to "history".

The next time I visit the history page, sh404SEF creates a new "table/lf/history/" with either the same URL or slightly different (see example below) and uses it instead of the one I want it to.

SEF URL #1: events/golf-tournament
Joomla URL #1: index.php?option=com_content&Itemid=101&catid=36&id=137&lang=en&view=article

SEF URL #2: events/golf-tournament
Joomla URL #2: index.php?option=com_content&Itemid=286&catid=36&id=137&lang=en&view=article

How do I prevent sh404sef from regenerating and using the SEF URLs over the ones I want to use?
 
Wednesday, 25 November 2015 15:20 UTC
wb_weeblr
Hi

I think I have not been clear ;)

The next time I visit the history page, sh404SEF creates a new "table/lf/history/" with either the same URL or slightly different (see example below) and uses it instead of the one I want it to.
sh404SEF NEVER CREATE ANY URL. NEVER.

Joomla and your extensions create non-sef URLs. Then Joomla asks sh404SEF to provide it with the corresponding SEF URL.

SEF URL #1: events/golf-tournament

Joomla URL #1: index.php?option=com_content&Itemid=101&catid=36&id=137&lang=en&view=article



SEF URL #2: events/golf-tournament

Joomla URL #2: index.php?option=com_content&Itemid=286&catid=36&id=137&lang=en&view=article
This is exactly what I'm saying: Joomla has created 2 non-sef URLs for the same content (article with id = 137). This is called duplicate content (multiple URL for the same content) and sh404SEF protects you from that by always creating the same SEF URL, the ones the outside world can see, including search engines.

In that particular example, for instance, this is happening because the same content is linked once from the home page menu item (Itemid=101) and from another menu item (Itemid=286).

Rgds

 
Wednesday, 25 November 2015 15:45 UTC
Memphismark
I understand sh404SEF does not create the Joomla URLS. It creates a SEF URL and redirects the Joomla URL to the SEF URL.

I don't have a problem with sh404SEF using the same SEF URL for two different Joomla URLs that link to the same item.

I have a problem with sh404SEF making a second redirect for the same Joomla URL after I change its original entry for SEF URL redirection.

I will try and figure this out.
 
Wednesday, 25 November 2015 17:30 UTC
wb_weeblr
Hi

and redirects the Joomla URL to the SEF URL.
sh404SEF does not do any redirects. That's not how it works. This is all internal to Joomla, on the server, in PHP.

I have a problem with sh404SEF making a second redirect for the same Joomla URL after I change its original entry for SEF URL redirection.
That's not what's happening. It's the opposite. sh404SEF is doing only one visible URL while Joomla is creating 2 URLs.

Now if you manually customize one of these SEF/NON-SEF pairs (this is what we really are managing, pairs of internal/external URLs), then we cannot apply automatically your change to the other pair, because we don't know if this is what you want. Mos times actually, customizing a URL is used exactly for that, segregating 2 non-sef urls that sh404SEF turned into one.

Rgds
 
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.