ciroanat Posted January 14, 2018 Share Posted January 14, 2018 Hello to everyone, I have a problem about favicon: On Android and Chrome the favicon is working correctly, but on Apple devices won't work (only shows a question mark as favicon). I've read about Real Favicon Generator and it seems to be great for everyone, but I don't know where to put generated files... Can you help me, please? My prestashop version: 1.6.1.5 Thank you, Ciro Anatriello Link to comment Share on other sites More sharing options...
Scully Posted January 15, 2018 Share Posted January 15, 2018 Same problem here. Apple icon only works when saving to home screen but NOT when saving as favorite. PS version 1.6.1.15. 1 Link to comment Share on other sites More sharing options...
ciroanat Posted January 15, 2018 Author Share Posted January 15, 2018 1 hour ago, Scully said: Same problem here. Apple icon only works when saving to home screen but NOT when saving as favorite. PS version 1.6.1.15. Unfortunately i have the problem in both the situation... Link to comment Share on other sites More sharing options...
Scully Posted February 12, 2018 Share Posted February 12, 2018 I finally found a solution which worked out: 1. Move everything that belongs to prestashop into a subfolder, for example /shop 2. Leave apple touch icons in root. 3. Create a new .htacess in your root folder (note that the old existing .htaccess has also moved to subdir). This new .htaccess will allow you to access everything as before but having the shop running in a subdirectory. 4. Put the following into your .htaccess (change "shop" to desired subdirectory and "getyourshop.ch" with your own domain. # GetYourShop.ch # Have perstashop in a subfolder but access it from your root base path # make the changes to the file according to the instructions. # Do not change this line - RewriteEngine on RewriteEngine on # Change yourdomain.com to be your main domain. RewriteCond %{HTTP_HOST} ^(www.)?testyourshop.ch$ # Change 'subfolder' to be the folder you will use for your main domain. RewriteCond %{REQUEST_URI} !^/shop/ # Don't change this line. RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d # Change 'subfolder' to be the folder you will use for your main domain. RewriteRule ^(.*)$ /shop/$1 # Change yourdomain.com to be your main domain again. # Change 'subfolder' to be the folder you will use for your main domain # followed by / then the main file for your site, index.php, index.html, etc. RewriteCond %{HTTP_HOST} ^(www.)?testyourshop.ch$ RewriteRule ^(/)?$ shop/index.php [L] 5. Take your iOS device and close the browser by swiping it to the top. Start browser and go into private mode. Visit your shop and add the link to your favorites. And you should be done. Link to comment Share on other sites More sharing options...
Rneo Posted October 24, 2019 Share Posted October 24, 2019 Dnia 12.02.2018 o 5:10 PM, Scully napisał: I finally found a solution which worked out: 1. Move everything that belongs to prestashop into a subfolder, for example /shop 2. Leave apple touch icons in root. 3. Create a new .htacess in your root folder (note that the old existing .htaccess has also moved to subdir). This new .htaccess will allow you to access everything as before but having the shop running in a subdirectory. 4. Put the following into your .htaccess (change "shop" to desired subdirectory and "getyourshop.ch" with your own domain. # GetYourShop.ch # Have perstashop in a subfolder but access it from your root base path # make the changes to the file according to the instructions. # Do not change this line - RewriteEngine on RewriteEngine on # Change yourdomain.com to be your main domain. RewriteCond %{HTTP_HOST} ^(www.)?testyourshop.ch$ # Change 'subfolder' to be the folder you will use for your main domain. RewriteCond %{REQUEST_URI} !^/shop/ # Don't change this line. RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d # Change 'subfolder' to be the folder you will use for your main domain. RewriteRule ^(.*)$ /shop/$1 # Change yourdomain.com to be your main domain again. # Change 'subfolder' to be the folder you will use for your main domain # followed by / then the main file for your site, index.php, index.html, etc. RewriteCond %{HTTP_HOST} ^(www.)?testyourshop.ch$ RewriteRule ^(/)?$ shop/index.php [L] 5. Take your iOS device and close the browser by swiping it to the top. Start browser and go into private mode. Visit your shop and add the link to your favorites. And you should be done. Can you list the icons to be in the root directory, not in /shop ? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now