Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest sNews - sNews 1.7 - with its own forums - for discussion and user mods.

Author Topic: Permalink type url  (Read 1044 times)

jjones3535a

  • Newbie
  • *
  • Karma: 0
  • Posts: 4
Permalink type url
« on: February 27, 2008, 10:05:05 PM »

Is it possible to configure sNews have article urls like this:

/snews/2008/02/26/article-title

I'd like to move from wordpress to sNews, but I need a way to ensure my old urls will work with sNews.

Thanks.
Jim-
Logged

deathcrot

  • Newbie
  • *
  • Karma: 0
  • Posts: 1
Re: Permalink type url
« Reply #1 on: February 27, 2013, 08:29:11 AM »

i have same problem with u :( on this http://www.ngrambe.net now i using blogspot :( :'(
Logged

Keyrocks

  • Doug
  • ULTIMATE member
  • ******
  • Karma: 449
  • Posts: 6019
  • Semantically Challenged
    • snews.ca
Re: Permalink type url
« Reply #2 on: February 28, 2013, 06:18:48 AM »

More recent versions of WordPress do not generate URLs with dates in them anymore by default... instead they new use page IDs unless Permalinks is enabled.
WordPress URL Example - http://  mydomain.com/?page_id=19

Your site is generating links with dates as well as .html at the end of them. At any rate, it is not possible to do this with sNews. sNews generates search-engine-friendly URLs for better search engine optimization by adding the category and (if any) subcategory + the article or page title to the base URL ... without any file extention on the end.
« Last Edit: March 01, 2013, 07:03:29 PM by Keyrocks »
Logged
Do it now... later may not come.
-------------------------------------------------------------------------------------------------
sNews 1.6 MESU | sNews 1.6 MEMU

nukpana

  • Hero Member
  • *****
  • Karma: 71
  • Posts: 663
Re: Permalink type url
« Reply #3 on: March 01, 2013, 09:58:24 AM »

Quote
More recent versions of WordPress do not generate URLs with dates in them anymore... instead they new use page IDs.
@Doug, Can you provide a link to this? AFAIK, this only happens on an install by default, then if you want the link with the date in it, you set it:
http://codex.wordpress.org/Using_Permalinks

For sNews, links like this is possible - MDJ started that path here: http://www.mdj.us/snews-cms/hacks-mods/compact-archives-for-snews-17/
Example on Sven's site: http://on-air.hiseo.fr/archive/
Incorporating it, that is a different story.
Logged

Keyrocks

  • Doug
  • ULTIMATE member
  • ******
  • Karma: 449
  • Posts: 6019
  • Semantically Challenged
    • snews.ca
Re: Permalink type url
« Reply #4 on: March 01, 2013, 08:28:26 PM »

Quote
More recent versions of WordPress do not generate URLs with dates in them anymore... instead they new use page IDs.
@Doug, Can you provide a link to this? AFAIK, this only happens on an install by default, then if you want the link with the date in it, you set it:
http://codex.wordpress.org/Using_Permalinks

 :P Thanks for the reminder Jason, you're right. I haven't used day+name or month+name permalink settings. I've used the post-name setting which generates the URLs in the same format sNews uses - example: http://mydomainname.ca/sample-post/

For sNews, links like this is possible - MDJ started that path here: http://www.mdj.us/snews-cms/hacks-mods/compact-archives-for-snews-17/
Example on Sven's site: http://on-air.hiseo.fr/archive/
Incorporating it, that is a different story.

The URL links on MDJ's Archive page and Sven's Archive page don't have dates inserted between the root URL and the category/title ... they appear to be normal sNews links when I mouse over them.

I think the issue jjones3535a had in his lead post (Feb.27.08) is that he probably have a number of URL links in his WordPress page or blog content that use day+name permalink structure ... and they would not work as-is (he would need to manually edit them all) if he migrated his data to an sNews site.

Now... if jjones3535a had chosen the post-name permalink setting when he enabled it, then all of his links would have been generated like sNews links from the start and those he copied and pasted into content would have been that way as well. He could have gone back into his W-P Admin >> Settings >> Permalinks panel and changed the setting from day+name to post-name, but he still would have had to edit each link manually in blog post and page content to match after doing it.

With respect to deathcrot's Blogspot site, I don't know how it manages link structure. But, in his case, he would have to manually edit any links he had within blog post or page content as well in order to connect with sNews articles and pages if he migrated the existing data from his Blogpost to an sNews site.
« Last Edit: March 01, 2013, 08:43:25 PM by Keyrocks »
Logged
Do it now... later may not come.
-------------------------------------------------------------------------------------------------
sNews 1.6 MESU | sNews 1.6 MEMU

nukpana

  • Hero Member
  • *****
  • Karma: 71
  • Posts: 663
Re: Permalink type url
« Reply #5 on: March 01, 2013, 11:45:31 PM »

For sNews, links like this is possible - MDJ started that path here: http://www.mdj.us/snews-cms/hacks-mods/compact-archives-for-snews-17/
Example on Sven's site: http://on-air.hiseo.fr/archive/
Incorporating it, that is a different story.

The URL links on MDJ's Archive page and Sven's Archive page don't have dates inserted between the root URL and the category/title ... they appear to be normal sNews links when I mouse over them.
Right, the functionality does not work right now, but it is possible to make them work based on MDJs findings as noted.
Logged