Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-09-2012, 03:01 AM
Real Mens Wallets's Avatar
Real Mens Wallets Real Mens Wallets is offline
 
Join Date: Mar 2012
Posts: 84
Default Inline SEO - no unique product titles

I have manually installed and enabled the inline SEO catalog as described for "any php site" here: http://kb.ecwid.com/w/page/25399581/...

using this archive :https://github.com/qetzal/ecwid-inli...

It appears there are no unique title <meta tags> for individual product pages. All product pages are displaying the same title.
For example the title tag for http://www.realmenswallets.com/crocodile-wallets is <title>Crocodile Wallet Crocodile Wallets For Men Genuine Leather Croc Wallet</title>

opening any of the html generated links on that page for a specific product: http://www.realmenswallets.com/croco...
the product title in ECWID is : Mens Crocodile Leather Wallet -The beast – Genuine Croc Skin .. yet the title remains the same as the parent/category page: <title>Crocodile Wallet Crocodile Wallets For Men Genuine Leather Croc Wallet</title>

the code placed on page is:
Code:
<?php
include "/home/content/a/n/a/ananyaant/html/realmenswallets/wp-content/plugins/ecwid-shopping-cart/lib/ecwid_catalog.php";
$params['store_id'] = 1072071;
$params['ecwid_default_category_id'] = 2348372;
$params['ecwid_pb_productspercolumn_grid'] = 4;
$params['ecwid_pb_productsperrow_grid'] = 4;
$params['ecwid_show_seo_catalog'] = true;
echo show_ecwid($params);
?>
is there are a "$params" that I can enter here to force titles to be parsed from the product title for each product


Please advise why this is not generating product specific titles based on the product title.

Regards
Peter

Last edited by peter ilbery; 06-09-2012 at 03:19 AM.
Reply With Quote
  #2  
Old 06-11-2012, 09:17 AM
Makfruit's Avatar
Makfruit Makfruit is offline
Ecwid Team
 
Join Date: Oct 2011
Posts: 3,299
Default

Quote:
Originally Posted by peter ilbery View Post
I have manually installed and enabled the inline SEO catalog as described for "any php site" here: http://kb.ecwid.com/w/page/25399581/...

using this archive :https://github.com/qetzal/ecwid-inli...

It appears there are no unique title <meta tags> for individual product pages. All product pages are displaying the same title.
For example the title tag for http://www.realmenswallets.com/crocodile-wallets is <title>Crocodile Wallet Crocodile Wallets For Men Genuine Leather Croc Wallet</title>

opening any of the html generated links on that page for a specific product: http://www.realmenswallets.com/croco...
the product title in ECWID is : Mens Crocodile Leather Wallet -The beast – Genuine Croc Skin .. yet the title remains the same as the parent/category page: <title>Crocodile Wallet Crocodile Wallets For Men Genuine Leather Croc Wallet</title>

the code placed on page is:
Code:
<?php
include "/home/content/a/n/a/ananyaant/html/realmenswallets/wp-content/plugins/ecwid-shopping-cart/lib/ecwid_catalog.php";
$params['store_id'] = 1072071;
$params['ecwid_default_category_id'] = 2348372;
$params['ecwid_pb_productspercolumn_grid'] = 4;
$params['ecwid_pb_productsperrow_grid'] = 4;
$params['ecwid_show_seo_catalog'] = true;
echo show_ecwid($params);
?>
is there are a "$params" that I can enter here to force titles to be parsed from the product title for each product


Please advise why this is not generating product specific titles based on the product title.

Regards
Peter
Hello Peter,

I believe Eugene answered this question in the related thread:
Quote:
The custom meta titles and descriptions are not the part of the common version of inline SEO catalog, because title and description are situated far from the place where the store's code is inserted into the HTML code of your store page. Every site or CMS has its own way to set the page title or include the meta information, there is unfortunately no good way to cover them all out of the box. The Wordpress plugin, however, includes the separate, per product titles (bearing the name of the product on the page). The meta descriptions are not shipped with the inline SEO at all, because meta description text may often differ from the product description in page, and there is no property in the product in Ecwid that could be easily used as a meta description. The meta descriptions may be added to the pages inside inline SEO catalog with 3rd party solutions or custom programming.
When you install the Inline SEO Catalog manually on your site, you place its code somewhere in the page source code, and the catalog is not connected with page title anyhow. So, unfortunately, it cannot be done by means of the pre-defined $params settings. If you want the SEO catalog on your site to change page titles automatically, you'll need to add a custom code that will get a product name and put it to the <title> tag.

By the way, since our Wordpress plugin already includes functions that replace page titles and you use Wordpress, you can use the plugin's code as an example. You can find the corresponding php code in the source of the WP Ecwid module, change it according to your needs and use it in your custom code.

