如何生成和维护大量的登陆页面?

发布于 2024-07-27 13:22:51 字数 355 浏览 4 评论 0原文

目前,我必须考虑一个解决方案,为会员制电子商务网站生成和维护大量静态登陆页面(例如,我们销售产品 X、Y 和 Z,但只向我们的会员销售,并且我们想要制作一个(SEO-友好)每个产品的登陆页面)。 每个页面的内容和元数据几乎都是唯一的,但它们几乎总是具有相同的设计/模板。

短期内最简单的方法是用 PHP 手动编写所有内容,但数量过多会使维护它们变得非常麻烦; 此外,营销部门的一些人可能想要生成和管理自己的登陆页面,但他们都不精通技术(甚至不熟悉基本的 html 标签)。 因此,我正在考虑使用 Wordpress 并根据我的目的对其进行修改。

这是一个好主意吗? 是否有更适合此任务的 CMS? 你能给我推荐一个更好的方法吗?

Currently I have to think of a solution for generating and maintaining lots of static landing pages for a membership-only e-commerce site (e.g. we sell products X, Y and Z but only to our members and we want to make a (SEO-friendly) landing pages for each product). Each page would be almost unique in content and the meta data but they would have almost always the same design / template.

The easiest approach short-term would be to code everything by hand in PHP, but the quantity would make it really cumbersome to maintain them; furthermore, it is possible that some people from the marketing department would like to generate and administer their own landing pages, none of them are tech-versed (not even basic html-tags). Therefore, I was thinking of using Wordpress and modifying it for my purposes.

Is this a good idea?
Is there a CMS better suited for this task?
Could you recommend me a better approach?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

梦毁影碎の 2024-08-03 13:22:51

我不会推荐将 WordPress 用于电子商务网站,因为它主要设计为博客,因此不太容易适应。

您可能想看看 OScommerce,或其他开源电子商务 CMS。 这些可能最适合您的需求,特别是如果您希望实际接受在线付款。

I would not recommend wordpress for an e-commerce site, as it designed primarily to be a blog and therefore would not be particularly easy to adapt.

You may want to look at OScommerce, or another open source e-commerce CMS. These would probably best suit your needs, especially if you wish to actually accept payment online.

凉城凉梦凉人心 2024-08-03 13:22:51

PHP 是维护您正在尝试做的事情的好方法。 本质上你说只有内容会改变。 使用 PHP,您可以简单地包含所有模板以便一遍又一遍地重复使用,然后您只需要处理内容本身,如果您知道如何使用 Server-Side-Includes,则可以通过以下方式完成就像交换包含您的内容的 .txt 文件一样简单。

PHP is a GREAT way to maintain what you are trying to do. Essentially you said only the content will change. With PHP, you can simply include all of the templates for re-use over and over again, and then you only need to deal with the content itself, which, if you know how to use Server-Side-Includes, can be done by as easily as swapping .txt files that contain your content.

蓝天白云 2024-08-03 13:22:51

观看此视频教程http: //carsonified.com/blog/design/how-to-design-a-portfolio-site-part-2/,这并不完全相同,但看看他如何使用Wordpress“海关字段”。

基本上,您创建一个模板登录页面,其中包含随每个页面更改的部分(标题、产品名称等)的占位符变量,然后在帖子页面上您可以添加将填充该信息的自定义字段。

Take a look at this video tutorial http://carsonified.com/blog/design/how-to-design-a-portfolio-site-part-2/, it is not exactly the same thing but look how he uses Wordpress 'customs fields'.

Basically, you create a template landing page with placeholder variables for the parts that change with each page (title, product name, etc.) and then on the post page you can add custom fields that will populate that information.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文