Jump to content
kymation

[Addon} Modular SEO Header Tags

Recommended Posts

@@Psytanium  You probably made an error is editing the admin/categories.php. Check your edits in that file.

 

Regards

Jim


See my profile for a list of my addons and ways to get support.

Share this post


Link to post
Share on other sites

@@kymation i did check very carefully again, also I used the exact categories.php file from your addon. same problem:

 

New product : Nothing appear.

Edit product : both appear, the installed and not installed.

 

Installed modules:

Canonical Header Links

Category Title - Category Name

Front Page - Description

Front Page - Keywords

Language

Product Meta Description - Product Description

Product Meta Keywords - Insert

Product Title - Model

Product Title - Product Name

Robot NoIndex

 

is your addon compatible with 2.3.3.4 ?

thank you.

Share this post


Link to post
Share on other sites

I noticed something, once i install a module, i cannot remove it.

 

I tried to install Category meta keyword - Insert, it appeared fine. now I removed the module, but it still exist when i edit a category.

Share this post


Link to post
Share on other sites

just to report my attempts..

 

I can install then remove other modules without problem, i tried the social social media modules.

Share this post


Link to post
Share on other sites

The data still exists when you remove the module, so that data still shows up when you edit. It should go away if you delete all of the data.

 

Yes, this addon will work with all of the osC 2.3 series.

 

Regards

Jim


See my profile for a list of my addons and ways to get support.

Share this post


Link to post
Share on other sites

i checked the database, if i delete the modules of this addon, the database remain the same, i cannot uninstall it, please give me some hints, or where should i look.

 

 

When i insert a new product, both the installed an uninstalled are disabled, unlike when i edit a product, both are enabled.

Share this post


Link to post
Share on other sites

I don't understand what you are doing. If you want to remove this addon, delete all of the files from the addon package, then restore the modified files from your backup.

 

Regards

Jim


See my profile for a list of my addons and ways to get support.

Share this post


Link to post
Share on other sites

I'm stuck in between.

 

i can't remove this addon, because i didn't back up my database before installing the modules.

and i can't proceed, because its all corrupted.

 

that's why i keep knocking at your doors.

Share this post


Link to post
Share on other sites

This is why the instructions tell you to make a backup before you start.

 

I suggest that you compare the modified files with a fresh copy of osCommerce 2.3.3.4. The changes made by this addon are all clearly marked. Use the stock file to tell you where to find and remove the changes.

 

Regards

Jim


See my profile for a list of my addons and ways to get support.

Share this post


Link to post
Share on other sites

i have files back up but i don't have database back up.

 

anyway, if you don't have time to fix the problem it's alright, maybe someone else have a solution. especially that i found other having the same problem here.

Share this post


Link to post
Share on other sites

And the solution I gave in the next post solved the problem. Maybe you should try the same thing.

 

Regards

Jim


See my profile for a list of my addons and ways to get support.

Share this post


Link to post
Share on other sites

how did you know your next post solved the problem ? anyway, i told you before, I uploaded the same categories.php file included in your package. same problem happening.

 

as i can see, the problem lies in the :

 

catalog/admin/includes/modules/header_tags/categories_insert.php
catalog/admin/includes/modules/header_tags/categories_products_process.php
catalog/admin/includes/modules/header_tags/products_insert.php

 

all your other modules (title, front page, etc...)  are working perfect. just the (Categories / Products Insert New) have the following problem:

 

text fields do now show in case of "insert new product" but appear in case of "edit product"

Share this post


Link to post
Share on other sites

So, explain to me how the code in those files is wrong when the same code is used for both new (inserted) products and editing existing products. While you're at it, explain why this code works for everyone else, including my test store, but doesn't work for you.

 

While you're doing that, I'm going to get some work done.

 

Regards

Jim


See my profile for a list of my addons and ways to get support.

Share this post


Link to post
Share on other sites

@@kymation

 

i'll explain to you. probably your module have a bug. I installed a fresh 2.3.3.4 version, and uploaded your files 1.4.6

 

the problem persist.

 

please have look here (temporary domain mame, do whatever you want):

 

http://3d-cosmetics.com/admin

user: kymation

pass: kymation

 

to test the problem:

 

install the (Category Meta Keywords - Insert) module

now remove the (Category Meta Keywords - Insert) module

go and edit any category and you will see the (Category Meta Keywords - Insert)

Edited by Psytanium

Share this post


Link to post
Share on other sites

