Magento – How to change CMS Page URL key in Magento
cmsmagento-1.9
I am developing my e-commerce website (www.fashionnow.in). I want to change my home page URL key in CMS Pages.
Here is current URL KEY Snap
I want to change this url key.
Please help me to solve this proplem
Best Answer
You can change this URL Key in anything you'd like.
Because it is the home page we are talking about you will need to check a few additional things too.
Go to System > Configuration > Web > Default Pages > CMS Home Page and make sure that the page that you just edited is selected as the Home Page for your store.
Go to Catalog > URL Rewrite Management and set up a 301 Permant Redirect for this CMS page. This is necessary to prevent this page of being available under two different URLs (your stores Base URL and the URL Key that you have chosen) and avoid duplicate content.
Example: If your home page URL Key is home-page5 then set up the following URL Rewrite.
Type: Custom
ID Path: home-page5
Request Path: home-page5
Target Path: ../
Redirect: (Permanent 301)
Description: Redirect CMS home page to Base URL in order to prevent duplicate content
Current config scope. If this is a simple store, it's probably defined in Default Config, check other scopes to make sure it hasn't been redefined elsewhere. (unchecked box, non gray text field)
In the Scope where it's defined, select the title you changeed it to from the dropdown, save, clear cache.
Best Answer
You can change this
URL Key
in anything you'd like.Because it is the home page we are talking about you will need to check a few additional things too.
System > Configuration > Web > Default Pages > CMS Home Page
and make sure that the page that you just edited is selected as theHome Page
for your store.Catalog > URL Rewrite Management
and set up a 301 Permant Redirect for this CMS page. This is necessary to prevent this page of being available under two different URLs (your storesBase URL
and theURL Key
that you have chosen) and avoid duplicate content.