If you need a professional custom programming service to accomplish all of the above changes, I can recommend to turn to our colleagues from Qualiteam, just send them the description of your project to sales@qtmsoft.com for a quote.
__________________
Matvey Kuritsyn
Ecwid Team

‣ Find ready answers, demos, tips and tricks and more in Ecwid Help Center

‣ Check out Ecwid video tutorials or share your own tutorial with us

---
⇩ Click Thanks, please, if this reply helped you.
Reply With Quote
  #3  
Old 06-11-2012, 09:42 AM
Real Mens Wallets's Avatar
Real Mens Wallets Real Mens Wallets is offline
 
Join Date: Mar 2012
Posts: 84
Default

Quote:
Originally Posted by Makfruit View Post
Hello Peter,

I believe Eugene answered this question in the related thread:


When you install the Inline SEO Catalog manually on your site, you place its code somewhere in the page source code, and the catalog is not connected with page title anyhow. So, unfortunately, it cannot be done by means of the pre-defined $params settings. If you want the SEO catalog on your site to change page titles automatically, you'll need to add a custom code that will get a product name and put it to the <title> tag.

By the way, since our Wordpress plugin already includes functions that replace page titles and you use Wordpress, you can use the plugin's code as an example. You can find the corresponding php code in the source of the WP Ecwid module, change it according to your needs and use it in your custom code.

If you need a professional custom programming service to accomplish all of the above changes, I can recommend to turn to our colleagues from Qualiteam, just send them the description of your project to sales@qtmsoft.com for a quote.
I cannot use the wordpress plugin because I have separate pages for each categories.
I have already paid for this code to be placed on these pages. You're telling me that unique titles are supported in wordpress plugin but not in the standard release for those paying members who want to install it manually?

"If you want the SEO catalog on your site to change page titles automatically, you'll need to add a custom code that will get a product name and put it to the <title> tag. " ..
this is the code I am looking for.... you're telling me I have to pay yet again to have unique titles ?
Reply With Quote
  #4  
Old 06-11-2012, 12:25 PM
Real Mens Wallets's Avatar
Real Mens Wallets Real Mens Wallets is offline
 
Join Date: Mar 2012
Posts: 84
Default

ok

getting there ...

Does this make any sense ? I have not tried it yet.

<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>
<?php
if (!empty($_GET['ecwid_product_id'])) {
$ecwid_seo_product_title = '';
include "/home/content/a/n/a/ananyaant/html/realmenswallets/wp-content/plugins/ecwid-shopping-cart/lib/ecwid_product_api";
$ecwid_store_id = "1072071";
$api = new EcwidProductApi($ecwid_store_id);
$ecwid_product = $api->get_product($_GET['ecwid_product_id']);
$ecwid_seo_product_title = $ecwid_product['name'];
echo $ecwid_seo_product_title;
} else {
echo "put default title here";
}
?>
</title>
</head>

Given that this will need to be put on separate pages per category, do I need to specifically define the default category in this code for each page?
Reply With Quote
  #5  
Old 06-11-2012, 02:27 PM
Eugene Rimmer's Avatar
Eugene Rimmer Eugene Rimmer is offline
Ecwid Team
 
Join Date: Jan 2011
Location: Ecwid headquarters
Posts: 7,560
Default

Quote:
Originally Posted by peter ilbery View Post
ok

getting there ...

Does this make any sense ? I have not tried it yet.

<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>
<?php
if (!empty($_GET['ecwid_product_id'])) {
$ecwid_seo_product_title = '';
include "/home/content/a/n/a/ananyaant/html/realmenswallets/wp-content/plugins/ecwid-shopping-cart/lib/ecwid_product_api";
$ecwid_store_id = "1072071";
$api = new EcwidProductApi($ecwid_store_id);
$ecwid_product = $api->get_product($_GET['ecwid_product_id']);
$ecwid_seo_product_title = $ecwid_product['name'];
echo $ecwid_seo_product_title;
} else {
echo "put default title here";
}
?>
</title>
</head>

Given that this will need to be put on separate pages per category, do I need to specifically define the default category in this code for each page?
Peter, yes, this code is suited to display product specific titles of Ecwid products in the PHP based sites. However, this code should not be directly used in the Wordpress. It needs a serious adjustment. For example, it will not properly handle the titles for the regular pages of your store, if you used it exactly as quoted (all non-Ecwid pages will have the "put default title here" hardcoded in this snippet, they will not pick the post or page specific titles from your Wordpress, let alone the service pages like 404 error page). Also, any fatal errors in this code will totally prevent your site from loading. A broken site is way worse than a store with non-unique page titles. So I don't think its is a good idea to try to get the product specific titles this way, its too risky.

You are using the Wordpress. Ecwid has a long developed plugin for Wordpress, where product specific titles are already available, as well as many other things. You don't have to repeat this achievement personally, I'd rather recommend to re-use it.

