I am importing products through a CSV
file from admin.
I have checked the CSV
file, it contains _product_websites
column with value "base".
But still URL keys are not generating after import. Please help.
After running the import you need to re-index the Catalog URL Rewrites
index. This will generate URL's for your products.
You can do so through the admin panel:
Admin Panel -> System -> Index Management -> Next to
Catalog URL Rewrites
ClickReindex Data
You can also reindex through a SSH
session using the indexer.php
file located in /magento_root/shell
php indexer.php --reindex catalog_url
I think you should add to your header url_key
and url_path
and set them for each product.
For example, in url_key
you have "awesome-product
" and in url_path
"awesome-product.html
".
Step 1 : Leave both column (url_key and url_path) empty and upload csv file
Step 2 : After succesful importing csv file, go to System -> Index Management : Click on Select All and click on Submit.
It is very simple way. I tried and got result.