English 中文(简体)
在建立多网站时,多语言压力站点的“URL”模式是什么?
原标题:What is Full URL pattern for WordPress Sites when Multisite is setup?

多网站的言语是怎样的。 是否有这样的概念? 我指的是这种模式的全部折合物:

  • .http://www.website.com/blog_1/lang/post_222/
  • .http://www.website.com/blog_2/lang/post_333/
  • .http://www.website.com/blog_3/lang/post_444/

这些加工或转化成类似的东西吗? 我假定,他们是我问这个问题的。

  • .http://www.website.com/index.php?param=/blog_1/lang/post_222/
  • .http://www.website.com/index.php?param=/blog_2/lang/post_333/
  • .http://www.website.com/index.php?param=/blog_3/lang/post_444/

www.un.org/Depts/DGACM/index_spanish.htm 一些背景:

I m将需要它使用NGI Submission,包括分站名称进行URL重写(博客1,博客2,博客3)。 与此类似:

http://www.website.com/de/news/post_444/ -> Backend URL:http://www.website.com/blog_news/de/post_444/

我能够把URL调往NGI Submission,但为了获得“新”URL的结果,我也可以做以下工作:

  1. proxy_pass. But this is going to trigger a separate request, buffer it in the NGINX machine and serve it back as the response to the original request.
  2. Pass the blog name and parameters to a WordPress index file e.g. /index.php?param=/blog_name/etc/.

谨请您提供任何帮助或任何建议。

非常感谢!

最佳回答

我认识到,我所问的是,并不是创建者所揭示的,因为它可能带来安全风险。 由于新版本的WP可能改变做法等原因,它也可能是不理想的。

关于我的案件,我简化了URL模式。 我删除了URLs的一部分/兰/部分,并重新命名了Word Press blogs,以尽量减少重写。 这一解决办法要求我把旧模式改用301条,以免影响地球观测组织的排名。

现在我只保留英文内容,这样现在就能够找到一个很好的解决办法。 但是,最后,在我需要满足翻译内容时,我需要更加灵活。

问题回答

暂无回答




相关问题
URL rewrite in IIS6 - Third party tools

I have collected the following api/sdk/whatever which provide modules for doing url rewriting in IIS 5/6/7. Some are free-open source and some require $. I haven t tried any of them. I would like to ...

Rewrite spring-security redirect URLs

I m trying to get Tuckey UrlRewriteFilter to tidy up URLs for my webapp. One problem I ve got is that when spring-security notices that an anonymous user is trying to access a protected resource it ...

ASP.NET Friendly URLs

In my research, I found 2 ways to do them. Both required modifications to the Application_BeginRequest procedure in the Global.Asax, where you would run your code to do the actual URL mapping (mine ...

Could I get by HttpModule the URL that contains * before?

My web-site is working under ASP.NET 3.5, IIS7, Integrated pipiline mode. My HttpModule is getting request to all resources, including URLs like this: http://my-site.com/address And I would support *...

Domains & Foreward Slash

This is rather difficult to explain so please bear with me. We will be hosting 4 websites on our server and the plan is to have each site sit under its own domain: site-a.com site-b.com sub1.site-b....

URL Mod-Rewrite

I currently have a working URL: http://example.com/security-services.php?service=fixed-camera-surveillance and then I have PHP say, $_REQUEST[ service ] to do some stuff... But I d like to ...

热门标签