November Happy Hour will be moved to Thursday December 5th.

Custom Url Routing Epi 7.5

Vote:
 

Hi all

I am in the process of moving an existing blog site into EPiServer but having a few difficulties with the Url routing.

The existing blog site has its urls like this - blog.com/year/month/name-of-post

However I have set up the nodes in EPiServer in a slightly different structure as seen below -

Blog

So by default the url is - blog.com/dates/year/month/blog-post-name

So my question is this; is there an easy way to remove 'dates' from the url?

I've checked out a guide which can be found here http://joelabrahamsson.com/custom-routing-for-episerver-content/ but this method removes all the nodes from the url and the way I've done it feels rather hacky and would be rather resource intensive. So any alternatives to this method would be great, if however this is the only way I can paste in what I've written so far as I'm pretty certain it's not the best way to do this!

Thanks for your time!

#118601
Mar 10, 2015 16:51
Vote:
 

Hi Joe,

I have the same question so I thought comment on here instead of starting a new thread.

Did you manage to find a solution for this? Anyone else did?

I basically need to get rid of the parent page's name in the URL.

Help would be very much appreciated!

Thanks,

Nicola

#123475
Jul 07, 2015 8:37
Vote:
 

Hi,

Hi think that partial routers is a proper solution in that case. 

The blog mentioned by Joe: http://joelabrahamsson.com/custom-routing-for-episerver-content/ is a good starting point.

#123476
Jul 07, 2015 9:04
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.