In this Article
Update the URL for Webstore Pages
Maropost Commerce lets you customise the URL for any content page, product or product category:
-
In your Maropost Commerce control panel navigate to Webstore and select either Web Page or Product Category and click into the page you wish to edit.
-
Find the Naming section and untick Automatic URL.
-
Enter the custom URL you wish to use.
-
Click Save.
Important: If you intend on changing your homepage URL, ensure the custom URL is blank.
www.domainname.com.au/home = Wrong
www.domainname.com.au = Correct
To remove the string on the end of the home page URL, follow the steps above and when you reach step 4, just clear the field and then press Save.
If you change the URL of a page or product, a 301 redirect will be automatically created to help preserve your previous search engine rankings.
You can manage your 301 redirects from your Maropost Commerce control panel by navigating to Settings & Tools > All Settings & Tools. Select Webstore from the left side menu and then choose 301 Redirects.
Update the URL for Products
To edit a product URL:
-
In your Maropost Commerce control panel navigate to Products > View Products and click into the product you wish to edit.
-
Select SEO tab (by default, this is at the bottom of the page).
-
Under Product URL clear the Automatically Update checkbox.
-
Enter the custom Product URL you wish to use.
-
Click Save.
-
Lastly, navigate to Products > View Products.
-
Select the More button at the top of the page, then Create URLs For Products Missing URLs and Regenerate URLs For All Products.
Important:The 'Regenerate URLs for all for all products' process does not automatically create 301 redirects for URLs that have changed. If you need to implement 301 redirects, you will need to export product URLs before you start the process, so that you can reimport the redirects at a later date.
Custom Product URLs
You can also define a custom prefix for your product URLs:
-
In your Maropost Commerce control panel navigate to Settings & tools > All settings & tools.
-
Select Other from the left side menu, and then click on Advanced Configuration.
-
Search for SITE_URL_FORMAT_PRODUCT in the Name field and click the Apply Filter button.
-
Click the config, and enter the custom path you’d like for all products. For example, to add /store to each product URL, you can configure it as below.
Tag | Description |
---|
{lc_name} | Adds the name of the product in the URL. |
{lc_brand} | Adds the product Brand in the URL. |
{lc_sku} | Adds the product SKU in the URL. |
{lc_code} | Adds the product SKU in the URL. |
{lc_content_code} | Adds the category code top the URL, or the content id if it’s not set. |
{lc_content_id} | Adds the category id in the URL. |
{lc_type_name} | Adds product-category in the URL. |
{lc_path} | Adds the category name in the URL. |
-
Each product now needs the Automatically update URL checkbox selected. You can do this individually on each product, or in bulk using the product import wizard by importing the Generate URL Automatically
field set to yes.