Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/url/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 非商业Seo友好路线_C#_Url_Nopcommerce - Fatal编程技术网

C# 非商业Seo友好路线

C# 非商业Seo友好路线,c#,url,nopcommerce,C#,Url,Nopcommerce,我正在使用Nop Commerce。我的问题是关于GenericUrlRouteProvider。 如果可能,我有一个类似www.mysite.com\SeoFriendlyCountry\SeoFriendlyProduct的url 在GenericUrlRouteProvider类中,只有一个Sename。 我怎样才能有多个sename来生成我的友好url 我为我糟糕的英语写作道歉 谢谢 [致意]您不需要为国家/地区添加单独的SeName。根据我的工作,您只需要在生成产品url时嵌入国家名称

我正在使用Nop Commerce。我的问题是关于GenericUrlRouteProvider。 如果可能,我有一个类似www.mysite.com\SeoFriendlyCountry\SeoFriendlyProduct的url 在GenericUrlRouteProvider类中,只有一个Sename。 我怎样才能有多个sename来生成我的友好url

我为我糟糕的英语写作道歉

谢谢


[致意]

您不需要为国家/地区添加单独的SeName。根据我的工作,您只需要在生成产品url时嵌入国家名称,如:

<a href="uk/@(Url.RouteUrl("Product", new { SeName = "testpro" }))"

谢谢。但我想将url改为:www.mysite.com\iran\computers and laptop。