question

earld avatar image
earld asked

Change URL from db id to page description

I have a recipe site with recipes in Sql Server db. The generated sitemap lists the recipes as Appetizers/ PageLinkDetails.aspx?RecipeId=225, for example instead of the recipe name, which should be / PageLinkDetails.aspx?RedTopperMeatloaf. Search engines will not index such a URL. As an admitted newbie, any suggestions on how to have the correct URL displayed?
url
1 comment
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Hi Earld, Is this a SQL question or a question about which ever language you're using for your application? I'm not sure what you're asking. Do you want to know how to [concatenate][1] strings to construct the URL for your application or how to alter your application to show the URL differently? [1]: http://msdn.microsoft.com/en-gb/library/hh231515(v=sql.110).aspx
1 Like 1 ·

0 Answers

·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.