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

Ceon URI Mapping (SEO)

Locked

Views: 472,234

Results 2,441 to 2,460 of 2,913
This thread is locked. New replies are disabled.
19 Feb 2011, 2:29 PM
#2441
conor avatar

conor

Passed

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

Ceon URI Mapping (SEO)

Hi,

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:

Yes, .htaccess files can't be in RTF format, that's what I was saying! :)

Enjoy the rest of your weekend and your new URIs! :)

All the best...

Conor
ceon

19 Feb 2011, 2:32 PM
#2442
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:

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

lol I'm not psychic! Whatever the path to your store is in DIR_FS_CATALOG is, add "/YOURADMINFOLDERNAME" to the end of it in DIR_FS_ADMIN.

All the best...

Conor
ceon

19 Feb 2011, 2:34 PM
#2443
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Morning,

billett:

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.

I'm afraid I don't know what you've done wrong.. certainly there are no problems with 3.8.0.. try installing it again from scratch, you may simply have made a mistake when merging files or something and that has broken a file on your site.

Also check the value of DIR_FS_ADMIN is okay in admin/includes/configure.php

Have a nice weekend.

All the best...

Conor
ceon

19 Feb 2011, 9:30 PM
#2444
vescera avatar

vescera

New Zenner

Join Date:
Sep 2010
Posts:
24
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Hello

I want to install Ceon URI Mapping but I need modified_core_files for
1.3.9h version of zen. Can somebody share this, thanx.

19 Feb 2011, 9:59 PM
#2445
freeohio avatar

freeohio

New Zenner

Join Date:
Dec 2007
Posts:
9
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Is there a package for 1.3.9h? I'm unable to get it up on that version after having it running in 1.3.8a. Loaded Zencart and test products from scratch. Installed your extension. Configured it. No options for url on Category/Products.

Read this thread again and reloaded modified core files as suggested. No options for url.

Checked db for ceon tables - Yep. Search for ceon in tool kit - Yep. Look at code for editing products - ceon code is in there.

Sending you an overdue pint today Conor. Your support of this contribution is above and beyond.

20 Feb 2011, 1:10 PM
#2446
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

vescera:

I want to install Ceon URI Mapping but I need modified_core_files for
1.3.9h version of zen. Can somebody share this, thanx.

Download version 3.8.0 and use the files for 1.3.9d.. they're practically identical.

All the best..

Conor
ceon

20 Feb 2011, 2:31 PM
#2447
vescera avatar

vescera

New Zenner

Join Date:
Sep 2010
Posts:
24
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

conor:

Hi,

Download version 3.8.0 and use the files for 1.3.9d.. they're practically identical.

All the best..

Conor
ceon

Thanx for info Conor. :wink:

20 Feb 2011, 7:43 PM
#2448
mx809 avatar

mx809

New Zenner

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

Re: Ceon URI Mapping (SEO)

conor:

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

Alright, I checked the html_output.php and it shows the ceon uri code in it, I don't see a modified html_output.php.

I merged the .htaccess with the existing one in the main directory of my shop, and it has the following in it:
(Sorry I am not experienced with any kind of code but I think I've followed all the directions in the docs.) THANKS!

This is used with Apache WebServers

The following blocks direct HTTP requests in this directory recursively

For this to work, you must include the parameter 'Limit' to the AllowOverride configuration

Example:

#<Directory "/usr/local/apache/htdocs">

AllowOverride Limit

'All' with also work. (This configuration is in your apache/conf/httpd.conf file)

This does not affect PHP include/require functions

Example: http://server/catalog/includes/application_top.php will not work

<Files *.php>
Order Deny,Allow
Deny from all
</Files>

RewriteEngine On

ONLY rewrite URIs beginning with /shop/

RewriteCond %{REQUEST_URI} ^/shop/ [NC]

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} !^/shop/admin [NC]

Don't rewrite editors directory

RewriteCond %{REQUEST_URI} !^/shop/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]

21 Feb 2011, 11:25 AM
#2449
ashleyng2 avatar

ashleyng2

New Zenner

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

Re: Ceon URI Mapping (SEO)

First I would like to say thank you to Ceon for this great module !!

I am having an issue trying to get this module to correctly map the main_page=advanced_search_result, I have managed to correctly map many urls manually through the phpmyadmin tables but this one eludes me.

After inserting a new entry into the ceon_uri_mappings table my settings are as follows:
uri: /advanced-search-result
language id: 1
current_uri: 1
main_page: advanced_search_result
and the rest as default

The advanced_search uri is mapping correctly, but this one (for the search results) shows a uri as DOMAIN.co.uk/advanced-search-result?main_page=advanced_search_result&keyword=ceon&categories_id=&inc_subcat=1&manufact...

Obviously the result I want is:
DOMAIN.co.uk/advanced-search-result?keyword=ceon&categories_id=&inc_subcat=1&manufact...

Which does actually work when I manually type it in the address bar, but after using the search function on the website it shows the incorrect mapping.

Thank you to anyone who assists me. :)

22 Feb 2011, 8:41 AM
#2450
enzo_ita avatar

enzo_ita

Zen Follower

Join Date:
Jul 2009
Posts:
402
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

Hi Connor,
I found suddenly a problem that I think is related to Ceon URI mapping and would explain why my bouncing rate is growing up day by day.
The ez pages are not shown,
Clicking on a ez page this is what you get
1146 Table 'acquatua_zenen.ezpages_content' doesn't exist
in:
[select e.pages_id, e.page_open_new_window, e.page_is_ssl, e.alt_url, e.alt_url_external, e.header_sort_order, e.sidebox_sort_order, e.footer_sort_order, e.toc_sort_order, e.toc_chapter, e.status_header, e.status_sidebox, e.status_footer, status_toc, et.pages_title, et.pages_html_text from ezpages e, ezpages_content et where e.pages_id = et.pages_id and et.languages_id = '2' and e.pages_id = 10]

I do not know since when this happens and I am not sure why it happens. I am sure the ez pages did work before Ceon URI mapping.
My best guess is that something went wrong when the URI mapping created the db tables, but I can not be sure because I do not know the structure of the db.
The ez pages are there in the admin section and I can see and mod them.
I am runnig 1.39h and Ceon 3.8.0
If you want to watch my site is www. a c q u a t u a.it
Please help, the ezpages are important for my site.
Thanks
enzo

22 Feb 2011, 10:08 AM
#2451
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

AshleyNG2:

The advanced_search uri is mapping correctly, but this one (for the search results) shows a uri as DOMAIN.co.uk/advanced-search-result?main_page=advanced_search_result&keyword=ceon&categories_id=&inc_subcat=1&manufact..

You have indeed set up the mapping correctly.

However, the problem is not with Ceon URI Mapping but Zen Cart.

The page you are talking about is building a URI by sending data via a form's GET method. It is appending the main_page=advanced_search_result.

You have to modify the code in the template, Ceon URI Mapping can do nothing for you here.

Remove the "main_page" input variable from the source code.

Or just don't worry about this at all as search forms which append parameters aren't that unusual to people and aren't indexed by Google because the canonical URI for the page is /advanced-search-result

All the best..

Conor
ceon

22 Feb 2011, 10:11 AM
#2452
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi Enzo,

enzo-ita:

1146 Table 'acquatua_zenen.ezpages_content' doesn't exist
in:

That's nothing to do with Ceon URI Mapping. It doesn't create any EZ-Page tables.. I have no idea what the ezpages_content table is but it must be from a mod **you **installed.. it's not part of the standard Zen Cart either.

Good luck in finding the solution.. I suggest you start another thread on the forum if you can't fix this yourself.

All the best..

Conor
ceon

23 Feb 2011, 5:22 PM
#2453
ashleyng2 avatar

ashleyng2

New Zenner

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

Re: Ceon URI Mapping (SEO)

Cheers Conor, I will just figure out where the main_page variable is in the source code and remove it, thanks for your help :)

conor:

Hi,

You have indeed set up the mapping correctly.

However, the problem is not with Ceon URI Mapping but Zen Cart.

The page you are talking about is building a URI by sending data via a form's GET method. It is appending the main_page=advanced_search_result.

You have to modify the code in the template, Ceon URI Mapping can do nothing for you here.

Remove the "main_page" input variable from the source code.

Or just don't worry about this at all as search forms which append parameters aren't that unusual to people and aren't indexed by Google because the canonical URI for the page is /advanced-search-result

