Zen Cart Logo
Forums / All Other Contributions/Addons / Ceon URI Mapping (SEO)

Ceon URI Mapping (SEO)

Locked

Views: 472,224

Results 2,421 to 2,440 of 2,913
This thread is locked. New replies are disabled.
16 Feb 2011, 11:01 PM
#2421
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Ceon URI Mapping (SEO)

See in red.. Is this the name of YOUR STORE's admin folder???

designhead:

posted in (the public_html folder)
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 admin directory

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

Don't rewrite editors directory

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

Don't rewrite cPanel directories

RewriteCond %{REQUEST_URI} !/cpanel [NC]
RewriteCond %{REQUEST_URI} !/frontend [NC]

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

RewriteRule .* index.php [QSA,L]

Ran into Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

16 Feb 2011, 11:49 PM
#2422
designhead avatar

designhead

New Zenner

Join Date:
Dec 2010
Posts:
7
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

DivaVocals:

See in red.. Is this the name of YOUR STORE's admin folder???

its
RewriteCond %{REQUEST_URI} !^/zc_admin [NC]
And Get 500 Internal Server Error error

17 Feb 2011, 12:00 AM
#2423
designhead avatar

designhead

New Zenner

Join Date:
Dec 2010
Posts:
7
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

DivaVocals:

See in red.. Is this the name of YOUR STORE's admin folder???

its
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 admin directory

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

Don't rewrite editors directory

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

Don't rewrite cPanel directories

RewriteCond %{REQUEST_URI} !/cpanel [NC]
RewriteCond %{REQUEST_URI} !/frontend [NC]

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

RewriteRule .* index.php [QSA,L]

And Get 500 Internal Server Error error

17 Feb 2011, 2:07 AM
#2424
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Ceon URI Mapping (SEO)

Did you try setting up your .htaccess file based on the instructions in the readme for this module?? Please re-read the instructions in step 1. As a hint, I highlighted the item that is the likely cause.. Please compare that to the options outlined in the readme..

designhead:

its
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 admin directory

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

Don't rewrite editors directory

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

Don't rewrite cPanel directories

RewriteCond %{REQUEST_URI} !/cpanel [NC]
RewriteCond %{REQUEST_URI} !/frontend [NC]

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

RewriteRule . index.php [QSA,L]*

And Get 500 Internal Server Error error

17 Feb 2011, 4:07 AM
#2425
mx809 avatar

mx809

New Zenner

Join Date:
Apr 2010
Posts:
6
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

conor:

Hi,

This is caused when you don't have a rewrite rule in place. You need to put a rewrite rule in the .htaccess folder alongside your index.php file.
ceon

I followed #2 on the docs/configuration.html page for .htaccess rules: "Example rule for stores installed in a folder other than the root of the site, with the admin named “admin”.

When I put this where the index.php file is in my FTP it broke the shopping cart part of the site, am I missing something in the rules to still allow the domain.com/shop to go to the shopping cart?

Thanks a lot!

17 Feb 2011, 4:09 AM
#2426
designhead avatar

designhead

New Zenner

Join Date:
Dec 2010
Posts:
7
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

DivaVocals:

Did you try setting up your .htaccess file based on the instructions in the readme for this module?? Please re-read the instructions in step 1. As a hint, I highlighted the item that is the likely cause.. Please compare that to the options outlined in the readme..

Thanks found that Mistake
but now I'm
Back to square one
404 error

17 Feb 2011, 10:40 AM
#2427
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping (SEO)

Hi,

MX809:

When I put this where the index.php file is in my FTP it broke the shopping cart part of the site, am I missing something in the rules to still allow the domain.com/shop to go to the shopping cart?

Sounds like you have either forgotten to modify includes/functions/html_output.php or have something wrong with your .htaccess which is conflicting.

All the best..

Conor
ceon

17 Feb 2011, 10:41 AM
#2428
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping (SEO)

Hi,

designhead:

Thanks found that Mistake
but now I'm
Back to square one
404 error

Please send me FTP and admin details for your site and I'll take a quick look.

All the best..

Conor
ceon

17 Feb 2011, 10:10 PM
#2429
bholmes avatar

bholmes

New Zenner

Join Date:
Dec 2010
Posts:
2
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Hello, I just did an install on an otherwise working website.

Version 1.3.9h

I used the core_modified_core files from the 1.3.9d folder.

