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

Ceon URI Mapping (SEO)

Locked

Views: 472,304

Results 981 to 1,000 of 2,913
This thread is locked. New replies are disabled.
30 Dec 2009, 12:12 AM
#981
alan145 avatar

alan145

New Zenner

Join Date:
Aug 2009
Posts:
63
Plugin Contributions:
0

Ceon URI Mapping (SEO)

Hello DivaVocals and Conor,
I try to change the code by myself, and now it display OK. but the only problem is now it doesn't use the CSS files,
but it is OK for me, I don't know web page code, so I can't do it perfect.
Thanks for your help, really appreciate.
Regards,
Alan

30 Dec 2009, 12:26 AM
#982
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)

alan145:

Hello DivaVocals and Conor,
I try to change the code by myself, and now it display OK. but the only problem is now it doesn't use the CSS files,
but it is OK for me, I don't know web page code, so I can't do it perfect.
Thanks for your help, really appreciate.
Regards,
AlanAlan, please take my advice here..:smile: You REALLY need to start YOUR OWN THREAD if you want help with this.. At this point you have HIJACKED this thread with LOTS of posts that have NOTHING to do with supporting the Ceon SEO mod..

30 Dec 2009, 11:56 AM
#983
alepia avatar

alepia

Zen Follower

Join Date:
Dec 2008
Posts:
158
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Still trying on installing this addons in my website... but it seems so hard
When I click a product/category that has a Ceon modified url I just get this:
Quote:
Not Found

The requested URL /shop/ideeregalo was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.7a mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 PHP/5.2.11 Server at alepia.ch Port 80
What's the matter??

Thanks for the help!

30 Dec 2009, 12:27 PM
#984
stecrox avatar

stecrox

New Zenner

Join Date:
Jan 2008
Location:
Perth. Australia
Posts:
64
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Conor

I think I have followed all the instructions as given and installed the .htaccess file as suggested. However I get an HTTP 404 - File not found message.

The site is http://www.sealersdirect.com and I only have one category.
This is a fresh install and the only module that has been installed is a google analytics module.
I have put the exclude in as /includes/templates/classic/google_analytics/google_analytics.php

However the problem still exists.

I hope you are able to help.

thanks.

Stephen

30 Dec 2009, 4:51 PM
#985
new2u avatar

new2u

Zen Follower

Join Date:
Sep 2009
Posts:
186
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Was anyone able to get google checkout to work with this? if so what did you exclude?

1 Jan 2010, 8:23 PM
#986
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,066
Plugin Contributions:
56

Re: Ceon URI Mapping (SEO)

I've got a fresh 1.38a+security+CSS drop-down menus store I'm working on. I installed the Ceon URI Mapping mod, along with the changes to my .htaccess file. I don't have any products yet, so I used phpMyAdmin to add a record to get the contact_us page 'renamed' (uri = /contact_us, lang_id = 1, current_uri = 1, main_page = contact_us).

#
# Request PHP 5.0
#
AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php
#
# Ensure the correct mime type is sent for the .htc file
#
AddType text/x-component .htc
#
# Add the www if it's missing ...
#
RewriteEngine On

RewriteCond %{HTTP_HOST} ^mydomain.com$ [NC]