I see that you are using the custom PHP codes to embed a few different categories to their specific pages. You are not using the plugin because it does not allow a few different category embeddings currently. This is what I would recommend to change - alter the plugin the way, that you can use it to embed a few different default categories, not just the single one. This way you get the advantages of the Wordpress plugin, adjusted to your exact way of using it.

I envision this modification as the parameter added to one of Ecwid shortcodes. This parameter may be omitted, so existing shortcodes will work correctly. But when that parameter is in use in your category specific pages, the category defined in that parameter will be shown by default, and not the default category from plugin settings.

So, the code in the Wordpress page looking like this:
Code:
[ecwid_productbrowser category=12345]
would show the Ecwid product browser with default category # 12345 via the plugin and with the inline SEO catalog. This is the most recommended approach, as the titles and many other important aspects of having the inline SEO catalog correctly embedded into a Wordpress site will all be there, yet you will have the plugin working the way you need it. The modification will most likely only affect one function in the source of the plugin - the ecwid_productbrowser_shortcode(). With this functionality you will have the product specific titles, spending your effort most effectively.

Since you already have a conversation with Qualiteam programmers, I'd recommend to ask them about the possibility of such customization, most likely they are able to help you with it.
__________________
Eugene Efimochkin, Team
_________________________
Shipping methods are not showing up? Here is how to set it up properly!
Have a question? Look up the answer at our help portal!

⬇ Click Thanks, please, if this reply helped you.
Reply With Quote
  #6  
Old 06-11-2012, 03:06 PM
Real Mens Wallets's Avatar
Real Mens Wallets Real Mens Wallets is offline
 
Join Date: Mar 2012
Posts: 84
Default

I will look into this method... I am also unsure how to disable the default root “store.php” that is generated with this plugin. or is this also custom work.
Reply With Quote
  #7  
Old 06-11-2012, 03:21 PM
Real Mens Wallets's Avatar
Real Mens Wallets Real Mens Wallets is offline
 
Join Date: Mar 2012
Posts: 84
Default

I have to say, this was an extremely help post... thank you Eugene
Reply With Quote
  #8  
Old 06-11-2012, 05:21 PM
Eugene Rimmer's Avatar
Eugene Rimmer Eugene Rimmer is offline
Ecwid Team
 
Join Date: Jan 2011
Location: Ecwid headquarters
Posts: 7,560
Default

Quote:
Originally Posted by peter ilbery View Post
I will look into this method... I am also unsure how to disable the default root “store.php” that is generated with this plugin. or is this also custom work.
I would not recommend deleting the 'store' page created by the plugin.

The 'store' page created by plugin is meant to be the one and only page containing Ecwid in a typical Wordpress site. Such page is capable of showing all the categories, products, personal account area pages, shopping cart, checkout steps etc - all of that is rendered inside the Ecwid product browser widget, which gets embedded with the shortcode.

If you ever use the additional widgets of Ecwid (like category menus or the search widget) in the sidebar of your Wordpress site, those widgets will need to know, where exactly should they render the results of users' interactions.

For example, you have an Ecwid's product search widget embedded to the sidebar of your WP site, and your visitor reads you blog post, which does not contain the Ecwid product browser in it. In such case, if customer input something after reading your blog post into your search widget and hits 'Search', the browser will be redirected to the store page and the customer will see the product search results. The search widget that you have embedded knows exactly where to redirect the customer, because there is typically only 1 Ecwid page on the Wordpress site - that is the page created by plugin and known to the plugin.

If you just delete that page, the above scenario will end up at the 404 page of your Wordpress. Ecwid still supposes there is some single store page where the user should be taken to, but in fact that page is gone. That is again not exactly what you want for your customers.

But if you leave that page as is, your customers will be able to browse your full catalog or place their orders through it. All the additional widgets of Ecwid will be working quite correctly.

One important consideration against that page is that it will have the inline SEO catalog too, which will result in duplicating pages in the search index since you are going to have inline SEO catalogs on the other pages. But that one is very easy to overcome - you just need to embed the raw Ecwid product browser code taken from the Dashboard page of your Ecwid control panel instead of the [ecwid_productbrowser] shortcode on the plugin-generated store page, and puff, the inline SEO catalog (along with its duplicates) is gone completely from that one page. It will still be present everywhere you use the shortcode.

There is usually another important question from the store owners: how to take customers to category-specific pages instead of allowing them browsing the whole catalog in the store page. This can also be covered with the (quite easy) custom programming. An example of the script taking visitors to the specific URLs once they browse specific categories or products is described in this article: http://kb.ecwid.com/w/page/48172585/How%20can%20I%20set%20up%20a%20category%20that%20l inks%20to%20an%20external%20site . The code there reacts on opening the category and takes customer to some URL if the opened category is some particular category. In your case those URLs are the category-specific pages of your site. You may also consider taking customers exactly to the 'store' page generated by the plugin, once the go to cart, personal area or to checkout.

