Behind the scenes of a server transfer.
In fact, the behavior of the plug-in that way, so multilingual URL, sub-folders (domain.com /??/) from sub-domain (??. Domain.com /) I tried to change to ... ... the result was defeat . What to do, speaking of the Mod_Rewrite is.
If you have a simple introduction for those not aware, "Mod_Rewrite" is, URL rewrite, the URL it looks like the plug-in that allows users to freely access the actual destination. Users are aware that the public is the first I think, we should have at気DZUKANU benefit. For example, https: / /打TAZU to the domain name by typing a URL, and automatically https: / / been taken to an encrypted page that starts with, and work to improve the convenience.
However it is difficult to use this. If GUGURE, explanations and examples are a lot, been too掴MI behavior when combined with another rule.
Various reference sites
Module mod_rewrite - URL Rewriting Engine
Reference mod_rewrite - dawgsdk.org
URL is the final destination, "http://catswhiskers.jp/ article URL? Lang = language" has been confirmed.
So first, if it was the language specified in the sub-domain, for example, "http://en.catswhiskers.jp/" a "http://catswhiskers.jp/lang=en" must be converted. That will change the domain part is the key here, so even if only a sub-domain is treated as a server to another point. That is not to [P] internal proxies option, it appears to change the URL is redirected. Therefore, you can set the following: OK, I should ...
RewriteCond% (HTTP_HOST) ^ (en | fr | de .. ... .. | ja)
RewriteRule (.*) http://catswhiskers.jp/ $ 1? Lang =% 1 [QSA,P]
Why this result is "404 Not Found." Unlike the normal and 404, have been shown to reduce the sentence only (XREA server). 躓KIMASHITA suddenly here. [P] try to remove the option appears to be redirected to the normal and without problems. Rewrite rules that is not wrong but I Mod_Proxy ... ... XREA server may not be valid?
Oh, the SOREMASU the subject, [QSA] Another option is to take over the other query (eg other? Id = 1 if the TSUITETA). RewriteRule query is not included in the decision. When using a CMS, and note HAMARI so often forgotten. If you want to match something in the query part of the way, RewriteCond% (QUERY_STRING) Please allow me to determine.
But I digress. I tried [P] around options, it did not. 404換WAっhow to write and think If you know what they say and try to log RewriteLog RewriteLogLevel and I've set up, XREA this option is not used very much in the way ... just try and imagine that in , gave up as soon as we have been approaching the limits of spiritual loose.
Well, not so lightly in the end I said, I have to convert to the specified query language is not a subfolder. Than the setting.
RewriteCond% (REQUEST_URI) ^ / (en | fr | de .. ... .. | ja)
RewriteRule ^ [-a-zA-Z] +/(.*) / index.php / $ 1? Lang =% 1 [QSA,L]
The URL for this site-specific, / blog / under the category name / date / name of article. Html is a structure. And in fact the category name is to be displayed properly even without any. This is a change in the name of the category in the future, because the old URL to access the article. To achieve this, the entity has no name of the category (I know and see the image) and insert the name of the category links in the plugin, and internal processing. Rewrite rules for the ... ...
RewriteCond% (REQUEST_URI) ^ / (en | fr | de .. ... .. | ja) / blog / [^/] + / ( [0-9_] +/.*)$
RewriteRule (.*) / index.php / blog /% 2? Lang =% 1 [QSA,L]
This (above) and this (below).
RewriteCond% (REQUEST_URI) ^ / blog / [^/] + / ( [0-9_] +/.*)$
RewriteRule (.*) / inde.php / blog /% 1 [QSA,L]
Then continue further, Word Press standard rules (below) will be.
RewriteCond% (REQUEST_FILENAME)!-F
RewriteCond% (REQUEST_FILENAME)!-D
RewriteRule. / Index.php [QSA,L]
I have quite a lot of confusion. Yeah, I'm confused (laughs). It is because of a lack of understanding I'm probably well渡SENAI rewrite the URL is the following rule. Originally, the "rewriting of the language specified" -> "rewrite the name of the category"渡SERE in order, I write more neatly. Eventually,
- Specified in the language and enter the URL Category Name
- In the language specified, and not the name of the category URL
- Any language, and enter the URL Category Name
- Any language, and not the name of the category URL
4 is a write up in separate rules of the road. To pursue the cause, RewriteLog may have only been tested up to get the test server. Enter a URL rewrite rule, and as a result there are long for a Web tool. .
Incidentally, WordPress "(.*)" rule rather than the standard RewriteRule "." I have done, personally, is very strange. This is "/ test.html" character is converted only the first access to "/ index.phpest.html" (RewriteRule the first / is not included in the decision) I have a feeling that ... ... I have seen this and actually look at the article, but it's not wrong.
This is the tentative completion by the end but very much the directory /終ENAI in the URL so that they reached on an error in the destination file is not accessible (with no extension), and finally / if to compensate for the or. ... Likely to have a certain impact on the rewrite.
The next step is to talk about specific XREA, PHP colors are many people working in safe mode or there is something to work with, CGI forms, called PHP mode is to move the fixture. It. Htaccess to "AddHandler application / x-httpd-phpcgi. Php" You have been described.
That, WordPress is a when a suspicious move. When used in combination with Mod_Rewrite, CGI PHP mode is losing out NARURASHIKU PathInfo information, articles by the URL format is individual articles見RENAKU (fiscal). After all, we are back in safe mode operation. To view the article is fine, or failed to upgrade automatically. Other limitations of PHP: Safe Mode - Manual Please help.
Oh, yeah. 直SHIMASHITA incidentally also get an error after the post comments (and perhaps finally ...). Because of the URL or form post, after post http:// ~ / / ~ a slash and are skipped over so that it addresses, including one in a row, I made a plug-in you just rewrite it ( wry smile all the way ...). If you know someone who is more fundamental Shina Tadashi Please m (_ _) m