RewriteRule ^(.*)$ http://www.mydomain.com/$1 [R=301,L]
#
# Added for Ceon URI Mapping add-on
#
# Don't rewrite any URIs ending with a file extension (ending with .[xxxx])
RewriteCond %{REQUEST_URI} !\.[a-zA-Z]{2,4}$
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/admin.* [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/editors.* [NC]
# Handle all other URIs using Zen Cart (index.php)
RewriteRule (.*) index.php?%{QUERY_STRING} [L]
#
# Point 404 errors to the website-specific page
#
ErrorDocument 404 http://www.mydomain.com/index.php?main_page=page_not_found

What's funny is that all accesses to my admin directory ARE being rewritten and all my store's accesses result in a 404. Any ideas?

2 Jan 2010, 9:45 AM
#987
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

alepia:

What's the matter??

Get in contact via this address with FTP and admin details for your site and I'll take a quick look to see what you are doing wrong.

All the best...

Conor
ceon

2 Jan 2010, 9:49 AM
#988
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

lat9:

What's funny is that all accesses to my admin directory ARE being rewritten and all my store's accesses result in a 404. Any ideas?

I'm afraid I don't have ideas, clearly the behaviour you have described makes little sense! It means that the rewriterule you have posted is not being used as expected.. otherwise the admin directory would of course be excluded.

All the best...

Conor
ceon

2 Jan 2010, 9:51 AM
#989
glittergoth avatar

glittergoth

New Zenner

Join Date:
Nov 2009
Posts:
11
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Hi Conor,

I must be suffering New Year blindness or something, but I can't find the section that enables me to rewrite the URLS for the core pages such as /index.php?main_page=shippinginfo

I'm blithely looking around the acp for some handy box to type it into, as there is in the categories/products, and I'm guessing there's some other method by which to rewrite the core files.

Either that or, as I said, it's New Year blindness and right under my nose, and I'm just not seeing it!

Thanks in advance for your help!

GG

2 Jan 2010, 9:53 AM
#990
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

stecrox:

However the problem still exists.

Unfortunately that simply means you have done something wrong. I'd suggest going through the whole process again and checking your working.

All the best...

Conor
ceon

2 Jan 2010, 9:54 AM
#991
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

GlitterGoth:

Either that or, as I said, it's New Year blindness and right under my nose, and I'm just not seeing it!

There is no admin for those pages.. please read the documentation for the module.

You'll find instructions for adding URIs for other Zen Cart pages in the configuration section.

All the best..

Conor
ceon

2 Jan 2010, 11:36 AM
#992
achieveseed avatar

achieveseed

New Zenner

Join Date:
Nov 2009
Posts:
2
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

matt-h:

Hi
I've successfully installed the module and have one question :)
I temporarily want my default homepage to be index.html rather than my zen cart homepage which is index.php.
I've added 'DirectoryIndex index.html index.php' to my htaccess file but unless I remove all the rewritecond rules it doesn't have any effect.
Is it possible to have both the Directory index rules and the rewritecond rules work?
Thanks

Hi Conor, I'm new to zen cart. Thanks for your module & support. I've briefed all pages, till here @ 100 page searching for solution for my problem. Like, above poster, i think i'm having the same problem where I like my page first as index.html

If i removed/remarked these two lines (as below), ceon uri mapping module is working fine but no longer able to access index.html (being skipped).

If these 2 lines are activated(un-remark) then i'll get page "404 Not Found" when clicking on the product (which has been uri mapped) and my index.html page is accessible as the first page

RewriteCond %{HTTP_HOST} ^mydomain.com$ [NC]

RewriteRule ^(.*)$ http://www.mydomain.com/$1 [R=301,L]

Here is my .htaccess:-

DirectoryIndex index.html index.php index.htm

-FrontPage-

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

<Limit GET POST> order deny,allow deny from all allow from all </Limit> <Limit PUT DELETE> order deny,allow deny from all </Limit> AuthName hadiah4u.com AuthUserFile /home/public_html/_vti_pvt/service.pwd AuthGroupFile /home/public_html/_vti_pvt/service.grp

RewriteEngine On

RewriteCond %{HTTP_HOST} ^mydomain.com$ [NC]

RewriteRule ^(.*)$ http://www.mydomain.com/$1 [R=301,L]

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

RewriteCond %{REQUEST_URI} !.[a-zA-Z]{2,4}$ [OR]
RewriteCond %{REQUEST_URI} .(html)$ [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?%{QUERY_STRING} [L]

====================================
Could you please kindly advise how should I work around this
problem? I still prefer my first page is https://www.mydomain.com/index.html

Thank you.

2 Jan 2010, 1:00 PM
#993
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

achieveseed:

Could you please kindly advise how should I work around this
problem? I still prefer my first page is www.mydomain.com/index.html

Everything you've posted looks fine.. I can't see why things aren't working as you desire. Maybe you have some other htaccess files somewhere else that are overriding aspects of the one you posted?

Sorry I can't be of more help than that!

All the best...

Conor
ceon

2 Jan 2010, 1:11 PM
#994
achieveseed avatar

achieveseed

New Zenner

Join Date:
Nov 2009
Posts:
2
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

conor:

Hi,

Everything you've posted looks fine.. I can't see why things aren't working as you desire. Maybe you have some other htaccess files somewhere else that are overriding aspects of the one you posted?

Sorry I can't be of more help than that!

All the best...

Conor
ceon

hi,
you are real quick in replying my post :)
ok then, i'll check all oth .htaccess files and trial & error see if i got luck to hit good or not.

Thanks!

2 Jan 2010, 1:16 PM
#995
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

achieveseed:

you are real quick in replying my post :)