The code will also need one little addition - it should check if we are already on the page where we should be redirected to, or else it will do an infinite redirection loop for any category mentioned in it. The code needs to be added to every page that contains Ecwid product browser - either inserted with the plugin's shortcode or embedded directly with the raw code. One of the good places for such script is your theme or an external .js file linked by the theme.

Finally, you may want to remove the 'store' page from your Wordpress menu - thus, just edit the menu.

I can understand your disappointment about the need for custom development, but the way you try to use Ecwid is quite different from the way the creators of Ecwid plugin for Wordpress initially designed. Unfortunately, because of that it is not possible to achieve some things you request with just the settings, so we need to go a little further than that, employing the more advanced techniques of using Ecwid.

The resumé of this long post is the following: rather leave the 'store' page in place, but have the [ecwid_productbrowser] shortcode in it replaced with the actual product browser widget code for a healthier SEO; advanced user experience is quite possible with custom programming.
__________________
Eugene Efimochkin, Team
_________________________
Shipping methods are not showing up? Here is how to set it up properly!
Have a question? Look up the answer at our help portal!

⬇ Click Thanks, please, if this reply helped you.
Reply With Quote
  #9  
Old 06-17-2012, 04:31 AM
Real Mens Wallets's Avatar
Real Mens Wallets Real Mens Wallets is offline
 
Join Date: Mar 2012
Posts: 84
Default

Quote:
Originally Posted by Eugene Rimmer View Post

One important consideration against that page is that it will have the inline SEO catalog too, which will result in duplicating pages in the search index since you are going to have inline SEO catalogs on the other pages. But that one is very easy to overcome - you just need to embed the raw Ecwid product browser code taken from the Dashboard page of your Ecwid control panel instead of the [ecwid_productbrowser] shortcode on the plugin-generated store page, and puff, the inline SEO catalog (along with its duplicates) is gone completely from that one page. It will still be present everywhere you use the shortcode.

There is usually another important question from the store owners: how to take customers to category-specific pages instead of allowing them browsing the whole catalog in the store page. This can also be covered with the (quite easy) custom programming. An example of the script taking visitors to the specific URLs once they browse specific categories or products is described in this article: http://kb.ecwid.com/w/page/48172585/How%20can%20I%20set%20up%20a%20category%20that%20l inks%20to%20an%20external%20site . The code there reacts on opening the category and takes customer to some URL if the opened category is some particular category. In your case those URLs are the category-specific pages of your site. You may also consider taking customers exactly to the 'store' page generated by the plugin, once the go to cart, personal area or to checkout.

The code will also need one little addition - it should check if we are already on the page where we should be redirected to, or else it will do an infinite redirection loop for any category mentioned in it. The code needs to be added to every page that contains Ecwid product browser - either inserted with the plugin's shortcode or embedded directly with the raw code. One of the good places for such script is your theme or an external .js file linked by the theme.
Excellent post, and very helpfull.

if I wanted to use WP random products widget, is there similar manual code that can be used instead of shortcodes so as to disable SEO cat for the random products widget?

thanks again.
Reply With Quote
  #10  
Old 06-17-2012, 10:43 AM
Eugene Rimmer's Avatar
Eugene Rimmer Eugene Rimmer is offline
Ecwid Team
 
Join Date: Jan 2011
Location: Ecwid headquarters
Posts: 7,560
Default

Quote:
Originally Posted by peter ilbery View Post
Excellent post, and very helpfull.

if I wanted to use WP random products widget, is there similar manual code that can be used instead of shortcodes so as to disable SEO cat for the random products widget?

thanks again.
There is no inline SEO catalog in the random products widget. The same way there is no inline SEO catalog in categories, minicart or search widget - the catalog is only where the catalog is displayed, not in everything related to Ecwid.

But the more important thing is that random products widget relies on the typical usage of Ecwid plugin on a Wordpress site - that is, single store page with inline SEO catalog in it. The links to the products shown by the random products widgets (which by the way is a 3rd party solution developed outside of Ecwid company) will link into the inline SEO catalog on your store page, despite the fact you have catalogs on the other pages, and there is no inline SEO catalog on the store page created by the plugin. Basically, with the setup we came to, the links from the random products plugin will lead to 404 pages.

So, you may need to develop a custom random products widget, or customize the existing one, so that it would create the right links to the category-specific pages based on categories of the displayed products.
__________________
Eugene Efimochkin, Team
_________________________
Shipping methods are not showing up? Here is how to set it up properly!
Have a question? Look up the answer at our help portal!

⬇ Click Thanks, please, if this reply helped you.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:43 AM.
Powered by vBulletin® Version 3.8.6. Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.