All the best..

Conor
ceon

23 Feb 2011, 6:35 PM
#2454
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

AshleyNG2:

Cheers Conor, I will just figure out where the main_page variable is in the source code and remove it, thanks for your help :)

I searched the templates folder and can see that the following:

zen_draw_hidden_field('main_page'

is in the files

/includes/templates/template_default/templates/tpl_advanced_search_default.php
/includes/templates/template_default/templates/tpl_gv_faq_default.php
/includes/templates/template_default/templates/tpl_index_product_list.php
/includes/templates/template_default/templates/tpl_modules_listing_display_order.php

Hope that helps.

All the best..

Conor
ceon

23 Feb 2011, 9:02 PM
#2455
billett avatar

billett

New Zenner

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

Re: Ceon URI Mapping (SEO)

ok ive sorted out the white page issue, and have upgraded again to 3.8.0 but when I turn URI on and access a product i get

Not Found

The requested URL /mice/genius-mouse-traveler-515-laser-usb-ret was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

I have debugging on and no errors are reported.

24 Feb 2011, 4:31 AM
#2456
uruharacosplay avatar

uruharacosplay

Zen Follower

Join Date:
Nov 2007
Location:
Atlanta, GA
Posts:
125
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

1.3.9h
I've installed Categories Dressing (not fully configured), additional product images, ultimate cross-sell, and javascript snow.
I am unsure of what template I am exactly using: whether it be "template_default", "your_template", or "classic."
http://www.akihabaracosplay.com
I use Hosting Duo and CPanel, I upload files with FileZilla.

Hi, Conor!
I've yet to see this add on work, but that's because I'm really lost. I have no idea what httpd.conf is or where I can even find it. How do I change this? I've searched all over Google and I just don't get it...how am I supposed to change my rewrite settings?

Setting up a Rewrite Rule

The URI mapping provided by this module is made possible using a very simple URI rewriting rule.

This rule must be added to the webserver configuration for the site.

For the Apache webserver, this rule can either be put in the VirtualHost directive for the site or within a .htaccess file (if the appropriate security settings allow its use within .htaccess files).

Please Note: If putting this rule in a VirtualHost directive, the RewriteRule will need to have the relative path to the Zen Cart directory prepended to index.php.

Details of how to enable mod_rewrite or how to add this rule to the Apache configuration will not be given here, please consult the Apache documentation or search the internet for a guide, there are plenty of them.

If an error is encountered, please consult the FAQs for possible fixes or ask your webhost for help. Only after trying those two options should you post to the forum as the problem is likely to be server-specific and therefore of no general interest to everyone else who needs to use the support thread!

Thanks,
Indi

24 Feb 2011, 4:40 AM
#2457
uruharacosplay avatar

uruharacosplay

Zen Follower

Join Date:
Nov 2007
Location:
Atlanta, GA
Posts:
125
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

AHA!

I believe this is located in the Cpanel's "File Manager" under the /www folder with the file named .htaccess

24 Feb 2011, 5:55 AM
#2458
uruharacosplay avatar

uruharacosplay

Zen Follower

Join Date:
Nov 2007
Location:
Atlanta, GA
Posts:
125
Plugin Contributions:
0

Re: Ceon URI Mapping (SEO)

This seemed to have worked before, but I think I'm just not getting the "rewrite code" correct:

I don't know what to do. My admin folder's name is zc_admin and I thought my store was installed on the root. What should I write?

24 Feb 2011, 10:59 AM
#2459
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

billett:

ok ive sorted out the white page issue, and have upgraded again to 3.8.0 but when I turn URI on and access a product i get

Not Found

You need to get a working rewrite rule in a .htaccess file for your site.

Please read the configuration section of the documentation and carry out the required steps.

All the best..

Conor
ceon

24 Feb 2011, 11:02 AM
#2460
conor avatar

conor

Passed

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

Re: Ceon URI Mapping (SEO)

Hi,

uruharacosplay:

I don't know what to do. My admin folder's name is zc_admin and I thought my store was installed on the root. What should I write?

You should put the following in the .htaccess that is in your STORE's directory.. it should be ALONGSIDE index.php:

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]
```All the best...

Conor
[ceon](http://dev.ceon.net)