The site is still working but now my ADMIN isn't. It doesn't even show up! It just displays a blank page. The url stays the same, so it's not redirecting anywhere. I put in the proper code to my .htaccess file and DID change the name of admin folder to the right name (I renamed my admin folder awhile back)

Any suggestions? Please help!

Here's my .htaccess code in case some of the other info may have not mixed with it. (I did already try deleting everything but the ceon code and it didn't work)

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 admin directory

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

Don't rewrite editors directory

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

Don't rewrite cPanel directories

RewriteCond %{REQUEST_URI} !/cpanel [NC]
RewriteCond %{REQUEST_URI} !/frontend [NC]

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

RewriteRule .* index.php?%{QUERY_STRING} [L]

Options +FollowSymlinks

RewriteEngine on

rewritecond %{http_host} ^a-sharpscontainers.com [nc]

rewriterule ^(.*)$ https://www.a-sharpscontainers.com/$1 [r=301,nc]

Options +FollowSymlinks -Indexes
RewriteCond %{THE_REQUEST} ^./index.php
RewriteRule ^(.
)index.php$ http://www.a-sharpscontainers.com/$1 [R=301,L]

Prevent directory viewing and the ability of any scripts to run.

No script, be it PHP, PERL or whatever, can normally be executed if ExecCGI is disabled.

Options -ExecCGI -Indexes

-FrontPage-

IndexIgnore .htaccess /.?? *~ *# /HEADER /README /_vti

<Limit GET POST> #The next line modified by DenyIP order allow,deny #The next line modified by DenyIP #deny from all allow from all </Limit> <Limit PUT DELETE> order deny,allow deny from all </Limit> AuthName a-sharpscontainers.com AuthUserFile /home/username/public_html/_vti_pvt/service.pwd AuthGroupFile /home/username/public_html/_vti_pvt/service.grp <Files 403.shtml> order allow,deny allow from all </Files>
18 Feb 2011, 12:16 PM
#2430
jaylee avatar

jaylee

New Zenner

Join Date:
Jan 2011
Posts:
18
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

I was having a lot of problems with my Paypal Express not working. Now after deactivating CEON URI and removing the .htaccess file from the root directory, I finally got it working again.
My problem is that I really want to have the CEON URI working. Everywhere I read, I do not find anyone who has this problem. I thought that the mod should not interfere with the ipn_handler.php file. but it seems to do so.
My htaccess file was very typical... What am I missing?

RewriteEngine On

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

RewriteCond %{REQUEST_URI} !.[a-zA-Z]{2,5}$ [OR]
RewriteCond %{REQUEST_URI} .(html|htm|php)$ [NC]

Don't rewrite admin directory

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

Don't rewrite editors directory

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

Don't rewrite cPanel directories

RewriteCond %{REQUEST_URI} !/cpanel [NC]
RewriteCond %{REQUEST_URI} !/frontend [NC]

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

RewriteRule .* index.php?%{QUERY_STRING} [L]

18 Feb 2011, 6:22 PM
#2431
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping (SEO)

Hi,

bholmes:

The site is still working but now my ADMIN isn't. It doesn't even show up!

I think you've forgotten to set the correct value of DIR_FS_ADMIN in your admin/includes/configure.php file.

All the best..

Conor
ceon

18 Feb 2011, 6:29 PM
#2432
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping (SEO)

Hi,

designhead:

get
*a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
*
I read and searched through the forum but not a straight answer for my problem.

You can't use a program like Word or Wordpad to create a .htaccess file!

Your file didn't work because it had gunk the like following at the start:

