Url重写-重定向基础Url到自定义Url magento


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)

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

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

你可以试试这个

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

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

它将重定向强文本到主页

最新更新