Jump to content

Adding keywords in file name, how?


Recommended Posts

You should turn on friendly URLs to do that. Go to the Preferences tab and change "Friendly URL" to "Yes", then click "Save" at the bottom of the page. Then create a blank .htaccess file with chmod 666 permissions in the root directory of PrestaShop on your server (or make a backup of your existing .htaccess file), then go to Tools > Generators and click the "Generate .htaccess file" button.

You will then have a URL like 31-abalone instead of category.php?id_category=31. Don't worry about the number. It doesn't affect SEO.

Link to comment
Share on other sites

You should turn on friendly URLs to do that. Go to the Preferences tab and change "Friendly URL" to "Yes", then click "Save" at the bottom of the page. Then create a blank .htaccess file with chmod 666 permissions in the root directory of PrestaShop on your server (or make a backup of your existing .htaccess file), then go to Tools > Generators and click the "Generate .htaccess file" button.

You will then have a URL like 31-abalone instead of category.php?id_category=31. Don't worry about the number. It doesn't affect SEO.


Thanks rocky.

I will try that
Link to comment
Share on other sites

Then happens when you haven't uploaded a .htaccess file. Make sure that you have a blank .htaccess file with chmod 666 permissions in the root directory of your PrestaShop. When you've done it right, the button should appear like in the screenshot.

29335_J5awrfo1Mkm1lmahkdpI_t

Link to comment
Share on other sites

  • 2 months later...

Hi Rocky,

Sorry I have to bring this topic back.

I have created a blank .htaccess file with notepad and upload to my root directory but “Generate .htaccess file” button still cannot be found.
The friendly URL is switch to "Yes" and I have save it. So is there anything that I have done wrongly?

I notice the permission has changed to chmod777 and I have change to 777 as well. So if there any other thing I need to do?

By the way, this may sound sound funny but I am still new and learning all these web design things. I would like to ask, how do I know where is the root directory? What will root directory show in my FTP software? Please advise me, thank you

Link to comment
Share on other sites

×
×
  • Create New...