Drupal URL别名和视图以及用于分类问题的清除URL [英] Drupal url alias and views and clear urls for taxonomy issues

查看:123
本文介绍了Drupal URL别名和视图以及用于分类问题的清除URL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用视图模块。我使用视图创建了块,并使用页面显示创建了URL。这是为了分类。因此,我的观点网址看起来像是新闻/科学,因此,如果有人单击链接,则应将其转到www.example.com/news/science。但是,我被带到链接断开的无样式页面。但是,当我尝试使用网址www.example.com?q=news/science时,我会进入带有正确数据的正确页面。
该问题仅涉及与分类法相关的条款。

I am using views module. I have created blocks using views and a url using page display. This is for taxonomy. So my views url looks like this "news/science" So if someone click on the link he should be taken to www.example.com/news/science. However i am taken to a unstyled page with broken links. But when i try to use the url www.example.com?q=news/science i am taken to a proper page with correct data. The issue is only with taxonomy related terms.

即所有网址www.example.com/news/technology,www.example.com/news/sports似乎都损坏且未设置样式,但是如果我手动访问www.example。 com?q = news / technology和www.example.com?q=news/sports我被带到适当的页面。

i.e all urls www.example.com/news/technology , www.example.com/news/sports appear broken and unstyled however if i manually visit www.example.com?q=news/technology and www.example.com?q=news/sports i am taken to a proper page.

有人可以建议原因是什么。

Can anyone suggest what could be the reason.

相同的问题与管理员登录和注销有关。如果我使用www.example.com?q=user并尝试登录,则可以登录。另外,如果我使用www.example.com?q=logout,则可以注销。但是,如果我使用干净的URL别名即。 www.example.com/logout,然后带我进入拒绝访问页面。

The same issues is with admin login and logout. If i use www.example.com?q=user and try to login i can login. Also if i use www.example.com?q=logout i can logout. But if i use clean url aliases ie. www.example.com/logout then i am taken to access denied page.

推荐答案

您是否更改了.htaccess中的内容?任何可能会跳过这些特定网址的mod-rewrite更改?

Have you changed anything in .htaccess? any mod-rewrite changes that might be skipping over those particular urls?

这篇关于Drupal URL别名和视图以及用于分类问题的清除URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