drupal 相对链接
drupal 相对链接
<a href="about/711"></a>
注意:about 前面不能加 / ,不然访问的是 htdocs 根目录
例:
<a href="about/711"></a>
http://177.177.177.121/ly06/about/contect-us
<a href="/about/711"></a>
http://177.177.177.121/about/contect-us
相对链接
<a href="#"><img alt="" src="/sites/default/files/1111.jpg" style="width: 1200px; height: 728px;">
Comments
Post a Comment