Jump to content

Search the Community

Showing results for tags 'friendly urls'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Community Help and Support
    • PrestaShop Download
    • PrestaShop Marketplace
  • News and Announcements
    • PrestaShop news and releases
    • PrestaShop Beta
    • PrestaShop Blogs
    • PrestaShop Meetups
  • International community (English)
    • General topics
    • PrestaShop Merchants
    • PrestaShop Developers
    • Taxes, Translations & Laws
    • Community Modules and Themes
  • Forum francophone
    • Discussion générale
    • Aide et support communautaire
    • PrestaShop pour les marchands
    • PrestaShop pour les développeurs
    • Adaptation aux lois Québécoises
    • Modules et thèmes gratuits
    • Modules et thèmes payants
  • Foro en Español
    • Discusión general
    • Soporte de la comunidad y ayuda
    • Comerciantes PrestaShop
    • Desarrolladores PrestaShop
    • Módulos y plantillas gratuitas
  • Forum italiano
    • Forum generale
    • Aiuto e supporto della Community
    • Commercianti PrestaShop
    • Sviluppatori PrestaShop
    • Aspetti legali sull'eCommerce
    • Moduli e template gratuiti
  • Deutsches Forum
    • Generelle Fragen
    • Support und Hilfe aus der Community
    • e-Commerce/Versand-Handel mit Prestashop
    • Prestashop-Entwickler
    • Anpassung an deutsches Recht
    • Kostenlose Module und Templates
    • Generelle Fragen Copy
  • Nederlandstalig forum
    • Algemeen
    • Hulp en ondersteuning, van en voor de community
    • PrestaShop-winkeliers
    • PrestaShop-ontwikkelaars
    • Het aanpassen van PrestaShop
    • Gratis modules en templates
  • Fórum em Português
    • Fórum Geral
    • Ajuda e Suporte da Comunidade
    • Lojistas que utilizam o PrestaShop
    • Desenvolvedores PrestaShop
    • Legislação específica
    • Módulos e temas gratuitos
  • Polskie forum
    • Forum ogólne
    • Wsparcie i pomoc użytkowników
    • Oferty twórców PrestaShop
    • Deweloperzy PrestaShop
    • Darmowe Moduły i Szablony
  • Dansk forum
    • Generelt forum
    • Hjælp og support fra fællesskabet
    • PrestaShop for købmænd
    • PrestaShop for udviklere
    • Love og regler
    • Gratis moduler og temaer
  • České fórum
    • Instalasi, Konfigurasi dan upgrade
    • Obecná diskuze
    • Bezplatné moduly a šablony
    • PrestaShop vývojáři
    • PrestaShop obchodníci
  • Bahasa Indonesia
    • Diskusi Umum
    • Podpora a pomoc komunity
    • Laporan Bug
    • Jasa, Promosi & Lowongan Kerja
  • Svenskt forum
    • Allmän diskussion
    • Installation, konfigurering och uppdatering
  • Forumul românesc
    • Discuţii generale
    • Instalare, configurare şi upgrade
  • Pусский язык
    • Обсуждение скрипта
    • Установка, Настройка, Обновление
    • Прием багов
  • Slovenské fórum
    • Všeobecná diskusia
    • Podpora a pomoc komunity
    • PrestaShop obchodníci
    • PrestaShop vývojári
    • Bezplatné moduly a šablóny
  • Türkçe Topluluğu
    • Genel Konular
    • Topluluk desteği ve yardım
    • PrestaShop Tüccarları
    • Prestashop Geliştiricileri
    • Ücretsiz Modül ve Temalar
  • Diễn đàn tiếng Việt
    • Thảo luận chung
    • Hỗ trợ từ cộng đồng
    • Dành cho chủ doanh nghiệp / cửa hàng
    • Dành cho lập trình viên
  • PrestaShop Communities
    • اللغه العربيه [Arabic]
    • Ελληνικά [Greek]
    • עִבְרִית [Hebrew]
    • 中文
    • Magyar [Hungarian]
    • 日本語 [Japanese]
    • Lietuviškai [Lithuanian]
    • انجمن فارسی [Persian]
    • ไทย [Thai]
    • Malaysia [Malaysian]
    • Eesti [Estonian]
    • Slovenščina [Slovenian]
    • Српски [Serbian]
  • IP. Board Forum
    • IP. Board Forum Questions and Issues
  • Archive
    • Zapłać Moduły i Szablony [ARCHIVE]
    • Moduly, upravy a dizajn [ARCHIVE]
    • Phát triển và các mô-đun [ARCHIVE]
    • Yazılım, Modül ve Tema [ARCHIVE]
    • Модули, Шаблоны [ARCHIVE]
    • Module şi teme [ARCHIVE]
    • Pengembangan dan Modul [ARCHIVE]
    • Moduler och teman [ARCHIVE]
    • Ecommerce x PrestaShop [ARCHIVE BOARD]
    • Vývoj a moduly [ARCHIVE]
    • Kostenpflichtige Module, Templates [ARCHIVE]
    • Módulos y temas pagos [ARCHIVE]
    • Módulos e temas pagos [ARCHIVE]
    • Servizi commerciali [ARCHIVE]
    • Forum - Feedback Contributor
    • PrestaShop Cloud

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


  1. Hi On my site I have set most of the products as combinations but the urls for the different attribute aren't recognised For instance if I want to create a hyperlink to a certain attribute it just goes to the default option. This link is for a 18" cork handled trowel but when you click on this link it just goes to blue handled 16" https://www.refina.co.uk/plaster-render-tools/superflex-skimming-trowels/rfn14-14-superflex2-skimming-trowel.html#/4-choose_handle-cork/206-sizes-18_450mm Please can someone help.
  2. update 201907211703: SOLUTION Add the perserve host diretive on in the virutalhost configuration file root@vmhost: vi /etc/httpd/conf.d/vm1.conf ... ProxyPreserveHost On ... description of solution: host used the wrong ip address to access images because of missing directive for reverse proxy ------------ problem: images not showing when firenndly URL is turned ON (SEE IMAGE BELOW) IMAGES CAN BE SEEN FROM BACKOFFICE SETUP: This prestashop instance is on an internal network not accessible publicly inside a VM installed php modules: rh-php72 rh-php72-php rh-php72-php-xml rh-php72-php-gd rh-php72-php-intl rh-php72-php-zip rh-php72-php-common rh-pgp72-php-mbstring mod_rewrite is turned on in apache selinux is in permissive mode currently for debugging apache is the owner of /var/www/html FOR TESTING PURPIOSES ALL FILES IN /VAR/WWW/HTML IS CHMOD 777 (NOT RECOMMENDED FOR PRODUCTION) .htaaccess file is automatically generated when activating/deactivating friendly urls info_outline Configuration information This information must be provided when you report an issue on our bug tracker or forum. info_outline Server information Server information Linux #1 SMP Tue Jun 18 16:35:19 UTC 2019 x86_64 Server software version: Apache/2.4.6 (CentOS) PHP/7.2.10 PHP version: 7.2.10 Memory limit: 128M Max execution time: 30 Upload Max File size: 2M info_outline Database information MySQL version: 5.5.60-MariaDB MySQL server: 127.0.0.1 MySQL name: prestadb MySQL user: prestauser Tables prefix: presta_ MySQL engine: InnoDB MySQL driver: DbPDO info_outline Store information PrestaShop version: 1.7.6.0 Shop URL: http://vm1.com/ Shop path: /var/www/html Current theme in use: classic info_outline Mail configuration Mail method: You are using the PHP mail() function. info_outline Your information Your web browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36 info_outline Check your configuration Required parameters: OK Optional parameters: OK I HAVE Deleted .htaccess file and turned friendly urls on (rm -rf /var/www/html/.htaaccess, BACKOFFICE > SHOP PARAMETERS > URL & SEO > FRIENDLY URLS > CHECKED ). The .htaccess file is regernerated with the following contents: # ~~start~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again # .htaccess automaticaly generated by PrestaShop e-commerce open-source solution # http://www.prestashop.com - http://www.prestashop.com/forums <IfModule mod_rewrite.c> <IfModule mod_env.c> SetEnv HTTP_MOD_REWRITE On </IfModule> RewriteEngine on #Domain: vm1.com RewriteRule . - [E=REWRITEBASE:/] RewriteRule ^api(?:/(.*))?$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L] # Images RewriteCond %{HTTP_HOST} ^vm1.com$ RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$1$2$3.jpg [L] RewriteCond %{HTTP_HOST} ^vm1.com$ RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$1$2$3$4.jpg [L] RewriteCond %{HTTP_HOST} ^vm1.com$ RewriteRule ^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$1$2$3$4$5.jpg [L] RewriteCond %{HTTP_HOST} ^vm1.com$ RewriteRule ^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$1$2$3$4$5$6.jpg [L] RewriteCond %{HTTP_HOST} ^vm1.com$ RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.jpg [L] RewriteCond %{HTTP_HOST} ^vm1.com$ RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.jpg [L] RewriteCond %{HTTP_HOST} ^vm1.com$ RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.jpg [L] RewriteCond %{HTTP_HOST} ^vm1.com$ RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9$10.jpg [L] RewriteCond %{HTTP_HOST} ^vm1.com$ RewriteRule ^c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2$3.jpg [L] RewriteCond %{HTTP_HOST} ^vm1.com$ RewriteRule ^c/([a-zA-Z_-]+)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2.jpg [L] # AlphaImageLoader for IE and fancybox RewriteRule ^images_ie/?([^/]+)\.(jpe?g|png|gif)$ js/jquery/plugins/fancybox/images/$1.$2 [L] # Dispatcher RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteRule ^.*$ - [NC,L] RewriteRule ^.*$ %{ENV:REWRITEBASE}index.php [NC,L] </IfModule> AddType application/vnd.ms-fontobject .eot AddType font/ttf .ttf AddType font/otf .otf AddType application/font-woff .woff AddType font/woff2 .woff2 <IfModule mod_headers.c> <FilesMatch "\.(ttf|ttc|otf|eot|woff|woff2|svg)$"> Header set Access-Control-Allow-Origin "*" </FilesMatch> </IfModule> #If rewrite mod isn't enabled ErrorDocument 404 /index.php?controller=404 # ~~end~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again SHOP PARAMETERS > SEARCH > Add missing products to the index & Re-build the entire index DESIGN > IMAGE SETTINGS > REGENERATE THUMBNAILS -------------------------------------------------------------------------------------------------------------- how can fix this? more images: debug image PHP FILE FRIENDLY URLS OFF FRIENDLY URLS ON
  3. How to remove id_product, id_category, id_manufacturer and id_cms in all pages? Is there any free module or free solution? You might edit core files, but I prefer a solution without touching core files or overriding.
  4. Everything works well and I had friendly URL on my website until I tried to work with Advanced SEO plugin. After changing some titles things I got 404 error for products. Even after removing it from module I get the same issue. For catalog and other pages everything works fine. Only product pages got this issue. Cache is off Switching to debugging mode with switching off all 3rd party plugins doesn't help me to solve this issue. Do you have any ideas how to treat this? Here is a link to some page that give me 404 error http://buy.guinot.su/ukhod-za-kozhej-v-oblasti-glaz/258-hydrazone-yeux-intensivnyj-uvlazhnyayusshij-krem-dlitelnogo-dejstviya-dlya-oblasti-glaz.html here is how it looked like - from google cache. It is the same url no changes http://webcache.googleusercontent.com/search?q=cache:_MajRol4sFAJ:buy.guinot.su/ukhod-za-kozhej-v-oblasti-glaz/258-hydrazone-yeux-intensivnyj-uvlazhnyayusshij-krem-dlitelnogo-dejstviya-dlya-oblasti-glaz.html+&cd=1&hl=ru&ct=clnk&gl=ru
  5. Hello everybody! I really hope that someone can help me with my problem, everything what I have found in the forum (internet), does not help me. First of all, I would like to apologize for my bad english 😊 My problem: I imported products with a Rest API Plugin into Prestashop. So far so good - everything works. BUT: When I activate „URL rewriting“(Traffic & SEO --> Set up URLs) in the backend, the images in the frontend are no longer displayed. If I disable „URL rewriting“, the images are displayed again in the frontend. One more thing: If I save an existing product manually in the backend and „URL rewriting“ is activated -> the images are displayed. .htaccess -> I have regenerated. mod_rewrite is active (asked by the provider (ionos)) Does anyone have any idea how I can display images with enabled „URL rewriting“? Thanks in advance! Kind regards I USE: PrestaShop version: 1.7.5.2 Server information Linux #1 SMP Debian 3.16.60-1~ui80+1 (2018-11-19) x86_64 Server software version: Apache PHP version: 7.2.24 Memory limit: -1 Max execution time: 50000 Upload Max File size: 64M
  6. Hi all. I have a problem on production server, hosted by OVH. Apache, PHP v5.3.16 , PS v 1.5.2 Default theme. When I have Friendly URLs turned OFF the blockcart module Ajax add to cart works fine, with the image moving to to Cart graphic etc... Friendly URls turned ON : CLick add to cart button on Product page. A modal pops up: Impossible to add the product to the cart. textStatus: 'parsererror' errorThrown: 'SyntaxError: JSON.parse: unexpected character' responseText:[ **** SOME HTML **** ] From FireBug Console: POST http://id-pharm.com/ controller=cart&add=1&ajax=true&qty=1&id_product=1&token=a92eb22d2ccd6bc84754017a7bd83b84&ipa=14 So this tells me that the Homepage gets served and not the blockcart-json, of course this is'nt JSON but HTML so the parsing fails. Conclusion : url_rewrite issue!! I have tried rebuildinig the .htaccess but no change, interestingly all pages work as expected when browsing site, so friendly urls seem to work fine except for when I have exact copy of the site on my local server and everything works as expected.
  7. Hi, I am having problems with the friendly URL's on my website carteblanchebodega.shop. I can not go to any secondary page or view any products on my website. Every link i click on goes to a whit page which says: Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator at [email protected] to inform them of the time this error occurred, and the actions you performed just before this error. More information about this error may be available in the server error log. Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request. I have tried regenerating the .htaccess file but the error messages still appears. Any ideas how to fix this? Leilah
  8. I've run into a snag migrating a shop from an old, buggy shopping cart software, and I'm not sure of the best way to go about finishing the migration. The old shopping cart was hell-bent on optimizing SEO, including the use of friendly URLs. It didn't have categories, product ID numbers, query strings, or file extensions in the product URLs, just: storename.com/product-name Categories were storename.com/category-name. The shopping cart also generated category pages based on color, price range, tags, etc., all following that basic format. The shop has between 1000 and 7000 pages indexed in Google, depending on how you look at it. (Oddly enough, 0 are showing up in the Google search console part of Webmaster tools.) I first tried to get the Prestashop URLs to exactly match the old ones, but the module I tried to use broke things and the pages couldn't be found. I then thought I would just get the URLs to be as friendly as I could get them and set up a ton of 301 redirects, but have been unable to download an entire list of the URLs; I've only managed to get 188 using these instructions. Also, I'm not sure what module I need or steps I need to take to generate those other pages for color, price range, tags, etc. Any advice on how to finally complete this without taking a hit in the rankings would be greatly appreciated!
  9. Hallo! In our shop https://my-lab.com/analytics/ I'd like to activate friendly urls. Now the problem is, as soon as I activate it, the order and authentication controller don't show up anymore. So, since I think it is too much afford to fix that bug (we have a multilangual multishop with a custom order module etc...) I want to remain the normal php-urls in all the urls with the order and authentification controller, like: index.php?controller=authentication BUT I want the friendly urls on the category- and product pages, and ONLY there, not anywhere else. So I want to rewrite urls like: https://my-lab.com/analytics/index.php?id_product=543&controller=product&id_lang=2 and https://my-lab.com/analytics/index.php?id_category=90&controller=category&id_lang=2 I ONLY want to rewrite the url of every page that uses the product / category controller. Does anybody know how I have to set up the .htaccess mod_rewrite rule to accomplish that? Thank you very much in advance!
  10. Hello, I've got a problem displaying the order detail. When I click in show detail, the Javascript function showOrder() is executed. But instead of displaying the order detail, the home page appears. I've tried to trace what's happening and I've found that the URL http://www.example.com/es/index.php?controller=order-detail&id_order=19&ajax=true is redirecting to index, so the IndexControlller is executed insted of the OrderDetailController. I've also seen that if I disabled friendly URLs, everything works fine and the order detail is shown correctly. To solve the problem, I've created a new friendly URL through the backoffice by selecting "orderdetail" page from the select. Moreover, I've changed in history.tpl the name of the page, where the function showOrder is called: Original: showOrder(1, {$order.id_order|intval}, '{$link->getPageLink('order-detail', true)}'); After my changes: showOrder(1, {$order.id_order|intval}, '{$link->getPageLink('orderdetail', true)}'); I don't know if this is a known issue or if is something cause by any of my customizations. My solution it's just a workaround because I'll have the same problem for any other non-friendly URL. The question is, shouldn't a non friendly URL work although friendly URLs are enabled? Is there any other way to solve this problem? By the way, I'm using PS 1.5.5.0 Thanks in advance.
  11. Hello, Maybe this question is very obvious or it's already answered but I can't find the solution... How can I change the URLs for pagination so they display the page number in a friendly way? Example: Prestashop default URL: http://demo-store.prestashop.com/en/10-furniture?p=2 Desired URLs: http://demo-store.prestashop.com/en/10-furniture/page/2 or http://demo-store.prestashop.com/en/10-furniture/page-2 I'm using Prestashop 1.5.5.0. Thanks in advance.
  12. Hi everyone; I have a problem with my site with product rewrite and friendly urls, after i changed the name of a category: Here is the name of the old url: http://menemo.dk/sfa...s/sita-leggings Here is the url that is redirected to now: http://menemo.dk/leg...e=sita-leggings The things is that IF the last part of the url (?product_rewrite=sita-leggings) was left out, the rewrite would be perfect. But with the above url i get a 404 error.... Any suggestions would be greatly appreciated!! I either need to know why this is giving me a 404 error or how i could remove the "?product_rewrite=sita-leggings" part of the rewrite rule....
  13. I've been working on my Prestashop instance, and I have not been able to get friendly URLs to work with my images, in Nginx. When I activate the friendly URLs, the images are visible in the backend, but whether I'm in the category list, or looking at the product, the web inspector says it's a 404. The current permissions on /img is 777 and ownership is correct. I have tried regenerating the images a bunch of times. My nginx site file: server { listen 80; server_name name.com; return 301 http://www.name.com$request_uri; } server { listen 80; server_name www.name.com; root /usr/share/nginx/www; access_log /var/log/nginx/access.log; error_log /var/log/nginx/error.log notice; error_page 404 /usr/share/nginx/www/Error_Page/404.html; location / { index index.php; if (!-e $request_filename) { rewrite ^/(.+)$ /index.php?q=$1 last; } } location ~* \.(jpg|jpeg|png|gif|ico|css|js)$ { expires 365d; } location ~* \.(pdf)$ { expires 30d; } location /shop/ { allow 73.161.131.75; allow 76.206.44.39; deny all; index index.php; rewrite ^/shop/api/?(.*)$ /shop/webservice/dispatcher.php?url=$1 last; rewrite ^/shop/([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ /shop/img/p/$1/$1$2$3.jpg last; rewrite ^/shop/([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ /shop/img/p/$1/$2/$1$2$3$4.jpg last; rewrite ^/shop/([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ /shop/img/p/$1/$2/$3/$1$2$3$4$5.jpg last; rewrite ^/shop/([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ /shop/img/p/$1/$2/$3/$4/$1$2$3$4$5$6.jpg last; rewrite ^/shop/([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ /shop/img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.jpg last; rewrite ^/shop/([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ /shop/img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.jpg last; rewrite ^/shop/([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ /shop/img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.jpg last; rewrite ^/shop/([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ /shop/img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9$10.jpg last; rewrite ^/shop/c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$ /shop/img/c/$1$2$3.jpg last; rewrite ^/shop/c/([a-zA-Z_-]+)(-[0-9]+)?/.+\.jpg$ /shop/img/c/$1$2.jpg last; rewrite ^/shop/images_ie/?([^/]+)\.(jpe?g|png|gif)$ /shop/js/jquery/plugins/fancybox/images/$1.$2 last; rewrite ^/shop/order$ /shop/index.php?controller=order last; if (!-e $request_filename) { rewrite ^/shop/.*$ /shop/index.php last; } } location /. { ## Disable .htaccess and other hidden files return 404; } location ~ .php/ { ## Forward paths like /js/index.php/x.js to relevant handler rewrite ^(.*.php)/ $1 last; } error_page 404 /404.html; location ~ .php$ { # connect to a unix domain-socket: fastcgi_pass unix:/var/run/php5-fpm.sock; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_param SCRIPT_NAME $fastcgi_script_name; fastcgi_buffer_size 128k; fastcgi_buffers 256 16k; fastcgi_busy_buffers_size 256k; fastcgi_temp_file_write_size 256k; # This file is present on Debian systems.. include fastcgi_params; } } I don't know what else to do, the unfriendly URLs are very ugly.
  14. Hi All, I am using nginx as my webserver. I have set-up rewrite rules to match the default apache ones and they work if I type a URL to test the rules myself. But! I can't get the entire shop to use friendly URLs because I can't enable the Friendly URLs option in Preferences > SEO & URLs. When I choose 'Yes' and click save, it forces the option back to 'No' and says that: URL rewriting (mod_rewrite) is not active on your server or it is not possible to check your server configuration. If you want to use Friendly URLs you must activate this mod. Obviously nginx does not use mod_rewrite, so how can I turn this on? How can I force this to 'Yes'? Because nginx does support Friendly URLs... Thanks!
  15. Hi All, We're having an issue with our site, when we turn off move javascript to end, the friendly urls break and the site breaks. The only way we have been able to fix this is by restoring the site. And this has caused us another issue with the mobile site not working. (http://www.prestashop.com/forums/topic/388147-mobile-site-not-working/) Any suggestions? Thanks, Sarah
  16. Hello, I am using PrestaShop™ 1.5.4.1 with default theme. After turn on and successfully activating friendly Urls, my Front Office pages are not showing product images anymore except in Slider. Any reason? solution? Thanks a lot, Joe
  17. Buongiorno a tutti, ho una domanda e spero che qualcuno più esperto possa aiutarmi. Sto per pubblicare un sito realizzato con prestashop. Il sito definitivo sarà in due lingue (italiano e inglese), ma per ora abbiamo a disposizione solo i contenuti in italiano, e per questo vogliamo andare online solo con l'italiano per poi aggiungere la seconda lingua. Il problema sono gli url: se disattivo la seconda lingua, gli url diventano tutti www.miosito.it/NOMEDELLAPAGINA. Quando però riattivo la seconda lingua, ovviamente, la stessa pagina ha come url www.miosito.it/it/NOMEDELLAPAGINA e la sua versione inglese www.miosito.it/en/NOMEDELLAPAGINA. Questa circostanza costituirà un problema sia per quanto riguarda il seo (tutti i risultati di ricerca daranno errore 404) sia per quanto riguarda i link inseriti manualmente. Esiste un modo per "forzare" prestashop ad usare il selettore di lingua "it" nell'url anche se c'è solo una lingua attiva? Qualcuno può aiutarmi?
  18. So i have successfully installed prestashop v 1.6. After fresh install i have enabled mod rewrite and confirmed it's working by looking at output of phpinfo(); . But when i enable friendly urls in prestashop back office suddenly site just stops working. When i enter my homepage url ('example.com') it appends /en/ on the end and gives a 404 error The requested URL /en/ was not found on this server.. What could be the problem? I have already tried changing "disable apache multiviews option" to on and it still doesn't work! What could be the problem? I'm using digitalocean.com as my hosting provider. Edit: Doesn't matter already solved myself. Just for future reference it was apache2 miss configuration. Open /etc/apache2/apache2.conf file and find this line: <Directory /path/to/site> #add the following setting to allow .htaccess in your web dir to work AllowOverride All #other settings --- </Directory> Make sure it says AllowOverride All.
  19. Prestashop 1.6.0.9,Clean install, Apache Web Server,mod rewrite is ON I am having issues when I enable friendly urls on my shop, when it is switched on all pages return in a 404 error, I would be grateful if someone could shed some light on this issue as I have been looking for a solution to this issue for some time with no success. Yes, I have the right settings and permissions on my server ;-) Everything worked fine with last step 1.6.0.6 Tried all permutations and combinations but in vain.. @happyhomedecor
  20. HOLAA A TODOS, estos dias he estado sufriendo por que en mis productos destacados tengo por defecto (plantilla leo theme) el efecto rollover que cuando pasas el mouse en ella cambia de imagen. La segunda imagen que debe aparecer que es la que pongo en el producto nunca aparece y sale el signo de interrogacion. PERO, cuando desactivo las urls amigables todo si va bien y el efecto sale genial. ME PODRIAN DECIR COMO PUEDO ARREGLAR ESTO POR FAVOR, ya he regenerado imagenes y dado permisos pero el problema es de las urls .. no se como corregirlo, ALGUNA IDEA POR FAVORR He buscado en el foro pero eso del efecto ROLLOVER casi nadie lo usa y si lo isan al parecer no tienen el mismo problema ...
  21. Hi all, I am having issues when I enable friendly urls on my shop, when it is switched on all pages return in a 404 error, I would be grateful if someone could shed some light on this issue as I have been looking for a solution to this issue for some time with no success. I am using the default theme on 1.6 with Go Daddy Hosting. Thanks in advance. dtr2000
  22. Hi, We are trying ti enable Friendly URL's on our new website but our getting the following error: URL rewriting (mod_rewrite) is not active on your server, or it is not possible to check your server configuration. If you want to use Friendly URLs, you must activate this mod. Please assist
  23. I would like these issues resolved by April 8th. Shipping- Canadian orders are designating the wrong carrier. It doesn't apply the Canadian carrier, it applies the US Carrier. This is incorrect. It SHOULD apply the Canadian carrier. See attached PDF Some CMS Pages will not apply the Friendly URL. For Example: http://198.46.91.101/~deepwo6/index.php?id_cms=31&controller=cms The Product Pages will apply the Friendly URL Left Hand "Link Block" and "CMS Block" are not showing on interior Pages. 301 Redirects are needed to redirect the pages from our current non-prestashop site (www.deepwoodsventures.com) to our new Prestashop (http://198.46.91.101/~deepwo6/) After the CMS Issue is corrected I can provide a spreadsheet with the link redirects. I just don't know how to write the HTAaccess file. Thanks. Paul Jones canadian shipping.pdf
  24. Running on PS 1.5.4.1 I encounter this problem: Layered navigation is working just fine as long as I use non friendly URLs. As soon as I switch to friendly URLs though, the filtering stops working like it should. Or better said, it does execute the filter perfectly at first, but then as soon as the page is properly loaded, it rewrites the URL in the address bar with a faulty URL and then immediately tries to reload that new page (the faulty URL), always resulting in reloading the main index page. To put it in real life sample: When I employ the filter "Dames" with non friendly URLs, it loads this URL: http://www.toearegoutdoor.nl/index.php?id_category=3&controller=category#/categorie-dames That works perfectly. When I do the same with friendly URLs, it first loads: http://www.toearegoutdoor.nl/3-arcteryx/categorie-dames That URL does indeed serve the correct content. BUT, immediately after that page is loaded it rewrites the URL in the address bar to: http://www.toearegoutdoor.nl/#/categorie-dames And then it immediately tries to load that new page. These last 2 links don't work right now because I went back to non friendly URLs as long as the problem isn't solved. All suggestions about friendly URLs I could find I have tried: I did recreate the .htaccess, reindexed all layered navigation indexes (all 4 links). Also checked the access rights of .htaccess. Made the modification in blocklayered.js about the added hash sign. But to be honoust I don't think the problem is in any of that. The fact that the URL is rewritten after loading the page and then gets executed, makes me believe that a piece of javascript is executed where it should not. I just haven't got a clue what piece of js I would need to debug. Hope anyone can help.
  25. My site is http://www.jiseunglee.com/shop/en/ and the default language is Korean. But the friendly URLS do not work for this language.. so all the pages with http://www.jiseunglee.com/shop/en/ do work, but all the pages with http://www.jiseunglee.com/shop/ko/ do not work.. can anybody help me ? I am using prestashop 1.5.6.2 on an apache server and I am running prestashop in a subfolder named shop.. (also if i remove the KO from the url, it works.. oh yeah, ko is the default language) please help me SOLVED: did clear smarty cache and it is solved.. now have an ssl issue where I cannot get content from CMS when in SSL mode.. but will open another topic for this
×
×
  • Create New...