Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Canceled
    • Affects Version/s: 1.4.5.1
    • Fix Version/s: None
    • Security Level: All-users
    • Labels:
      None

      Description

      Version: 1.4.5

      Hello, accessing http://www.the-black-angel.com/index.php (which has been specified in BO as being the homepage file) causes a "[Debug] This page has moved
      Please use the following URL instead: http://www.the-black-angel.com/ " error. The index.php file is present in the root folder location.

      It is important for us to be able to specifically use the http://www.the-black-angel.com/index.php URL, as we need to redirect many links to our new shop after switching from Shopfactory to Prestashop.

      Best regards,

      Daniel
      Supernova Cult S.A.R.L.

          • HTACCESS ***
      1. Use PHP5 Single php.ini as default
        AddHandler application/x-httpd-php5s .php

      <IfModule mod_rewrite.c>

      1. URL rewriting module activation
        RewriteEngine on
      1. URL rewriting rules

      RewriteRule ^([a-z]

      {2})/article/([0-9]+)-[a-zA-Z0-9-]* /modules/prestapress/content.php?id=$2&isolang=$1 [QSA,L,E]
      RewriteRule ^article/([0-9]+)-[a-zA-Z0-9-]* /modules/prestapress/content.php?id=$1 [QSA,L,E]

      RewriteRule ^([a-z]{2}

      )/articles/([0-9]+)-[a-zA-Z0-9-]* /modules/prestapress/content.php?category=$2&isolang=$1 [QSA,L,E]
      RewriteRule ^articles/([0-9]+)-[a-zA-Z0-9-]* /modules/prestapress/content.php?category=$1 [QSA,L,E]

      RewriteRule ^([a-z]

      {2}

      )/articles(.*) /modules/prestapress/content.php [QSA,L,E]
      RewriteRule ^articles /modules/prestapress/content.php [QSA,L,E]

      RewriteRule ^api/?(.*)$ /webservice/dispatcher.php?url=$1 [QSA,L]
      RewriteRule ^([a-z0-9])-([a-z0-9])(-[_a-zA-Z0-9-])/[_a-zA-Z0-9-]\.jpg$ /img/p/$1-$2$3.jpg [L]
      RewriteRule ^([0-9])-([0-9])/[_a-zA-Z0-9-]*\.jpg$ /img/p/$1-$2.jpg [L]
      RewriteRule ^([0-9])(-[_a-zA-Z0-9-])?/[_a-zA-Z0-9-]\.jpg$ /img/p/$1/$1$2.jpg [L]
      RewriteRule ^([0-9])([0-9])(-[_a-zA-Z0-9-])?/[_a-zA-Z0-9-]\.jpg$ /img/p/$1/$2/$1$2$3.jpg [L]
      RewriteRule ^([0-9])([0-9])([0-9])(-[_a-zA-Z0-9-])?/[_a-zA-Z0-9-]\.jpg$ /img/p/$1/$2/$3/$1$2$3$4.jpg [L]
      RewriteRule ^([0-9])([0-9])([0-9])([0-9])(-[_a-zA-Z0-9-])?/[_a-zA-Z0-9-]\.jpg$ /img/p/$1/$2/$3/$4/$1$2$3$4$5.jpg [L]
      RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(-[_a-zA-Z0-9-])?/[_a-zA-Z0-9-]\.jpg$ /img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6.jpg [L]
      RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(-[_a-zA-Z0-9-])?/[_a-zA-Z0-9-]\.jpg$ /img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7.jpg [L]
      RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(-[_a-zA-Z0-9-])?/[_a-zA-Z0-9-]\.jpg$ /img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8.jpg [L]
      RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(-[_a-zA-Z0-9-])?/[_a-zA-Z0-9-]\.jpg$ /img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9.jpg [L]
      RewriteRule ^c/([0-9]+)(-[_a-zA-Z0-9-])/[_a-zA-Z0-9-]\.jpg$ /img/c/$1$2.jpg [L]
      RewriteRule ^c/([a-zA-Z-])/[a-zA-Z0-9-]\.jpg$ /img/c/$1.jpg [L]
      RewriteRule ^([0-9]+)(-[_a-zA-Z0-9-])/[_a-zA-Z0-9-]\.jpg$ /img/c/$1$2.jpg [L]
      RewriteRule ^([0-9]+)-[a-zA-Z0-9-]*\.html /product.php?id_product=$1 [QSA,L]
      RewriteRule ^[a-zA-Z0-9-]/([0-9]+)-[a-zA-Z0-9-]\.html /product.php?id_product=$1 [QSA,L]
      RewriteRule ^([0-9]+)-[a-zA-Z0-9-]* /category.php?id_category=$1 [QSA,L]
      RewriteRule ^([0-9]+)__([a-zA-Z0-9-]*) /supplier.php?id_supplier=$1 [QSA,L]
      RewriteRule ^([0-9]+)_([a-zA-Z0-9-]*) /manufacturer.php?id_manufacturer=$1 [QSA,L]
      RewriteRule ^content/([0-9]+)-([a-zA-Z0-9-]*) /cms.php?id_cms=$1 [QSA,L]
      RewriteRule ^content/category/([0-9]+)-([a-zA-Z0-9-]*) /cms.php?id_cms_category=$1 [QSA,L]
      RewriteRule ^page-not-found$ /404.php [QSA,L]
      RewriteRule ^address$ /address.php [QSA,L]
      RewriteRule ^addresses$ /addresses.php [QSA,L]
      RewriteRule ^authentication$ /authentication.php [QSA,L]
      RewriteRule ^best-sales$ /best-sales.php [QSA,L]
      RewriteRule ^cart$ /cart.php [QSA,L]
      RewriteRule ^contact-us$ /contact-form.php [QSA,L]
      RewriteRule ^discount$ /discount.php [QSA,L]
      RewriteRule ^guest-tracking$ /guest-tracking.php [QSA,L]
      RewriteRule ^order-history$ /history.php [QSA,L]
      RewriteRule ^identity$ /identity.php [QSA,L]
      RewriteRule ^manufacturers$ /manufacturer.php [QSA,L]
      RewriteRule ^my-account$ /my-account.php [QSA,L]
      RewriteRule ^new-products$ /new-products.php [QSA,L]
      RewriteRule ^order$ /order.php [QSA,L]
      RewriteRule ^order-follow$ /order-follow.php [QSA,L]
      RewriteRule ^quick-order$ /order-opc.php [QSA,L]
      RewriteRule ^order-slip$ /order-slip.php [QSA,L]
      RewriteRule ^password-recovery$ /password.php [QSA,L]
      RewriteRule ^prices-drop$ /prices-drop.php [QSA,L]
      RewriteRule ^search$ /search.php [QSA,L]
      RewriteRule ^sitemap$ /sitemap.php [QSA,L]
      RewriteRule ^stores$ /stores.php [QSA,L]
      RewriteRule ^supplier$ /supplier.php [QSA,L]
      </IfModule>

      1. Catch 404 errors
        ErrorDocument 404 /404.php

      <IfModule mod_expires.c>
      ExpiresActive On
      ExpiresByType image/gif "access plus 1 month"
      ExpiresByType image/jpeg "access plus 1 month"
      ExpiresByType image/png "access plus 1 month"
      ExpiresByType text/css "access plus 1 week"
      ExpiresByType text/javascript "access plus 1 week"
      ExpiresByType application/javascript "access plus 1 week"
      ExpiresByType application/x-javascript "access plus 1 week"
      ExpiresByType image/x-icon "access plus 1 year"
      </IfModule>

      FileETag INode MTime Size
      <IfModule mod_deflate.c>
      AddOutputFilterByType DEFLATE text/html
      AddOutputFilterByType DEFLATE text/css
      AddOutputFilterByType DEFLATE text/javascript
      AddOutputFilterByType DEFLATE application/javascript
      AddOutputFilterByType DEFLATE application/x-javascript
      </IfModule>

        Attachments

          Activity

            People

            • Assignee:
              vAugagneur Vincent AUGAGNEUR
              Reporter:
              Mister_Denial Mister Denial
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: