Thread: 301/url help
View Single Post
  #8 (permalink)  
Old 04-12-2008, 08:18 AM
DaveJ|UK DaveJ|UK is offline
Junior Member
 
Join Date: Mar 2008
Location: UK
Posts: 85
DaveJ|UK is on a distinguished road
Default

I think you misunderstood what I meant. Perhaps I can explain better.

I'm not talking about the redirect to the new url format.

I know you have a function to generate the url's.

Before you display the content, you should check that the url requested is the same as the one you expected.

If the request is for:

/the-wrong-url-101.aspx

But your function tells you it should be:

/the-correct-url-101.aspx

then you should redirect to the correct one. If not, then display the page as normal.
Reply With Quote