[英]Drupal incorrect node URL
My website is using Drupal. 我的网站正在使用Drupal。 On first page I have a list of entries and each entry has own URL.
在第一页上,我有一个条目列表,每个条目都有自己的URL。
In some cases, I can't understand when, my links looks like: 在某些情况下,我无法理解链接何时如下所示:
/node/1%2C157
Instead of: 代替:
/node/1157
In my view I found that my content is displayed by this line: 在我看来,我发现此行显示了我的内容:
<?php print render($page['content']); ?>
I need to understand where my content is generated and to fix this problem. 我需要了解我的内容在哪里生成并解决此问题。
Or maybe I can fix this problem from admin panel ? 或者,也许我可以从管理面板解决此问题?
( I'm using Pathauto and Path modules to rewrite URL's, on other content is working well but in some nodes I have this problem. I tried to regenerate, to remove and generate again but for this nodes nothing happened ). (我正在使用Pathauto和Path模块重写URL,在其他内容上运行良好,但是在某些节点中,我遇到了这个问题。我尝试重新生成,删除并再次生成,但是对于此节点,什么也没有发生)。
The %2C occurs in the url because of comma .Please see if you are creating any url with comma in it.This is possibly the cause of such url. 网址中出现%2C是因为逗号引起的,请查看您是否在其中创建任何带有逗号的网址,这可能是造成该网址的原因。
Here is the list of url encoded characters. 这是url编码字符的列表。
URL Encoded Characters URL编码字符
backspace %08
tab %09
linefeed %0A
creturn %0D
space %20
! %21
" %22
# %23
$ %24
% %25
& %26
' %27
( %28
) %29
* %2A
+ %2B
, %2C
- %2D
. %2E
/ %2F
0 %30
1 %31
2 %32
3 %33
4 %34
5 %35
6 %36
7 %37
8 %38
9 %39
: %3A
; %3B
< %3C
= %3D
> %3E
? %3F
@ %40
A %41
B %42
C %43
D %44
E %45
F %46
G %47
H %48
I %49
J %4A
K %4B
L %4C
M %4D
N %4E
O %4F
P %50
Q %51
R %52
S %53
T %54
U %55
V %56
W %57
X %58
Y %59
Z %5A
[ %5B
\ %5C
] %5D
^ %5E
_ %5F
` %60
a %61
b %62
c %63
d %64
e %65
f %66
g %67
h %68
i %69
j %6A
k %6B
l %6C
m %6D
n %6E
o %6F
p %70
q %71
r %72
s %73
t %74
u %75
v %76
w %77
x %78
y %79
z %7A
{ %7B
| %7C
} %7D
~ %7E
¢ %A2
£ %A3
¥ %A5
| %A6
§ %A7
« %AB
¬ %AC
¯ %AD
º %B0
± %B1
ª %B2
, %B4
µ %B5
» %BB
¼ %BC
½ %BD
¿ %BF
À %C0
Á %C1
 %C2
à %C3
Ä %C4
Å %C5
Æ %C6
Ç %C7
È %C8
É %C9
Ê %CA
Ë %CB
Ì %CC
Í %CD
Î %CE
Ï %CF
Ð %D0
Ñ %D1
Ò %D2
Ó %D3
Ô %D4
Õ %D5
Ö %D6
Ø %D8
Ù %D9
Ú %DA
Û %DB
Ü %DC
Ý %DD
Þ %DE
ß %DF
à %E0
á %E1
â %E2
ã %E3
ä %E4
å %E5
æ %E6
ç %E7
è %E8
é %E9
ê %EA
ë %EB
ì %EC
í %ED
î %EE
ï %EF
ð %F0
ñ %F1
ò %F2
ó %F3
ô %F4
õ %F5
ö %F6
÷ %F7
ø %F8
ù %F9
ú %FA
û %FB
ü %FC
ý %FD
þ %FE
ÿ %FF
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.