U2 Posted August 8, 2009 Share Posted August 8, 2009 Hi,Please I have problem with not working page after using function nice url. Front web page working without pictures, but make good "nice url" page for product. After click on this you redirectet to page in "nice url" format and server show "Not found".I finding on this forum some information about my problem with NICE URL, but all instructions what I find and read not help me.After I switch on NICE URL I haven´t picture on front page and after click for somethink product server write :Not FoundThe requested URL /prestashop/music-ipods/1-ipod-nano.html was not found on this server.Apache/2.2.3 (Red Hat) Server at localhost Port 80 I have version 1.2 final (8) and I make .htaccess thru generator and put there only : RewriteBase.My .htaccess:URL rewriting module activationOptions +FollowSymlinksRewriteEngine OnRewriteBase /URL rewriting rulesRewriteRule ^([a-z0-9]+)\-([a-z0-9]+)(\-[a-zA-Z0-9-]*)/([_a-zA-Z0-9-]*)\.jpg$ /prestashop/img/p/$1-$2$3.jpg [L,E]RewriteRule ^([0-9]+)(\-[_a-zA-Z0-9-]*)/([_a-zA-Z0-9-]*)\.jpg$ /prestashop/img/c/$1$2.jpg [L,E]RewriteRule ^([a-zA-Z0-9-]*)/([0-9]+)\-([a-zA-Z0-9-]*)\.html(.)$ /prestashop/product.php?id_product=$2$4 [L,E]RewriteRule ^([0-9]+)\-([a-zA-Z0-9-])\.html(.)$ /prestashop/product.php?id_product=$1$3 [L,E]RewriteRule ^([0-9]+)\-([a-zA-Z0-9-])(.)$ /prestashop/category.php?id_category=$1 [QSA,L,E]RewriteRule ^content/([0-9]+)\-([a-zA-Z0-9-])(.)$ /prestashop/cms.php?id_cms=$1 [QSA,L,E]RewriteRule ^([0-9]+)_([a-zA-Z0-9-])(.)$ /prestashop/supplier.php?id_supplier=$1$3 [QSA,L,E]RewriteRule ^([0-9]+)_([a-zA-Z0-9-])(.*)$ /prestashop/manufacturer.php?id_manufacturer=$1$3 [QSA,L,E]1.Catch 404 errorsErrorDocument 404 /404.phpI look to php.info and there I see modul mod rewrite (its ON).When I have NICE URL switch, making from this URL:http://localhost/prestashop/product.php?id_product=1this (NICE URL ON):http://localhost/prestashop/music-ipods/1-ipod-nano.htmlbut after cklik:Not FoundThe requested URL /prestashop/music-ipods/1-ipod-nano.html was not found on this server.Apache/2.2.3 (Red Hat) Server at localhost Port 80 Sorry for my english, but if somebody know how to this problem please write me. Thanks Link to comment Share on other sites More sharing options...
jhnstcks Posted August 8, 2009 Share Posted August 8, 2009 Have you tried emptying the htaccess and regenerating it without your little addition? Link to comment Share on other sites More sharing options...
aguernz Posted August 9, 2009 Share Posted August 9, 2009 Hi. Is there a way for me to modify my .htaccess file, so that urls like http://avemariainspirations.com/content/3-terms-and-conditions-of-use become like this: http://avemariainspirations.com/content/terms-and-conditions-of-use (without the number) or like this: http://avemariainspirations.com/terms-and-conditions-of-use (without the number and /content tag)? Link to comment Share on other sites More sharing options...
Fernandoidim Posted February 22, 2013 Share Posted February 22, 2013 To com o mesmo problema do U2 Conseguiram uma solução? Help me, please... 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