English 中文(简体)
URL
原标题:URL rewrite redirect issue

我把所有URLs改写到下级,并做罚款。

RewriteCond %{REQUEST_URI} [A-Z]
RewriteRule (.*) $1 [CL,R=301]

但是,在哪些地方,身份证和身份证都用于此目的:

最初的“世界投资倡议”模式(增加空间以强调替换):

7f4320a7-9b13-4439-837f-ba0dbbed29ad %2C b3a990ae-b693-4496-b7cc-59f0b1c14a

当地人:

7f4320a7-9b13-4439-837f-ba0dbbed29ad , b3a990ae-b693-4496-b7cc-59f0b1c14a

开发服务器:

7f4320a7-9b13-4439-837f-ba0dbbed29ad %252c b3a990ae-b693-4496-b7cc-59f0b1c14a

我不理解为什么它有所不同,似乎0-x2C是 com的HEX,但我不知道它是如何和为什么改变的。

我使用<代码>!(每个使用URL的ID中的家长复读)作为临时解决办法,但我对错误的描述感到 cur惜,我可以使用一种无视 HEX值的条件。

最佳回答

早晨我需要添加[NE](noencode)至Rewrite(*) 1 [CL,NE,R=301]

%25 is a % , so characters were encoded twice.

问题回答

暂无回答




相关问题
Rewrite URL containing spaces

I have an url with the following format: domain/product.php?name=product a Now I need to rewrite this to: domain/product a (including the space in the word) like: http://www.directline-holidays.co.uk/...

mod re-write OS X 10.6

I have OS X 10.6 and am working on a website. When I look at the http.conf file in /private/etc/apache2/httpd.conf it appears that the mod-rewrite module is loaded yet when I add a simple .htaccess ...

Are these two re-writes the same?

How are the following different? Ignore the domain names. RewriteCond %{HTTP_HOST} ^www.example.com$ [NC] RewriteRule ^(.*)$ http://example.com/$1 [R=301,L] RewriteCond %{HTTP_HOST} !^www....

301 Redirect Help with Dynamic URL s and Multiple Id s

I just did a redesign for www.wildchildclothes.com which has a new URL structure. The old site ran on Zen Cart and had a bad URL structure. Here are some examples of what I want to redirect from: OLD:...

Rewrite to index.php best practices

I notice that there are a few common ways to setup RewriteRules for MVC based PHP applications. Most of which contain: RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f RewriteCond %{DOCUMENT_ROOT}...

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 ...

Mod Rewrite Optional Parameters

I have a fairly complex set of rewrite rules to give my site pages pretty URLs. Right now to deal with paging of search results I m using 2 rewrite rules: RewriteRule ^search/([0-9]+)$ /cgi-bin/...

热门标签