dqwcdqs358367 2015-01-09 00:26
浏览 28

Wordpress - 链接到.php文件

I made a link to a index.php page from a post but it doesn't seem to work. The "index.php" gets removed from the link and a page saying "That page can't be found." shows up instead. The page I'm linking to is in the right directory and the link is correct, but the page gets removed when the link is followed.

<a href="../cssexample/darkmetal/index.php" target="blank">
<img class="alignnone wp-image-63 size-medium" 
src="http://www.mjkrusing.com/wp-content/uploads/2015/01/design1-260x300.png" 
alt="CSS3 Page 1" width="260" height="300" /></a>

Why can't I link to the index.php? You can have a look at the page on http://www.mjkrusing.com/programming/css3-dark-metallic-theme/

The picture is the link

Edit: The link works fine in post preview, but the problem occurs when I publish the post.

  • 写回答

1条回答 默认 最新

  • dthtvk3666 2015-01-09 00:31
    关注

    What if you change the link to

    <a href="/cssexample/darkmetal/" target="blank">
    
    评论

报告相同问题?

悬赏问题

  • ¥15 无线电能传输系统MATLAB仿真问题
  • ¥50 如何用脚本实现输入法的热键设置
  • ¥20 我想使用一些网络协议或者部分协议也行,主要想实现类似于traceroute的一定步长内的路由拓扑功能
  • ¥30 深度学习,前后端连接
  • ¥15 孟德尔随机化结果不一致
  • ¥15 apm2.8飞控罗盘bad health,加速度计校准失败
  • ¥15 求解O-S方程的特征值问题给出边界层布拉休斯平行流的中性曲线
  • ¥15 谁有desed数据集呀
  • ¥20 手写数字识别运行c仿真时,程序报错错误代码sim211-100
  • ¥15 关于#hadoop#的问题