0

The friendly URLs are stored in the database for all the pages where they are used, but how would I define a friendly URL for this page:

http://www.vintage-adventures.com/en/modules/faq/faqs.php

so that it serves as (and links TO it look like) this:

http://www.vintage-adventures.com/en/modules/faq/faqs

Unlike all the other PS core pages, I don't know where the link_rewrite value would STORED and ACCESSED by PS so that this page/link behaves just like all the other friendly URL pages/links. I realize that AFTER it is defined in the database, then I would make a rewrite rule entry in .htaccess so that browsers will fetch the actual content from the non-friendly address. I need to get it DEFINED first, though.

4

3 回答 3

0

通过使用以下代码在根目录中创建一个名为 faq.php 的文件来解决:

<?php
include(dirname(__FILE__).'/modules/faq/faqs.php');

然后 SEO 和 URL 选项卡应该在根目录中选择 faq.php,它可以被赋予一个友好的 URL。

一旦分配一个友好的 URL 重新生成一个“.htaccess”

于 2012-09-06T11:50:36.927 回答
0

如果我没记错的话,通常它在“工具”>“CMS”部分中有元标记和 URL……

于 2011-05-27T06:48:46.510 回答
0

在 prestashop 1.4 中,您可以在 Preferences > SEO & URLs in admin 下进行设置。

于 2011-06-23T15:05:27.813 回答