If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / Problem with Ceon Uri Mapping Add on

Problem with Ceon Uri Mapping Add on

Started by godfatherantiques on 2 Jul 2012, 4:13 PM · Views: 1,284

Results 1 to 6 of 6
2 Jul 2012, 4:13 PM
#1
godfatherantiques avatar

godfatherantiques

Zen Follower

Join Date:
Nov 2010
Posts:
101
Plugin Contributions:
0

Problem with Ceon Uri Mapping Add on

Hello, Zen users i'm having a problem getting the ceon uri to work properly. All the files have been modified correctly as the uri installation check is showing no errors. The problem that i'm having is when I check the (Tick this box to have the URI auto-generated for this product.) and go to the product it takes me to my homepage. I believe the problem is within my .htaccess file, but i'm not sure. The .htaccess file is located in the sites root directory and this is what my htaccess looks like. I changed the admin folder to custom in the code below. Any help would be greatly appreciated. The site url is http://qualityautowi.com

## BEGIN CEON URI MAPPING REWRITE RULE

RewriteEngine On

# Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])
RewriteCond %{REQUEST_URI} !\.[a-z]{2,5}$ [NC]
# Don't rewrite any URIs for some, popular specific file format extensions,
#   which are not covered by main file extension condition above
RewriteCond %{REQUEST_URI} !\.(mp3|mp4|h264)$ [NC]
# Don't rewrite any URIs for some specific file format extensions,
#   which are not covered by main file extension condition above
#   Uncomment the following line to apply this condition! (Remove the # at the start of the next line)
#RewriteCond %{REQUEST_URI} !\.(3gp|3g2|h261|h263|mj2|mjp2|mp4v|mpg4|m1v|m2v|m4u|f4v|m4v|3dml)$ [NC]
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/custom admin folder [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/editors/ [NC]
# Don't rewrite .qidb directory
RewriteCond %{REQUEST_URI} !^/\.qidb/ [NC]
# Don't rewrite bmz_cache directory
RewriteCond %{REQUEST_URI} !^/bmz_cache/ [NC]
# Don't rewrite ajax directory
RewriteCond %{REQUEST_URI} !^/ajax/ [NC]
# Handle all other URIs using Zen Cart (its index.php)
RewriteRule .* index.php [QSA,L]

## END CEON URI MAPPING REWRITE RULE
2 Jul 2012, 4:26 PM
#2
neil_9481 avatar

neil_9481

New Zenner

Join Date:
Jul 2012
Posts:
22
Plugin Contributions:
0

Re: Problem with Ceon Uri Mapping Add on

GodfatherAntiques:

BEGIN CEON URI MAPPING REWRITE RULE

RewriteEngine On

Don't rewrite any URIs ending with a file extension (ending with .[xxxxx])

RewriteCond %{REQUEST_URI} !.[a-z]{2,5}$ [NC]

Don't rewrite any URIs for some, popular specific file format extensions,

which are not covered by main file extension condition above

RewriteCond %{REQUEST_URI} !.(mp3|mp4|h264)$ [NC]

Don't rewrite any URIs for some specific file format extensions,

which are not covered by main file extension condition above

Uncomment the following line to apply this condition! (Remove the # at the start of the next line)

#RewriteCond %{REQUEST_URI} !.(3gp|3g2|h261|h263|mj2|mjp2|mp4v|mpg4|m1v|m2v|m4u|f4v|m4v|3dml)$ [NC]

Don't rewrite admin directory

RewriteCond %{REQUEST_URI} !^/custom admin folder [NC]

Don't rewrite editors directory

RewriteCond %{REQUEST_URI} !^/editors/ [NC]

Don't rewrite .qidb directory

RewriteCond %{REQUEST_URI} !^/.qidb/ [NC]

Don't rewrite bmz_cache directory

RewriteCond %{REQUEST_URI} !^/bmz_cache/ [NC]

Don't rewrite ajax directory

RewriteCond %{REQUEST_URI} !^/ajax/ [NC]

Handle all other URIs using Zen Cart (its index.php)

RewriteRule .* index.php [QSA,L]
RewriteRule .* /index.php [QSA,L]

END CEON URI MAPPING REWRITE RULE


Try changing the .htaccess as shown above remove the index.php line and replace it with the /index.php some servers require tis setting.
2 Jul 2012, 4:33 PM
#3
godfatherantiques avatar

godfatherantiques

Zen Follower

Join Date:
Nov 2010
Posts:
101
Plugin Contributions:
0

Re: Problem with Ceon Uri Mapping Add on

I have tried both ways and it does the same thing. Also i'm using 1.5v of the ceon uri mapping.

2 Jul 2012, 4:38 PM
#4
godfatherantiques avatar

godfatherantiques

Zen Follower

Join Date:
Nov 2010
Posts:
101
Plugin Contributions:
0

Re: Problem with Ceon Uri Mapping Add on

This is the uri rewrite url for the 2003 ford mustang http://qualityautowi.com/Cars/2003-Ford-Mustang and as you can see its going to the homepage not to the product.

2 Jul 2012, 6:27 PM
#5
torvista avatar

torvista

Totally Zenned

Join Date:
Aug 2007
Location:
Gijón, Asturias, Spain
Posts:
2,880
Plugin Contributions:
7

Re: Problem with Ceon Uri Mapping Add on

Why start a new thread in the General Questions about Zen Cart instead of in the add-on module support thread where the developer of the mod will see it?

Steve
github.com/torvista: BackupMySQL, Structured Data, Multiple Copy-Move-Delete, Google reCaptcha, Image Checker, Spanish Language Pack and more...

2 Jul 2012, 7:04 PM
#6
godfatherantiques avatar

godfatherantiques

Zen Follower

Join Date:
Nov 2010
Posts:
101
Plugin Contributions:
0

Re: Problem with Ceon Uri Mapping Add on

The reason why I didn't post in the support forum is because the forum was getting to large.