Jump to content

Problem with NICE URL


Recommended Posts

Hi,

I finding on this forum some information about my problem with NICE URL, but all instructions what I find 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 Found

The 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 beta 4 and I make .htaccess thru generator and put there only : RewriteBase.

My .htaccess:

URL rewriting module activation
Options +FollowSymlinks
RewriteEngine On
RewriteBase /
URL rewriting rules
RewriteRule ^([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 errors
ErrorDocument 404 /404.php

I 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=1

this (NICE URL ON):
http://localhost/prestashop/music-ipods/1-ipod-nano.html

but after cklik:

Not Found

The 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. If somebody know where is problem please write me. Thanks

Link to comment
Share on other sites

  • 3 weeks later...
  • 3 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...