我有一个问题,谷歌已经使用错误的网址索引了一些网页.
他们索引的网址是:
http://www.example.com/index.php/section1/section2
Run Code Online (Sandbox Code Playgroud)
我需要它重定向到:
http://www.example.com/section1/section2
Run Code Online (Sandbox Code Playgroud)
.htaccess不是我的强项,所以任何帮助都会非常感激.
提前致谢.
我似乎无法显示我的子菜单.
我去过:首页»管理»结构»菜单
然后,我编辑了父菜单,并选中了"显示为扩展"的复选框 - 但仍然没有.
我所指的导航的page.tpl.php页面上的代码如下:
<?php
if ($page['navigation'] || $main_menu):
?>
<?php
print theme('links__system_main_menu', array(
'links' => $main_menu,
'attributes' => array(
'id' => 'nav',
'class' => array('links', 'clearfix'),
),
'heading' => array(
'text' => t('Main menu'),
'level' => 'h2',
'class' => array('element-invisible'),
),
));
?>
<?php
print render($page['navigation']);
?>
<?php
endif;
?>
Run Code Online (Sandbox Code Playgroud)
我究竟做错了什么?
任何帮助将不胜感激.