firescorpz Posted September 3, 2010 Share Posted September 3, 2010 Hi guys,If I would like to change my keywords in file name from http://www.dazimage.com/category.php?id_category=31to http://www.dazimage.com/abalonecan this be done and how do I do it? Link to comment Share on other sites More sharing options...
rocky Posted September 3, 2010 Share Posted September 3, 2010 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 More sharing options...
firescorpz Posted September 3, 2010 Author Share Posted September 3, 2010 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 More sharing options...
firescorpz Posted September 4, 2010 Author Share Posted September 4, 2010 Hi Rocky,The “Generate .htaccess file” button is no where to be found? Link to comment Share on other sites More sharing options...
rocky Posted September 4, 2010 Share Posted September 4, 2010 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. Link to comment Share on other sites More sharing options...
firescorpz Posted November 20, 2010 Author Share Posted November 20, 2010 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 More sharing options...
firescorpz Posted November 20, 2010 Author Share Posted November 20, 2010 Anyone can advise on this? Link to comment Share on other sites More sharing options...
rocky Posted November 20, 2010 Share Posted November 20, 2010 It depends on your server. On my server, the public_html directory is the root directory. Basically, it is the directory that isn't displayed in the URL. Also, you should be using chmod 666 for the .htaccess file, not chmod 777. Link to comment Share on other sites More sharing options...
Recommended Posts