change url of blog post

Kelly Shepard asked on September 11, 2015 00:11

The link structure for a blog post is /blog name/month/documentid.aspx

How do I change the link to be /blog name/month/blog title.aspx when saving a new blog post?

Thanks in advance!

Correct Answer

Dawid Jachnik answered on September 11, 2015 09:24

Hello Kelly,

Make sure you have correct settings of source fields in Page types > Blog post > Fields:

Image Text

2 votesVote for this answer Unmark Correct answer

Recent Answers


Brenden Kehren answered on September 11, 2015 03:51

Out of the box by default the URL should be /blog/month year/blog post name.

You might look to see if there is a customization made to your instance to do this. It would be in custom code in the file system.

0 votesVote for this answer Mark as a Correct answer

Kelly Shepard answered on September 11, 2015 04:19

That's odd. It has always been documentid.aspx. So, I would expect to find customization's in the App_Code folder correct? Or would it be in the cmsmodules/blogs folder?

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on September 11, 2015 14:19

Ahh yes Dawid I forgot about that, the Page name source field is what is used for the URL so ensure that is set at BlogPostTitle.

0 votesVote for this answer Mark as a Correct answer

Kelly Shepard answered on September 11, 2015 15:49

Ahhhh.....perfect! Thank you both for your time on helping me figure this out.

Kelly

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.