So the Remove Module function is not working. Remove Module is part of stock osCommerce, and this module contains the required code (or it wouldn't install in the first place). So I have no idea what the problem is. I'll have to try to replicate it, then debug. When I have time. Which is not now.

 

Regards

Jim


See my profile for a list of my addons and ways to get support.

Share this post


Link to post
Share on other sites

alright, ill try to remove the addon, currently it have a bug and its not functional, probably because an SQL or PHP version. Tested and failed on PHP 5.4.37  and  MySQL 5.5.40-cll

Share this post


Link to post
Share on other sites

@kymation

 

Hi, hope you can assist, I checked through config guide but cannot find an option except All other pages option to add Meta Title and Description to Reviews on products e.g something like title must be Review for "productsname"

Share this post


Link to post
Share on other sites

Sorry, this addon doesn't have a module for the Reviews page.

 

Regards

Jim


See my profile for a list of my addons and ways to get support.

Share this post


Link to post
Share on other sites

@Gergely

 

Hope you can help I have been referred by raiwa to this forum thread. I am using modular_seo_header_tags_1.4.6_min as at http://addons.oscommerce.com/info/7646 with the Mobile add-on v1.0 on the same add-on page. I noticed on mobile site that the canonical tags point to mobile site version -mp- where it should point to desktop version -p- product page e.g

<link rel="canonical" href="http://mobile.hdcabl...ers-mp-78.html"

 

/> is shown on mobile product pages and on desktop version as the alternate mobile link shows

<link rel="alternate" media="only screen and (max-width: 640px)" href="http://mobile.hdcabl...ters-p-78.html" /> which should include the -mp- to mobile website and not the -p- URL.

 

I have Ultimate_SEO_URLSv22d_14a installed for SEO URLS and the Ultimate SEO 2-2.2d-14a Updates for Mobile iOSC 7.5

Share this post


Link to post
Share on other sites

@@Gergely, below initial post on problem in iOSC Thread

 

"

Hi I noticed after installing Mobile Site under header tags for alternate mobile links that the source for alternate is generated for desktop version e.g. http://www.hdcabling...tCancelled=true as mobile version / alternate link

http://mobile.hdcabl...eters-p-78.html

 

When I copy and paste this into a browser it does not work and gives a NOT Found page error, the actual link on mobile site is http://mobile.hdcabl...tCancelled=true where the -p- in SEO URL is changed to -mp-.

 

Is this normal and is the -mp- generated when switched to mobile view and will this affect google crawling ?

"

Share this post


Link to post
Share on other sites

i´m updating heder_tags.php

i´m doing this:

 

AFTER

 

if (HTTA_ALLPRODS_ON=='1') {
$tags_array['title']= HEAD_TITLE_TAG_ALLPRODS . ' ' . HEAD_TITLE_TAG_ALL . " " . $the_category['categories_name'] . $the_manufacturers['manufacturers_name'];
} else {
$tags_array['title']= HEAD_TITLE_TAG_ALLPRODS;
}
break;
$tags_array['desc'] = HEAD_DESC_TAG_ALL;
$tags_array['keywords'] = HEAD_KEY_TAG_ALL;
$tags_array['title'] = HEAD_TITLE_TAG_ALL;
break;
}

 

CHANGE:

echo '  <title>' . $tags_array['title'] . '</title>' . "\n";
echo '  <meta name="Description" content="' . $tags_array['desc'] . '">' . "\n";
echo '  <meta name="Keywords" content="' . $tags_array['keywords'] . '">' . "\n";
echo ' <meta http-equiv="Content-Type" content="text/html; charset=' . CHARSET  . '">'."\n";?>

TO:

echo '  <title>' . $tags_array['title'] . '</title>' . "\n";
echo '  <meta name=”TITLE” content=”' . $tags_array['title'] . '"></title>' . "\n";
echo '  <meta name="Description" content="' . $tags_array['desc'] . '">' . "\n";
echo '  <meta name="Keywords" content="' . $tags_array['keywords'] . '">' . "\n";
echo ' <meta http-equiv="Content-Type" content="text/html; charset=' . CHARSET  . '">'."\n";?>

AND ADD THIS CODE

WAIT, YOU NEED TO CHANGE READ FIRST THE COMMENTS LINE

DO YOU READ THE NEW CODE?

echo ' <title>' . $tags_array['title'] . '</title>' . "\n";
echo ' <meta name=”TITLE” content=”' . $tags_array['title'] . '"></title>' . "\n";
echo ' <meta name="Description" content="' . $tags_array['desc'] . '">' . "\n";
echo ' <meta name="Keywords" content="' . $tags_array['keywords'] . '">' . "\n";
echo ' <meta http-equiv="Content-Type" content="text/html; charset=' . CHARSET . '">'."\n";?>

