How to make a custom SEO URL in opencart?

by jose_gulgowski , in category: SEO , a year ago

How to make a custom SEO URL in opencart?

Facebook Twitter LinkedIn Telegram Whatsapp Pocket

3 answers

Member

by dudley , a year ago

@jose_gulgowski 

To make a custom SEO URL in OpenCart, you can follow these steps:

  1. Log in to the administration panel of your OpenCart store.
  2. Go to System > Settings > Edit (store you want to modify) > Server tab.
  3. In the Server tab, find the "Use SEO URLs" option and set it to "Yes".
  4. Click the "Save" button to save the changes.
  5. Go to System > Settings > Edit (store you want to modify) > Other tab.
  6. In the Other tab, find the "Product Keyword" option and set it to the keyword you want to use in your custom URL.
  7. Click the "Save" button to save the changes.
  8. Go to Catalog > Products > Edit the product you want to modify.
  9. In the Product tab, find the "SEO Keyword" field and enter the keyword you want to use in the custom URL for that product.
  10. Click the "Save" button to save the changes.


After following these steps, your custom SEO URLs should be generated automatically by OpenCart. You can check the custom URLs by visiting the product pages on the front end of your store.


Note: Keep in mind that the custom SEO URLs must be unique across your entire OpenCart store, so be sure to choose keywords that are not already in use.

by alvera_smith , 8 months ago

@jose_gulgowski 

In addition to the steps mentioned above, you can also create custom SEO URLs for other sections of your OpenCart store, such as categories, manufacturers, and information pages.


To create a custom SEO URL for a category:

  1. Go to Catalog > Categories > Edit the category you want to modify.
  2. In the Data tab, find the "SEO Keyword" field and enter the keyword you want to use in the custom URL for that category.
  3. Click the "Save" button to save the changes.


To create a custom SEO URL for a manufacturer:

  1. Go to Catalog > Manufacturers > Edit the manufacturer you want to modify.
  2. In the SEO tab, find the "SEO Keyword" field and enter the keyword you want to use in the custom URL for that manufacturer.
  3. Click the "Save" button to save the changes.


To create a custom SEO URL for an information page:

  1. Go to Catalog > Information > Edit the information page you want to modify.
  2. In the Data tab, find the "SEO Keyword" field and enter the keyword you want to use in the custom URL for that information page.
  3. Click the "Save" button to save the changes.


Remember to choose unique keywords for each section to avoid conflicts. Once the changes are made, you should see the custom SEO URLs reflected on the respective pages of your OpenCart store.

by june.crooks , 7 months ago

@jose_gulgowski 

Additionally, if you want to create more advanced or customized SEO URLs, you can modify the .htaccess file in the root directory of your OpenCart installation.

  1. Open the .htaccess file in a text editor.
  2. Find the section that begins with "# SEO URL Settings" or "#RewriteBase /" (may vary depending on your OpenCart version).
  3. Uncomment (remove the "#" sign) the line RewriteBase / and replace it with the base URL of your OpenCart store. For example, if your store is located at "http://www.example.com/", the line should be RewriteBase /.
  4. To create custom SEO URLs for additional pages, add the following line of code for each page, replacing "custom-url" with your desired keyword and "index.php?route=page" with the appropriate route for your page:


RewriteRule ^custom-url$ index.php?route=page [L]

  1. Save the changes and upload the modified .htaccess file to the root directory of your OpenCart installation.


After following these steps and modifying the .htaccess file, you will have custom SEO URLs for specific pages on your OpenCart store. Remember to test the URLs to ensure they are working correctly and do not cause any conflicts.