2

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.

SR_Magento
5,22513 gold badges63 silver badges104 bronze badges
asked May 13, 2015 at 13:34

3 Answers 3

6

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 Click Reindex 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

answered May 13, 2015 at 13:40
1
  • This doesn't work if a store view already has a value set to it. How do we regenerate url key for already imported products? Commented Nov 22, 2017 at 16:31
3

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".

hakre
2,8714 gold badges29 silver badges51 bronze badges
answered May 13, 2015 at 13:40
1
  • this is a possibility but they key word he said was "not generating" - had he said "not inserted" or "not imported" I would agree with you. Commented May 13, 2015 at 14:02
1

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.

answered Mar 14, 2016 at 10:53

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.