<!-- NEW CODE -->
<-- FIRST INSTALL CANONICAL URL USING THIS LINK
http://addons.oscommerce.com/info/6578/v,22 THANKS M-MART FOR THE CODE -->

<link rel="canonical" href="<?php CanonicalUrl(); ?>">
<!-- AND NOW THE CACONICAL URL ARE WORKING -->

<!-- YOU NEED TO CHANGE ONLY YOUR LANGUAGE CHANGE pt-BR, to your language -->
<meta name=”REVISIT-AFTER” content=”7 Days” />
<meta name=”AUDIENCE” content=”all” />
<meta name=”LANGUAGE” content=”pt-BR” />
<meta name=”DISTRIBUTION” content=”Global” />
<meta name=”ROBOTS” content=”index,follow” />

<!-- Código para Google Authorship e Publisher -->
<!--change 110426154172147356046 to your profile TO FIND YOUR PROFILE GOTO YOUR GOOGLE 
ACCOUN AND COPY THE NUMBERS IN THE LINK URL-->
<link rel=”author” href=”https://plus.google.com/11042615573490573409046/posts“/> 
<link rel=”publisher” href=”https://plus.google.com/110573485738147356046/“/>

<!-- Código do Schema.org TO Google+ noting to change-->
<!-- Código do Schema.org também para o Google+ -->
<meta itemprop=”name” content=”<?php echo $tags_array['title']; ?>“>
<meta itemprop=”description” content=”<? echo $tags_array['desc']; ?>“>
<meta itemprop=”image” content=” ######### HOW TO ADD THE IMAGE URL OF THE ACTUAL PRODUCT_INFO“>
<meta property="og:title" content="<?php echo $tags_array['title']; ?>">
<meta property="og:image" content=" ######### HOW TO ADD THE IMAGE URL OF THE ACTUAL PRODUCT_INFO?">
<meta property="og:description" content="<? echo $tags_array['desc']; ?>">

<!-- Social: Twitter -->
<meta name="twitter:card" content="######### HOW TO ADD THE IMAGE URL OF THE ACTUAL PRODUCT_INFO">
<!-- here you need to put your twitter username changing @apopular -->
<meta name="twitter:site" content="@apopular">
<meta name="twitter:creator" content="Apopular">
<meta name="twitter:title" content="<?php echo $tags_array['title']; ?>">
<meta name="twitter:description" content="<? echo $tags_array['desc']; ?>">
<!-- here the logo store -->
<meta name="twitter:image:src" content="https://www.apopular.com.br/images/apopular.png">

<!-- Social: Facebook / Open Graph -->
<!-- Social: fd admin you can find in your dev profile on facebook -->
<meta property="fb:admins" content="105475342809" />
<meta property="og:url" content="<?php CanonicalUrl(); ?>">
<meta property="og:type" content="website">
<!-- change: your site name -->
<meta property="og:site_name" content="Apopular">
<!-- change: your facebook profile -->
<meta property="article:author" content="https://www.facebook.com/xxxxxxxxxxxxxxxxx">
<meta property="article:publisher" content="https://www.facebook.com/xxxxxxxxxxxxxxxxx">

<!-- bing site verification / you can find this in bing tools for webmasters-->
<meta name="msvalidate.01" content="EBF33DFFD6D0xxxxxxxxxxxxxx">

 <!-- google analitic you can login and take your code here:  http://www.google.com/analytics/  -->
  <script type="text/javascript">
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-xxxxxxxx-1', 'auto');
  ga('send', 'pageview');

</script> 
<!-- Google end -->

i need help to upload this, i dont know how to call he image url to change all

######### HOW TO ADD THE IMAGE URL OF THE ACTUAL PRODUCT_INFO

 

if you know how to do, tell me, lol

 

Obrigado,( thank´s)

Marcelo


I did, helped or traslate.

http://addons.oscommerce.com/profile/104964

 

My english it´s só poor, but of you need help in portuguese, like shipping and payment that´s make a diference in brazil, come one,

Obrigado (thank´s)

 

Share this post


Link to post
Share on other sites

@@apopular  There's no heder_tags.php in this addon. Also no header_tags.php. You're in the wrong thread.

 

Regards

Jim


See my profile for a list of my addons and ways to get support.

Share this post


Link to post
Share on other sites

sorry how to delet this post? i will find the correct.


I did, helped or traslate.

http://addons.oscommerce.com/profile/104964

 

My english it´s só poor, but of you need help in portuguese, like shipping and payment that´s make a diference in brazil, come one,

Obrigado (thank´s)

 

Share this post


Link to post
Share on other sites

Posts cannot be deleted. Don't worry about it.

 

Regards

Jim


See my profile for a list of my addons and ways to get support.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×