[SEO URLs] Set Page Rule 'without' eSpace name

[SEO URLs] Set Page Rule 'without' eSpace name

  

Dear Forum,


I have an eSpace called TestEspace. I've set a Site Rule with the domain example.com, so that when I access http://example.com/, it opens my TestEspace.


Aditionally, I'd like to have a SEO-friendly URL for the screen "Foo" that translates the following:

http://example.com/Foo.aspx?var1=123&var2=456&var3=789

Into:

http://example.com/Foo/123/456/789


I've added the following Page Rule:

eSpace: TestEspace

WebScreen: Foo

URL Pattern: /Foo/{Var1}/{Var2}/{Var3}


However, it only works when I have the eSpace name in the URL (e.g.: http://example.com/TestEspace/Foo/123/456/789). If I try to access it without the eSpace name (e.g.: http://example.com/Foo/123/456/789), IIS returns a 404 error.



Is it possible to create the SEO-friendly URL above without the need for the eSpace name?


Solution

Caio Santana wrote:

Dear Forum,


I have an eSpace called TestEspace. I've set a Site Rule with the domain example.com, so that when I access http://example.com/, it opens my TestEspace.


Aditionally, I'd like to have a SEO-friendly URL for the screen "Foo" that translates the following:

http://example.com/Foo.aspx?var1=123&var2=456&var3=789

Into:

http://example.com/Foo/123/456/789


I've added the following Page Rule:

eSpace: TestEspace

WebScreen: Foo

URL Pattern: /Foo/{Var1}/{Var2}/{Var3}


However, it only works when I have the eSpace name in the URL (e.g.: http://example.com/TestEspace/Foo/123/456/789). If I try to access it without the eSpace name (e.g.: http://example.com/Foo/123/456/789), IIS returns a 404 error.



Is it possible to create the SEO-friendly URL above without the need for the eSpace name?



It seems we had a problem with our servers yesterday that caused this issue. Now I can sucessfully access the SEO-friendly URL without the eSpace name (e.g.: http://example.com/Foo/123/456/789)


Solution