Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
new2u
Is there a way to change the home link on the site to direct to / rather than /index.php?main_page=index .... ? I am using the ceon uri remap,
By default if your site uses
define('DIR_WS_CATALOG', '/');
in your configure.php file then your homepage should just be /
If that isn't happening for you then you should check your htaccess file and your configure.php settings. You should also check if you have any hard-coded index.php?main_page=index links on your site.
I'm afraid that's as much help as I can be as anything else is probably a problem with your server/site setup which would need someone to take a look at manually. Good luck with this.
All the best...
Conor
ceon
Re: Ceon URI Mapping (SEO)
Hi everyone,
Just an FYI for an issue I had:
My installation is at my root level, so I used the first .htaccess code example from the documentation.
The rewrite statement at the end is:
RewriteRule (.*) index.php?%{QUERY_STRING} [L]
For my installation, I had to add the ^ symbol before the (.*) in order for it to not throw 404 (page-not-found) errors.
ie: RewriteRule ^(.*) index.php?%{QUERY_STRING} [L]
I don't know if this is just because of the particular server I'm on (hosted with Steadfast Networks) or if it's possibly a typo.
Anyhoo, that's what worked for me. Hopefully it may save someone else from pulling their hair out.
Re: Ceon URI Mapping (SEO)
Quote:
Given the above and the section of the docs "Specifying the current URI Mapping for any other Zen Cart page" (part 2 of that section) you should be able to figure out what to enter.
I'll say specifically though so I don't need to reply later. please read the docs and try it yourself first then take note of the following if need be:
uri will be
/news/article_title
main_page will be
news_article
query_string_parameters will be
article_id=1
Enjoy the module and good luck with your site.
Now to get on to actual development work etc... :)
All the best...
Conor
dear Ceon,
Great! worked perfect! genious mod.
but we have to inset table by phpMyadmin for every articles.
is it possible to set the article url through admin ares, jsut like category / ezpage .....:clap:
many appreciated for your sugestions.
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
Jerry5763837
dear Ceon,
Great! worked perfect! genious mod.
but we have to inset table by phpMyadmin for every articles.
is it possible to set the article url through admin ares, jsut like category / ezpage .....:clap:
many appreciated for your sugestions.
This is answered in the very well written readme document that comes with this module.. In the very same place that explains how to create URIs for other site pages..
I agree with Conor's previous statement.. "I'll be honest with you, it doesn't appear you spent much time at all reading the instructions"
Re: Ceon URI Mapping (SEO)
Quote:
Originally Posted by
DivaVocals
This is answered in the very well written readme document that comes with this module.. In the very same place that explains how to create URIs for other site pages..
I agree with Conor's previous statement.. "I'll be honest with you, it doesn't appear you spent much time at all reading the instructions"
Hi DivaVocals,
You are right, it can rewirt the /index_page?main_page=news_article&article_id=4 by inset table into SQL. however, when pulish each areticle, have go to SQL by phpMyadmin to insert table for every artecle,
I mean is it possible to manually edit URL for each article through Admin area, same as category/product/ezpage ?:lamo:
Re: Ceon URI Mapping (SEO)
Hi,
Quote:
Originally Posted by
Jerry5763837
I mean is it possible to manually edit URL for each article through Admin area, same as category/product/ezpage ?:lamo:
The news articles module is a third party module which is not part of Zen Cart as standard.
It would be perfectly possible to rewrite it to add in support for auto-generating URIs using the URI Mapping autogeneration software.
You'd have to add this functionality yourself or pay to have it added, there are no plans at Ceon to start updating other modules for free to use URI Mapping autogeneration.
All the best...
Conor
ceon
Re: Ceon URI Mapping (SEO)
Thanks for this great mod Connor.
I installed and it works perfectly first time!
It did take a while to find out how to get my ezpage links to work but once I found out how to add them to the database with myphpadmin everything was easy!
I have a question regarding omitting certain links from URI mapping.
I've searched for hours and found nothing so I hope someone here can help.
In my store, when you're looking at the shopping cart page and you click on one of the products in your cart, you're taken to the product info page.
If the product has attributes, the attribute id is appended to the URI.
For example,
If I click on a product in the product listing, the URI I see is:
/shop/index.php?main_page=product_info&products_id=84
Whereas if I click on the same product in the shopping cart, the URI I see is:
/shop/index.php?main_page=product_info&products_id=84:4f76ce1edf582a4cbb64beef4a416bc7
The bit after the colon is the attribute id.
My question is, can I somehow stop the second link being processed by the URI mapping?
I was thinking of a rule in the .htaccess file that omits anything with a query string of
main_page=product_info&products_id=*:*
but am not sure if it is possible or if it is what the correct syntax would be?
The reason I need to do this is because my product info page needs to be able to read the products_id value from the URI to do some extra custom processing.
If there's a better way to leave this on the URI other than by .htaccess please let me know!
Thanks for your help!
Regards,
Damian
Re: Ceon URI Mapping (SEO)
Hi,
Glad you like the software!
Quote:
Originally Posted by
damiantaylor
The reason I need to do this is because my product info page needs to be able to read the products_id value from the URI to do some extra custom processing.
Why not just adjust that custom code of yours to strip everything after the colon in the product's ID?
I think you should probably start a separate thread about this, it's not really a URI Mapping issue.
All the best...
Conor
ceon
Re: Ceon URI Mapping (SEO)
Hi Conor,
What a great script you have, it is outstanding, the guide also very comprehensive.
I just testing in one of my client's site, it works great, but this site has existing categories and products, there are about thousand of them, so since this mod doesn't mapping existing categories and products, I have to go to each category and product and click 'edit' and 'save' so that the script auto generated the URI, without clicking 'edit' and 'save' the original dynamic URL doesn't change.
I'm sure there is a way to auto-generated all existing categories/products, but I couldn't find it after browsing the support thread.
I really appreciate if you can give me a hint how to solve this problem, not really a mod problem, but a huge task for me to go to and edit each of thousand products.
Also one issue I got, after editing a product, I found additional at the end 'cPath=", how to get rid of this? I didn't yet search thread for a solution, but might want to know if this is a simple fix.
Thanks so much!
Donny
Re: Ceon URI Mapping (SEO)
I had a couple of hours away from this and think I have come up with a fix.
If Ceon URI Mapping has broken your edit cart mod, try this. It seems to work for me :clap:
http://www.zen-cart.com/forum/showth...537#post836537
I'm not sure if it will work with any other SEO mods other than Ceon though