的Joomla 2.5

编程入门 行业动态 更新时间:2024-10-24 04:34:52
本文介绍了的Joomla 2.5 - 用的.htaccess或工具修改定制网址的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我刚刚完成一个网站,为高尔夫假期的数据库。现在的线索,我使用Joomla内部URL重写,产生短网址通常是伟大的,我喜欢它。左为SEO优化的唯一的事情是,如果我可以点一个单独的URL数据库中列出的每一个报价。网址为具体报价如下:

i've just finished a website with a database for golf-holidays. Now the clue is, i am using joomla internal url-rewrite to generate short urls which is generally great, i like it. The only thing left for SEO optimization would be, if i could point an individual URL to each offer listed in the database. A url to a specific offer looks like this :

www.mydomain/golfurlaub-mit-greenfee/angebote/urlaubsangebot.html?oid=128

urlaubsangebot.html将是细节部位,通过与参数OID的offerID,然后报价在我的数据库的ID。

"urlaubsangebot.html" would be the detail site, passed with the parameter "oid" for offerID and then the ID of the offer in my database.

这将有可能创建一个规则/使用的工具我会在哪里agle指定自定义URL,以每盘?例如:

Would it be possible to create a rule / use a tool where i would be agle to assign a custom URL to every offer? For example :

的newURL

www.mydomain/offers/spain/my-offer-name.html

OldURL

OldURL

www.mydomain/golfurlaub-mit-greenfee/angebote/urlaubsangebot.html?oid=128

我试着使用诸如SEF404和JoomSEF工具,但他们宁可打破了我的整个结构不是帮我申请这些URL。任何想法?

I tried using tools such as SEF404 and JoomSEF but they rather break my whole structure than help me apply these urls. Any ideas?

推荐答案

的Joomla 1.6+随重定向管理器(组件>重定向)。这正是为此而设计的(重定向旧网址到新的)。

Joomla 1.6+ is shipped with Redirect Manager (Components > Redirect). It's designed exactly for this purpose (redirecting old urls to new ones).

的Joomla 1.6将包括名为重定向一个新的组件和插件。   它的主要功能是提供记录404的机制找不到   错误,给网站所有者的重定向能力   另一个页面,如果需要的。

Joomla 1.6 will include a new component and plugin called Redirect. Its main function is to provide a mechanism to record 404 "not found" errors, and to give the Web site owner the ability to redirect those to another page if desired.

如果有链接到你的网站,导致404错误,这些应该已经被填充在列表中,当你打开管理器 - 你只需要添加新的URL到重定向到

If there are links to your site that result in error 404, these should be already populated in the list when you open the manager - you just have to add new urls to which to redirect to.

参考文献:

  • 链接重定向的的Joomla一preVIEW 1.6

更多推荐

的Joomla 2.5

本文发布于:2023-11-01 20:26:34,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1550327.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Joomla

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!