{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf350
{\fonttbl\f0\fmodern\fcharset0 Courier;}
{\colortbl;\red255\green255\blue255;}
\vieww9000\viewh8400\viewkind0
\deftab720
\pard\pardeftab720

\f0\fs24 \cf0 RewriteEngine On\
```You need to use notepad or some similar text editor when editing text documents.

All the best..

Conor
[ceon](http://dev.ceon.net)
18 Feb 2011, 6:35 PM
#2433
conor avatar

conor

Passed

Join Date:
Aug 2004
Location:
Belfast, Northern Ireland
Posts:
2,480
Plugin Contributions:
4

Re: Ceon URI Mapping (SEO)

Hi,

jaylee:

Everywhere I read, I do not find anyone who has this problem. I thought that the mod should not interfere with the ipn_handler.php file.

I'm afraid I don't have an answer for you.. the software runs fine with PayPal on several thousand Zen Cart sites.. why just your site is having issues is baffling.

Try changing your .htaccess to

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 admin directory
RewriteCond %{REQUEST_URI} !^/admin [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/editors [NC]
# Don't rewrite cPanel directories
RewriteCond %{REQUEST_URI} !/cpanel [NC]
RewriteCond %{REQUEST_URI} !/frontend [NC]
# Handle all other URIs using Zen Cart (index.php)
RewriteRule .* index.php [QSA,L]
```You shouldn't need to rewrite .htm or .php files... it's bad form to use .htm etc. at the end of static URIs.

Also, make sure you are using version 3.8.0.

Hopefully that helps.

All the best..

Conor
[ceon](http://dev.ceon.net)
18 Feb 2011, 6:41 PM
#2434
designhead avatar

designhead

New Zenner

Join Date:
Dec 2010
Posts:
7
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

conor:

Hi,

You can't use a program like Word or Wordpad to create a .htaccess file!

Your file didn't work because it had gunk the like following at the start:

{\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf350
{\fonttbl\f0\fmodern\fcharset0 Courier;}
{\colortbl;\red255\green255\blue255;}
\vieww9000\viewh8400\viewkind0
\deftab720
\pard\pardeftab720

\f0\fs24 \cf0 RewriteEngine On\

> 
> All the best..
> 
> Conor
> [ceon](http://dev.ceon.net)

I used Text Editor saved as RTF File then switched to .htaccess..... must of got mixed somehow,  But Thanks a lot Conner
Everything works great:clap:
18 Feb 2011, 7:41 PM
#2435
divavocals avatar

divavocals

Totally Zenned

Join Date:
Jan 2007
Location:
Los Angeles, California, United States
Posts:
10,011
Plugin Contributions:
3

Re: Ceon URI Mapping (SEO)

designhead:

I used Text Editor saved as RTF File then switched to .htaccess..... must of got mixed somehow, But Thanks a lot Conner
Everything works great:clap:Can't save ANY .htaccess file as RTF.. Suggest downloading Notepad++ and NOT using any of the default Windows/Mac programs.. This program is specifically designed for this kind of text file editing..

18 Feb 2011, 8:22 PM
#2436
bholmes avatar

bholmes

New Zenner

Join Date:
Dec 2010
Posts:
2
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

conor:

Hi,

I think you've forgotten to set the correct value of DIR_FS_ADMIN in your admin/includes/configure.php file.

All the best..

Conor
ceon

Hey Conor, thanks for responding quickly. What is the correct value?

18 Feb 2011, 8:53 PM
#2437
billett avatar

billett

New Zenner

Join Date:
Nov 2006
Posts:
48
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Ok so i upgraded to the newest version 3.8.0 today, now all i get is a white page for my website... :shocking: Ive tried installing again... can anyone help?

18 Feb 2011, 9:06 PM
#2438
billett avatar

billett

New Zenner

Join Date:
Nov 2006
Posts:
48
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

To my post above im using ZC v1.3.9h

19 Feb 2011, 1:41 AM
#2439
jaylee avatar

jaylee

New Zenner

Join Date:
Jan 2011
Posts:
18
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

conor:

Hi,

Try changing your .htaccess to

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 admin directory

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

Don't rewrite editors directory

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

Don't rewrite cPanel directories

RewriteCond %{REQUEST_URI} !/cpanel [NC]
RewriteCond %{REQUEST_URI} !/frontend [NC]

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

RewriteRule .* index.php [QSA,L]

> 
> Also, make sure you are using version 3.8.0.
> 
> Hopefully that helps.
> 
> All the best..
> 
> Conor
> [ceon](http://dev.ceon.net)

Conor ... You definately are awesome! Thank you so much. Everything works great now !
Hugs ...:hug:
19 Feb 2011, 10:04 AM
#2440
billett avatar

billett

New Zenner

Join Date:
Nov 2006
Posts:
48
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Morning all.

So further on from my white screen issue last night. I have restored all modified core files to their originals, removed all URI mapping files and pretty much restored all other files from backup.

It's strange as it seem like without it there it still causes the white screen yet it happened whilst installing the updated URI mapping. If anyone could help that would be great.

Chris