No problem.. I don't like having a backlog so it's always better for me to reply promptly! :)

achieveseed:

ok then, i'll check all oth .htaccess files and trial & error see if i got luck to hit good or not.

Yes, sorry I can't be of more help but as I said, what you posted should work as expected, so that points towards something else being responsible for the problem.

All the best...

Conor
ceon

3 Jan 2010, 1:02 PM
#996
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,066
Plugin Contributions:
56

Re: Ceon URI Mapping (SEO)

Colon, I'm still trying to track this down and I really appreciate the time you took to give my site a look-see. I've verified that that my ErrorDocument 404 is what's redirecting to page_not_found (I changed it to privacy to test).

What page request should I expect to see in the server log if I've set a uri mapping (uri = /contact_us, main_page=contact_us, langid=1, current_uri=1)? What I'm seeing in my server log is:

xx.xxx.xx.xx - - [03/Jan/2010:07:25:56 -0500] "GET /contact_us HTTP/1.1" 302 256 www.mysite.com "http://www.mysite.com/index.php?main_page=page_not_found" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.6) Gecko/20091201 Firefox/3.5.6" "-"

using these rewrite rules:

#
# Added for Ceon URI Mapping add-on
#
# Don't rewrite any URIs ending with a file extension (ending with .[xxxx])
RewriteCond %{REQUEST_URI} !\.[a-zA-Z]{2,4}$
# Don't rewrite admin directory
RewriteCond %{REQUEST_URI} !^/admin.* [NC]
# Don't rewrite editors directory
RewriteCond %{REQUEST_URI} !^/editors.* [NC]
# Handle all other URIs using Zen Cart (index.php)
RewriteRule (.*) index.php?%{QUERY_STRING} [L]
3 Jan 2010, 2:47 PM
#997
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

lat9:

Colon, I'm still trying to track this down and I really appreciate the time you took to give my site a look-see. I've verified that that my ErrorDocument 404 is what's redirecting to page_not_found (I changed it to privacy to test).

My name's not Colon!

No problem about looking.. it's just a pity I couldn't find the cause of the problem.

lat9:

What page request should I expect to see in the server log if I've set a uri mapping (uri = /contact_us, main_page=contact_us, langid=1, current_uri=1)? What I'm seeing in my server log is:

I'm afraid my knowledge of Apache's access/error logs isn't sufficient to answer your query. Hopefully someone else here can help!

All the best...

Conor
ceon

3 Jan 2010, 5:20 PM
#998
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,066
Plugin Contributions:
56

Re: Ceon URI Mapping (SEO)

Sorry about that; I'd just spent 3 hours fussing with my stupid .htaccess file and was a bit frustrated.

3 Jan 2010, 5:48 PM
#999
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,066
Plugin Contributions:
56

Re: Ceon URI Mapping (SEO)

Finally! :clap:

If anyone else has this problem, here's what's up. I'm hosted on 1and1 and have my website root pointed to a subdirectory off the base. Adding the following to my .htaccess (after the RewriteEngine On and before the changes specified in the Ceon URI Mapping document) did the trick:

RewriteBase /

Isn't Google wonderful ... and how did we ever get anything accomplished without it?

3 Jan 2010, 6:07 PM
#1000
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

lat9:

If anyone else has this problem, here's what's up. I'm hosted on 1and1 and have my website root pointed to a subdirectory off the base.

That would indeed explain things. You'd mentioned being in a folder but you hadn't told me the FTP access you gave me was restricted to that folder.. so, given the layout I saw when I FTPed in, I assumed it was the root folder.. it's a pity you set up the FTP account that way or you could have avoided spending so much time on this! :(

Nevertheless, glad you've got sorted now!

All the best...

Conor
ceon