• Home
  • Get help
  • Ask a question
Last post 15 hours 33 min ago
Posts last week 141
Average response time last week 4 hours 42 min
All time posts 67805
All time tickets 10478
All time avg. posts per day 21

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.

#7236 – Clean sh404SEF URLs cache.

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.
Monday, 08 June 2020 11:58 UTC
MartinT
 Hi Yannick,

I've had problems with new URL creations via K2 (https://weeblr.com/helpdesk/sh404sef/7212-removing-first-categori)

Joomlaworks (K2) tells me to Clean sh404SEF URL cache.
Is that safe to do? Wont that delete all my SEF?
And if it is ok to do, where do I do it? Is it the button PURGE under SEF URLs?

Sincerely,
Martin
Monday, 08 June 2020 12:45 UTC
wb_weeblr
Hi

And if it is ok to do, where do I do it? Is it the button PURGE under SEF URLs?
Yes.

Joomlaworks (K2) tells me to Clean sh404SEF URL cache.

Is that safe to do? Wont that delete all my SEF?
It will. I think that's the point. Deleting URLs is required so that they can be rebuilt with a new format, for instance if they fixed something in their plugin, or told you to change some settings.

Until a SEF/non-SEF URL pair is deleted from the database (ie the SEF URL manager), it will be used even if you change some settings related to URL structure configuration.

Things to consider:

- you probably want to only delete the K2 URLs. Using the Purge button will delete ALL URLs. If 90% of your URLs are from K2, then use Purge. If the number of K2 URLs is limited, you can ask the SEF URL manager to only show K2 URLs and delete them using the "Delete with dupl." in the tool bar.
- when you delete one or all URLs from the database, sh404SEF starts rebuilding them when Joomla asks it to to do so. For instance, after Purgin all URLs, if you load your home page in your browser, all the URLs in links on your home page will be recreated and available again. If you click on one link on that home page, you'll go to another page and again, all the URLs found on that second page will be created in one go.
So all URLs are basically rebuilt as you navigate your site.
- Until a URL is in the database, requesting it will generate a 404, except for your home page

Best regards

Yannick Gaultier
weeblr.com
@weeblr
 
Monday, 08 June 2020 14:10 UTC
MartinT

Okay, I purged the cache, and went through all my links, to rebuild the urls.
But there is some pages, that still wont be shown. EG. xxxx.dk/gravid-uge-for-uge.
If you look at the frontpage and click "GRAVIDITETSKALENDER" it just wont open the right page, what can I do to get that page to open again?


I can see, that several of my pages (Not only newly created articles) are missing the categories (If you look at some of the articles' links on the frontpage), so my site is really messed up, regarding my organic links from google.
But I found out, that if I disable the sh404SEF K2 plugin, the urls are created as they should. And when disabling that plugin, I can delete the SEF that are wrong (Missing category) in sh4040SEF, and then they are created as they should afterwards. Is sh404SEF K2 necessary to make the sites works with K2 and sh404SEF?


Sincerely,
Martin

Monday, 08 June 2020 14:23 UTC
wb_weeblr
Hi

If you look at the frontpage and click "GRAVIDITETSKALENDER" it just wont open the right page, what can I do to get that page to open again?
So first it seems you have enabled the "Try to auto-redirect 404 URLs" feature. Disable it . This 1/ Is a bad experience for your users and b/ Does not work as you see by just clicking on that link, /gravid-uge-for-uge as you are redirected to the URL /348 which obviously does not exist.

Then what I see on the site right now is that the URL in that menu item is: gravid-uge-for-uge

1 - Do you have that URL in the SEF URL manager?
2 - If yes, what's the no-SEF associated with it?
3 - If No, what is the menu type for that menu item? maybe it's a "URL" menu type instead of a regular menu item?
4 - If I scroll down the page to the footer, I see another similar link with the same anchor, "GRAVIDITETSKALENDER" but this time the URL for that link is graviditetskalender-uge-for-uge

So again, same 3 questions for that URL.

I really cannot do much debugging as long as you have that 404 auto-redirect enabled anyway.

I can see, that several of my pages (Not only newly created articles) are missing the categories
K2 or regular content? if K2? then you'll need to talk to K2 about their plugin. I have see that plugin working for many years, so if it's correctly configured I don't think it'll do anything wrong. That it does not create the URLs you want is possible but at least it should create URLS in accordance with its settings. If you told it to include categories in K2 URLs, it should do that.

Is sh404SEF K2 necessary to make the sites works with K2 and sh404SEF?
That's purely internal to K2. But I would say yes. I cannot judge what I see as I don't know if it's currently enabled.

Best regards

Yannick Gaultier
weeblr.com
@weeblr

 
Monday, 08 June 2020 16:28 UTC
MartinT
So first it seems you have enabled the "Try to auto-redirect 404 URLs" feature. Disable it

 


It was disabled, but I found out, that I had gravid-uge-for-uge as an alias, so I deleted it, and now it works :)


Furthermore, I had "404 error handling" set to "Override Joomla! 404 error page", I changed it to "Only for sh404SEF pages", dont know if that was a problem.

 

 

K2 or regular content?

 


If have only K2 content.

 

That's purely internal to K2. But I would say yes. I cannot judge what I see as I don't know if it's currently enabled.


It was enabled. I have it enabled all the time, except when I was testing. And it seems, when I want to create a new article, and I want the url to be "xxxx.dk/category/item, I need to disble "sh404SEF K2" for it, to be created the right way, and then I can enable the plugin again, without it changin the URL. It is so wierd.
But thanks, I dont think you can do anymore, have to contact Joomla works again.


Thx for your help,


Sincerely,
Martin

Monday, 08 June 2020 17:29 UTC
wb_weeblr
Hi

Furthermore, I had "404 error handling" set to "Override Joomla! 404 error page", I changed it to "Only for sh404SEF pages", dont know if that was a problem.

Override Joomla.... is the preferred and default setting.

I need to disble "sh404SEF K2" for it, to be created the right way, and then I can enable the plugin again, without it changin the URL. It is so wierd.
Yes, there's more to it. The role of the plugin is exactly that, creating the proper URL. Indeed, we'll have to wait to hear from K2 there.

Best regards

Yannick Gaultier
weeblr.com
@weeblr
 
Tuesday, 09 June 2020 19:22 UTC
MartinT
For info:

I had activated "Advanced SEF" URLs in K2. That wouldnt work when having sh404SEF installed, along with the sh404SEF K2 plugin

Now it works.
Thanks for the great support here :D

Sincerely,
Martin

Wednesday, 10 June 2020 09:10 UTC
wb_weeblr
Hi

Ah, good to learn. I was not aware of any such options. As they provide the plugin, they should probably make that a bit more obivous.

Glad it's sorted out anyway, Closing this ticket now, feel free to open a new one as needed. If you do so, please mention this ticket number in the new one.

If you created any superadmin account for us, be sure to delete or block it now to avoid unnecessary risk in the future.

And please feel free to post a review on the JED,it helps and we appreciate it!

Best regards

Yannick Gaultier
weeblr.com
@weeblr
 
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.