Neil

This is for the edge version of Radiant but you could look back to
previous versions to get slightly different code
Take a look at how archive does this
https://github.com/radiant/radiant-archive-extension/blob/master/app/models/archive_page.rb#L27-52

You can make your own extension which overrides those methods to
behave the way you want.

On Thu, Dec 9, 2010 at 11:29 AM, Stan Rawrysz <smoo...@gmail.com> wrote:
> My advice may have been too quick and inaccurate. After reading over
> your original question, it might be touch to "add" a day part to your
> original WP urls to make them point to the new urls. Unfortunately, I
> haven't had much experience with the blog extension to give you a
> better answer.
>
> Stan
>
> On Thu, Dec 9, 2010 at 8:20 AM, Stan Rawrysz <smoo...@gmail.com> wrote:
>> One easy way would be to setup a rewriteRule in your .htaccess.
>>
>> On Dec 9, 2010, at 3:38 AM, Neil <neil.middle...@gmail.com> wrote:
>>
>>> I'm currently mid trying to get our long standing wordpress blog into
>>> Radiant and am using the simple blog archive system to get the content
>>> in.
>>> However, I have one issue whereby I need the old Wordpress URL's to be
>>> easily repointable/rewritable to the new ones.
>>>
>>> Wordpress URLs take the form:  /year/month/post-slug
>>> Radiant wants to do: /blog/year/month/day/post-slug
>>>
>>> The /blog part I can deal with, but the day is causing me issues.  Is
>>> there any way I can get Radiant to work without the day part in the
>>> route?
>>
>



-- 
Jim Gay
Saturn Flyer LLC
http://www.saturnflyer.com
571-403-0338

Reply via email to