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

#758 – Better date formatting for SEF URLS

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.
Wednesday, 29 July 2015 15:46 UTC
conshelf
 Hello,

I was wondering if you could assist or maybe even make this a part of your next release. I found this article that shows you how to modify Sh404sef to have cleaner date based URLS.

When I look into the existing code (which i really don't understand, not a javascript coder) it's no longer the same since the article is based on an older version.

Here's the article:
http://www.xxxx.com/blog/xxxx.html

I'm trying to get the urls to look like the attached image.

Thank you,
john
Wednesday, 29 July 2015 17:14 UTC
wb_dimitris
Hi John,

I will pass this request to Yannick.

Regards
Thursday, 30 July 2015 12:15 UTC
wb_weeblr
Hi

Having dates in URLS is usually not a very good idea, especially if using the format you show on your screenshot.
Can I ask why you'd want to to that? compatibility with older URLs?

Rgds
 
Thursday, 30 July 2015 12:43 UTC
conshelf
Actually, I agree with you.

I'm just going to remove the dates from the URL, how can I turn that off in Sh404sef?

Thursday, 30 July 2015 15:28 UTC
wb_weeblr
Hi

Well, sh404SEF doesn't have an capability to insert dates in URLs (though we'll be adding that soon, exactly for backward compatibilty reasons: people moving from wordpress or from blogging extensions to Joomla native content), so I'm guessing that by "date" you mean "Unique ID".

This setting is found under Extensions tab of configuration, then Joomla. You'll need to set it to No, then purge URLs so that new ones are recreated.

"Unique ID" is not meant to be a date in URL. It's a unique ID, based on date, but longer than that, and it's a requirement for content to be used by such services as Google news.
(the typical date format "/YYYY/MM/DD" in a URL is NOT suitable for Google news).

Rgds
 
Thursday, 30 July 2015 15:55 UTC
conshelf
Oh, so if I keep that unique ID that will give me a better ranking with Google News?
Thursday, 30 July 2015 15:57 UTC
wb_weeblr
Hi

No, it's nothing to do with ranking. Google news is a service by google. You can submit some content to it, and google will display it as "News". One of the conditions to be considered news is that it has a unique numeric id in the URLs. If you don't have that in the URLs, then your content will be rejected.

Rgds
 
Thursday, 30 July 2015 16:02 UTC
conshelf
yeah, i was just reading their guidelines. We pretty much serve aggregated content so, we wouldn't fit in there. May be a good idea to keep that url id though just in case things change though. thank you
Thursday, 30 July 2015 18:00 UTC
wb_weeblr
Hi

Up to you, but it's not a good URL structure really (keywords are pushed towards the end of the URL, and this number doesn't add any semantic), so you should think twice before enabling it.

Rgds
 
Thursday, 30 July 2015 18:11 UTC
conshelf
True, I agree. I disabled it. Keyword ranking is of more value to me anyway. Thank you for the help.
Thursday, 30 July 2015 18:14 UTC
wb_weeblr
Hi

Glad to hear that. Actually, we will have in next release ( a few weeks from now, probably september) the option to prepend date in URL (/YYYY/MM/DD) but that's really designed as a backward compatibilty feature (mostly for wordpress or blogging users moving to Joomla com_content), so I'm still totally not advising to use it outside of that scope.

Rgds
 
Thursday, 30 July 2015 18:23 UTC
conshelf
That's cool. It's also awesome to hear people switching from Wordpress to Joomla :)
Friday, 31 July 2015 09:20 UTC
wb_weeblr
Hi

For bloggers, yes. Most WP sites are just regular sites and don't use dates in URLs 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.


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.