Developer forum

Forum » Templates » Customized URL's attribute?

Customized URL's attribute?

Nuno Aguiar
Reply

Hi,

 

What does Dynamicweb search for when rewriting URL's using the Customized URL's?

 

I've noticed that Dynamicweb is rewriting the URL's based on the customized URL's features, but that is done for <a href="">'s but not for <form action="">

 

We sometimes have to build a js object with URL's and since we want to handle customized URLs, cannot build the object diffectly from tags, but have the js read from the existing <a>.

 

Nuno


Replies

 
Nicolai Høeg Pedersen
Reply
This post has been marked as an answer

It only replaces a tags. If you set the checkbox in management center "ensure unique path", DW will 301 requests to Default.aspx?ID=## to the friendly part. And then you do not need to think of it.

 

Nicolai

Votes for this answer: 1
 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

>> DW will 301 requests to Default.aspx?ID=## to the friendly part.

 

But doesn't that break form posts? Or do you rewrite rather than redirect?

Imar

 

 
Nuno Aguiar
Reply

Hi Nicolai,

 

Thanks for the quick reply.

 

Nuno

 
Nicolai Høeg Pedersen
Reply

301 Redirect because of SEO, but not on posts.

 

You must be logged in to post in the forum