English 中文(简体)
URL博士基础和根本相对途径
原标题:Drupal base URL and root relative paths
  • 时间:2010-02-03 23:38:35
  •  标签:
  • drupal

我改变了我的博士学位:$base_url <>/code, 载于

http://www.example.com/subfolder

但是,根本的相对途径仍然指向于

http://www.example.com

and not to the correct "subfolder". Any idea what I m doing wrong?
I flushed cache, re-edited a couple links to make sure but they re still pointing to the root domain and not to the correct subfolder.

问题回答

Pathologic模块提供输入过滤器,以纠正由于配置的变化而不再正确的URLs。 此处摘自项目网页:

......一种输入过滤器,在本来会使其“突破性”的情况下,可以纠正您的电离层内容中的链接和图像途径;例如,如果网站的URL发生变化或内容转移到另一个服务器。 病理学还可以解决在贵国的RSS饲料中缺失图像和断裂链接的问题。 详见文件页。

病理学是一种简单的、固定的和针对植被的用途。 您无需进入任何特殊“标签、”道路,或将其他非接触性噪音输入到你的内容中,以激发工作方式;它找到能够自动管理其内容的道路。

界定你通过根本相关途径的含义。 如果你谈论与前线相连的话

http://www.example.com

页: 1

如果你谈论的话

<a href="/">Home</a>

联系

http://www.example.com

这与博士无关,但Pathologic @sutch提到模块可能有助于。





相关问题
Drupal Multi-language: Simple strings not translated

I m adding additional languages to a Drupal site that I m building. Getting the translation of content working is fairly easy using the Internationalisation module. Yet, simple things such as date ...

Setting up a WYSIWYG editor for Drupal site users [closed]

Looking through the Drupal contrib modules, and after a few Google searches, it becomes evident that there are any number of choices and combos available to set up a WYSIWYG editor in Drupal. I m ...

Change size of user/password login box

I don t know how to change the size of the login username/password boxes on the drupal site that I m trying to build. I m stumbling through the theming, and don t know where to find the file that ...

How does Drupal provide an edit/review/publish model?

How does Drupal support a means to update and review a website before it is published? Does it only allow you to preview a page at a time before you publish it or is there a way to create a site ...

Term for rotating header

I m looking for terminology that describes this behavior: The header of a web-page contains a different image every time you visit it. Update: It is not an advertisement, but images related to the ...

Has anyone checked out Drupal 7? [closed]

Has anyone checked out a copy of Drupal 7 yet? What do people think? I m pretty excited about the PDO and all of the designers I work with a very excited about the new admin interface/structure. Do ...

热门标签