Vulnerability in EPiServer.Forms
We are in the process of developing our new website and we decided, based on our SEO firm’s recommendation, to use Simple URL’s throughout the entire website as our main URL’s. I am wondering if anyone in this community has had experience with using Simple URL’s as the main default URL’s for an entire website. We understand that the purpose of these URL’s was not intended to be used this way, but it seems that this is a better solution for us. With that said – we are using Canonical Tags to prevent Google from identifying Duplicate content, but we are also wondering if we should be 301ing the EpiServer default URL’s to the Simple URL’s as well.
It has been difficult to find a reference for this situation so we are reaching out to the community here for hopes of finding someone who has gone through this process and has any advice, thoughts, or comments.
Anything would be much appreciated. Thank you!
Could you please explain a bit more what simple url is in this case instead of using the url provider in episerver? Are you talking about the URL rewrire module from MS?
This post could be of interest if your are talking about simple adress in episerver.
As Eric has proposed a own version of the Rewrite module would be the way to go.
Here is a good example.
@Petter something went wrong with the link. I found the url in the title-tag :) I believe this is the link he was mentioning.
The copy paste sucks at the moment in this editor :)
By default EPiServer will generate outgoing links with it's "ordinary" Frienly URL, that is the hierarchical built one. It should however be possible to register a "outgoing only" route (no need to take kcare of incoming routing since that is handled by default routes) before the standard routes that generates the simple address as url.
Then the url in all menus etc would be the simle address.
In the route implementation of GetVirtualPath you should basically check for routevalues "node" and "language", and if they are present load the corresponding page and see if it has a simple address set and if so return it as VirtualPath.