Prestashop Core Application V1.4

404 and url rewrite from module pagesnotfound

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Security Level: All-users
  • Labels:
    None
  • Similar issues:
    PSCFI-5275 404.php after url rewrite
    PSCFI-1795 PS 1.4.1 URL rewrite page not found
    PSCFI-4745 404 redirection
    PSCFI-1925 URL rewrite wrong
    PSCFI-1864 Bug google analytics with url rewriting
    PSCFI-4361 404 error for all pages for only one language after url rewrite enabled
    PSCFI-4528 Module translations - 404 ERROR
    PSCFI-5293 friendly url does not work

Description

Enable url rewrite
Enable canonical redirect
Enable module pagesnotfound

then go to a Errordocument 404 like /prestahop/xxxxxWRONG

you will find in table pagesnotfound that it registers /fr/page-non-trouvee (or the rewrite url for 404.php) where it should register /xxxxxWRONG

I think theres are two sources of errors :

For a 404 there are two redirections : Errordocument to 404.php then 404.php to its rewrited url.

Then request_uri may be different from '404.php' in the module on hooktop.

Activity

Hide
Francois Gaillard added a comment - 19/Dec/11 10:20 AM

Hi Gregory,

Which version of PrestaShop are you using ? I've just tested that on a 1.4.6.2 and it works.
If you are already using this version, please, could you send me an access (francois.gaillard@prestashop.com) ?

Thank you for your contribution,
Best regards.

Show
Francois Gaillard added a comment - 19/Dec/11 10:20 AM Hi Gregory, Which version of PrestaShop are you using ? I've just tested that on a 1.4.6.2 and it works. If you are already using this version, please, could you send me an access (francois.gaillard@prestashop.com) ? Thank you for your contribution, Best regards.
Hide
Gregory Roussac added a comment - 04/Jan/12 12:02 AM

1.4.6.2

Best Regards

Show
Gregory Roussac added a comment - 04/Jan/12 12:02 AM 1.4.6.2 Best Regards
Hide
Alain FOLLETETE added a comment - 09/Jan/12 4:26 PM

Hi,

This bug has been fixed on SVN version.

Best regards,

Show
Alain FOLLETETE added a comment - 09/Jan/12 4:26 PM Hi, This bug has been fixed on SVN version. Best regards,
Hide
Francois Gaillard added a comment - 09/Jan/12 4:26 PM

It have been changed on the SVN and will be available in our next release.

Kind regards.

Show
Francois Gaillard added a comment - 09/Jan/12 4:26 PM It have been changed on the SVN and will be available in our next release. Kind regards.
Hide
Francois Gaillard added a comment - 11/Jan/12 4:28 PM

Need a fix for upgrades ...

Show
Francois Gaillard added a comment - 11/Jan/12 4:28 PM Need a fix for upgrades ...
Hide
Francois Gaillard added a comment - 11/Jan/12 4:30 PM

Hi Grégory,

It have been fixed, I changed SQL script.
You can check for changes on our SVN.

Thank you for your contribution,
Best regards.

Show
Francois Gaillard added a comment - 11/Jan/12 4:30 PM Hi Grégory, It have been fixed, I changed SQL script. You can check for changes on our SVN. Thank you for your contribution, Best regards.

People

Vote (0)
Watch (0)

Dates

  • Created:
    27/Oct/11 5:30 PM
    Updated:
    13/Jan/12 4:32 PM
    Resolved:
    13/Jan/12 4:32 PM