【问题标题】:redirect base url to custom url magento将基本 url 重定向到自定义 url magento
【发布时间】:2015-09-24 21:23:10
【问题描述】:
I want to redirect my baseurl to a custom url(i.e a CMS page basically)
 base url : index.php
 custom url: home

I followed following steps:

    1. Navigate to Catalog > Url Rewrite Management
    2. Click the “Add Urlrewrite” button
    3. Select “Custom” from the “Create Urlrewrite” drop-down menu
    4. The “Urlrewrite Information” form would be completed thusly:



  ID Path: index.php
    Request Path:index.php
    Target Path: home
    Redirect: Permanent(301)

然后刷新cashe。但是重定向不起作用。 “index.php”仍然显示相同的页面 我哪里做错了?

【问题讨论】:

    标签: magento url-rewriting


    【解决方案1】:

    要为基本 url 创建重写,您必须使用 / 而不是 index.php

    【讨论】:

      【解决方案2】:

      你可以试试这个

      在管理面板中创建 URL 重定向:营销->URL 重写

      请求路径:index.php 目标路径:../

      它将强文本重定向到主页。

      【讨论】:

        猜你喜欢
        • 2017-02-22
        • 2012-03-12
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 2016-12-16
        • 1970-01-01
        • 2015-03-11
        • 2012-09-01
        相关资源
        最近更新 更多