Jump to content



Latest News: (loading..)

* * * * * 12 votes

[CONTRIBUTION] Ultimate SEO URLs v2.1 - by Chemo


  • Please log in to reply
6717 replies to this topic

#6541   jonesy827

jonesy827
  • Members
  • 19 posts
  • Real Name:Michael Jones

Posted 28 June 2012 - 02:55 PM

View PostJack_mcs, on 25 June 2012 - 05:24 PM, said:

The urls listed with the search engines should be the rewritten ones. But if they are urls that were listed prior to installing this contribution, they won't get changed until the search engine visits them, which may be a while. It's not OK to use a sitemap with non-rewritten urls. If the google sitemap contribution is installed and setup corectly, this shouldn't happen.

By the way, the person that did this work for you should know these answers. But if you hired someone from one of the rent-a-coder-like sites, for example, they may not know such details. In that case, be careful in using them since they can cause problems with changes that are not oscommerce-friendly. I've fixed a lot of shops that have had such work done.

Unfortunately I did use elance, and the developer that coded Ultimate SEO jumped ship before we had another fix the rest of the site. When I generate a google base feed do the links need to be the SEO links? I have the correct setting in the googlefeeder.php for seo urls, but they show as product_info.php?product_id=blah

Thanks for your help on this.

Edited by jonesy827, 28 June 2012 - 02:59 PM.


#6542   Jack_mcs

Jack_mcs
  • Members
  • 25,303 posts
  • Real Name:Jack York
  • Gender:Male
  • Location:Michigan

Posted 28 June 2012 - 03:00 PM

View Postjonesy827, on 28 June 2012 - 02:55 PM, said:

Unfortunately I did use elance, and the developer that coded Ultimate SEO jumped ship before we had another fix the rest of the site. When I generate a google base feed do the links need to be the SEO links? I have the correct setting in the googlefeeder.php for seo urls.

Thanks for your help on this.
Yes, they do. It didn't use to matter but google complains about it now and will threaten to remove the links if not fixed.

If you don't mind saying, I'm curious why you would use a site like that when there are many talented programers here that are, probably, more familiar with the code?

Edited by Jack_mcs, 28 June 2012 - 03:01 PM.


#6543   optipack

optipack
  • Members
  • 45 posts
  • Real Name:Brogan
  • Gender:Female
  • Location:England

Posted 28 June 2012 - 04:29 PM

@Jack_mcs

View PostJack_mcs, on 28 June 2012 - 01:10 PM, said:

Change
RewriteBase /index/
to
RewriteBase /

I have just tried that and I still get the same error message.
Do you have any other suggestions?

Thanks

#6544   Jack_mcs

Jack_mcs
  • Members
  • 25,303 posts
  • Real Name:Jack York
  • Gender:Male
  • Location:Michigan

Posted 28 June 2012 - 05:18 PM

View Postoptipack, on 28 June 2012 - 04:29 PM, said:

@Jack_mcs



I have just tried that and I still get the same error message.
Do you have any other suggestions?

Thanks
First, verify with your host that mod_rewrite is enabled on the server. If it is, then you can remove this line in the .htaccess file t see if that helps.
Options +FollowSymLinks


#6545   jonesy827

jonesy827
  • Members
  • 19 posts
  • Real Name:Michael Jones

Posted 28 June 2012 - 06:44 PM

View PostJack_mcs, on 28 June 2012 - 03:00 PM, said:

Yes, they do. It didn't use to matter but google complains about it now and will threaten to remove the links if not fixed.

If you don't mind saying, I'm curious why you would use a site like that when there are many talented programers here that are, probably, more familiar with the code?

We were hooked by the price of a full site design and contribution installation, which we can now see was quite a big mistake. We ended up spending more than we paid the original developer to get most of the problems fixed.

I sent you an email regarding the problems we are having now and having them fixed. Thanks for your help with my questions.

#6546   stone66

stone66
  • Members
  • 3 posts
  • Real Name:Regis Marchese

Posted 11 July 2012 - 01:14 PM

Hello, i'm french so sorry for my english :blink:

I have a problem with this addons :

if i have a url with accent like for example hxxp://www.example.com/créateur.html
it modify by hxxp://www.example.com/crateur.html  (the é is delete)

my problème is by this code :

function strip($string){
    if ( is_array($this->attributes['SEO_CHAR_CONVERT_SET']) ) $string = strtr($string, $this->attributes['SEO_CHAR_CONVERT_SET']);
    $pattern = $this->attributes['SEO_REMOVE_ALL_SPEC_CHARS'] == 'true'
//     ?     "([^[:alnum:]])+"
  //   :     "([[:punct:]])+";
  
    ?     "([^[:alnum:]])"
    :     "/[^a-z0-9- ]/i";

                                                
    $string = preg_replace('/((&#39))/', '-', strtolower($string)); //remove apostrophe - not caught by above
                //$anchor = preg_replace($pattern, '', mb_convert_case($string, MB_CASE_LOWER, "utf-8"));
    $anchor = preg_replace($pattern, '', strtolower($string));
    $pattern = "([[:space:]]|[[:blank:]])";
    $anchor = preg_replace($pattern, '-', $anchor);
    return $this->short_name($anchor); // return the short filtered name
    } # end function

and i don't know how can i modify this for the é or à.. are not delete.

if anybody have an idea ?

thanks a lot...

Stone66

#6547   Jack_mcs

Jack_mcs
  • Members
  • 25,303 posts
  • Real Name:Jack York
  • Gender:Male
  • Location:Michigan

Posted 11 July 2012 - 04:37 PM

View Poststone66, on 11 July 2012 - 01:14 PM, said:

if i have a url with accent like for example hxxp://www.example.com/créateur.html
it modify by hxxp://www.example.com/crateur.html  (the é is delete)

my problème is by this code :
There is a convert option in the settings. Use that to get the characters to display.

#6548   stone66

stone66
  • Members
  • 3 posts
  • Real Name:Regis Marchese

Posted 11 July 2012 - 05:41 PM

View PostJack_mcs, on 11 July 2012 - 04:37 PM, said:

There is a convert option in the settings. Use that to get the characters to display.

Yes i know and i test this, i put this : é=>e but there is no difference (the é is delete in the URL)

I think accented characters are not part of [a-z] in UTF-8 ?

my configuration is this :     
I have oscommerce v2.3.1

Edited by stone66, 11 July 2012 - 05:45 PM.


#6549   Jack_mcs

Jack_mcs
  • Members
  • 25,303 posts
  • Real Name:Jack York
  • Gender:Male
  • Location:Michigan

Posted 11 July 2012 - 05:53 PM

View Poststone66, on 11 July 2012 - 05:41 PM, said:

Yes i know and i test this, i put this : é=>e but there is no difference (the é is delete in the URL)

I think accented characters are not part of [a-z] in UTF-8 ?

my configuration is this :
I have oscommerce v2.3.1
Oh, I see. You shouldn't use accented characters in the url.

#6550   stone66

stone66
  • Members
  • 3 posts
  • Real Name:Regis Marchese

Posted 11 July 2012 - 09:15 PM

View PostJack_mcs, on 11 July 2012 - 05:53 PM, said:

Oh, I see. You shouldn't use accented characters in the url.

yes :sweating:

if the url is for example
hxxp://www.example.fr/créateur.html
i would like
hxxp://www.example.fr/createur.html and not hxxp://www.example.fr/crateur.html

do you understand me with my best english :-  (lol)

thanks,
ston66

#6551   Jack_mcs

Jack_mcs
  • Members
  • 25,303 posts
  • Real Name:Jack York
  • Gender:Male
  • Location:Michigan

Posted 11 July 2012 - 11:48 PM

View Poststone66, on 11 July 2012 - 09:15 PM, said:

if the url is for example
hxxp://www.example.fr/créateur.html
i would like
hxxp://www.example.fr/createur.html and not hxxp://www.example.fr/crateur.html
That shouldn't be happening if you are using the conversion option. You may want to re-check that. Also, be sure you are using the latest version.

#6552   bdegoy

bdegoy
  • Members
  • 3 posts
  • Real Name:Bertrand Degoy

Posted 16 July 2012 - 07:23 AM

Hello,

Many thanks for this outstanding work and for the professionnal coding and documents!

I have a question about the fact that both URL :
- http://librairie-hussard.com/catalog/antiq-revol-moyen-armes-armures-xves-p-2914.html
- http://librairie-hussard.com/catalog/antiq-revol-moyen-armes-armures-xves-p-2914.html?language=fr
are leading to the same page, french beeing the default language.

Is it Ok for bots?
Would'nt be preferable to always give language=xx parameter?

Sincerly yours, BD

#6553   gyuti

gyuti
  • Members
  • 1 posts
  • Real Name:Kun Bela

Posted 16 July 2012 - 08:35 AM

Hy there!

I searched among lots of sites and forums, but I couldn't find any solution for my problem.
Please help me, 'cause I'm getting mad :'(

I have a 2.2 oscommerce store and sometimes when I refresh my site or I delete the browsing history or cache in my browser
(it doesn't depend if it's Internet Explorer os Mozilla or Google Chrome) I get the followong error:

1146 - Table '[my database name].TABLE_SEARCH_ENGINE_IP' doesn't exist

insert into TABLE_SEARCH_ENGINE_IP (ip_address) values ('213.222.166.168')


I don't know if the problem belongs to Ultimate SEO URLs contrib (yes, it is installed in the store) or not, but I'm getting hopeless :'( not to find the solution.
I know that the above lines say that I don't have the Search_Engine_IP table but I didn't install any contrib that said anything about this table.How can I solve the problem?

Please HELP!  

#6554   Jack_mcs

Jack_mcs
  • Members
  • 25,303 posts
  • Real Name:Jack York
  • Gender:Male
  • Location:Michigan

Posted 16 July 2012 - 12:54 PM

View Postbdegoy, on 16 July 2012 - 07:23 AM, said:

Hello,

Many thanks for this outstanding work and for the professionnal coding and documents!

I have a question about the fact that both URL :
- http://librairie-hussard.com/catalog/antiq-revol-moyen-armes-armures-xves-p-2914.html
- http://librairie-hussard.com/catalog/antiq-revol-moyen-armes-armures-xves-p-2914.html?language=fr
are leading to the same page, french beeing the default language.

Is it Ok for bots?
Would'nt be preferable to always give language=xx parameter?
Yes, it is fine, assuming the text on each page is in a different language.

#6555   Jack_mcs

Jack_mcs
  • Members
  • 25,303 posts
  • Real Name:Jack York
  • Gender:Male
  • Location:Michigan

Posted 16 July 2012 - 12:58 PM

View Postgyuti, on 16 July 2012 - 08:35 AM, said:

Hy there!

I searched among lots of sites and forums, but I couldn't find any solution for my problem.
1146 - Table '[my database name].TABLE_SEARCH_ENGINE_IP' doesn't exist

insert into TABLE_SEARCH_ENGINE_IP (ip_address) values ('213.222.166.168')


I don't know if the problem belongs to Ultimate SEO URLs contrib (yes, it is installed in the store) or not, but I'm getting hopeless :'( not to find the solution.
I know that the above lines say that I don't have the Search_Engine_IP table but I didn't install any contrib that said anything about this table.How can I solve the problem?
The capital letters indicate you are missing a definition but the missing item is not part of this contribution. You will need toask in the support thread for whatever contribution it is.

#6556   bdegoy

bdegoy
  • Members
  • 3 posts
  • Real Name:Bertrand Degoy

Posted 16 July 2012 - 01:44 PM

View PostJack_mcs, on 16 July 2012 - 12:54 PM, said:

Yes, it is fine, assuming the text on each page is in a different language.
Sorry I did'nt explain correctly : both links lead to the same french page. I am afraid it is not good for Google to have differents URLs leading to identical content?

#6557   Jack_mcs

Jack_mcs
  • Members
  • 25,303 posts
  • Real Name:Jack York
  • Gender:Male
  • Location:Michigan

Posted 16 July 2012 - 03:47 PM

View Postbdegoy, on 16 July 2012 - 01:44 PM, said:

Sorry I did'nt explain correctly : both links lead to the same french page. I am afraid it is not good for Google to have differents URLs leading to identical content?
The way around that is to add a canonical meta tag so the french page points to the main page. But it is not an issue in my experience. Google doesn't use the url for determining content so they should see the pages as the same. Before making any changes, I suggest you pick out a product or two and check their index positions to be sure there is a problem to deal with in the first place.

#6558   bdegoy

bdegoy
  • Members
  • 3 posts
  • Real Name:Bertrand Degoy

Posted 16 July 2012 - 08:25 PM

View PostJack_mcs, on 16 July 2012 - 03:47 PM, said:

The way around that is to add a canonical meta tag so the french page points to the main page. But it is not an issue in my experience. Google doesn't use the url for determining content so they should see the pages as the same. Before making any changes, I suggest you pick out a product or two and check their index positions to be sure there is a problem to deal with in the first place.
Thanks for your answer. I dont get "add a canonical meta tag so the french page points to the main page". What to do exactly?

#6559   ntd

ntd
  • Members
  • 25 posts
  • Real Name:Nick

Posted 16 July 2012 - 10:26 PM

I am sure this is a simple answer but I'm just not seeing it. I am moving from one osc site to another.
So I'm trying:
Redirect permanent /martin-2012-exile-compound-bow-package-p-37142.html http://www.qualityarcherybows.com/martin-2012-exile-compound-package-p-21286.html
But I keep getting:
http://www.qualityarcherybows.com/martin-2012-exile-compound-package-p-21286.html?products_id=37142

The rewrite is:
RewriteCond %{HTTP_HOST} ^qualityarcherybows.com
RewriteRule (.*) http://www.qualityarcherybows.com/$1 [R=301,L]
RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING}

Thanks

#6560   Jack_mcs

Jack_mcs
  • Members
  • 25,303 posts
  • Real Name:Jack York
  • Gender:Male
  • Location:Michigan

Posted 16 July 2012 - 11:16 PM

View Postbdegoy, on 16 July 2012 - 08:25 PM, said:

Thanks for your answer. I dont get "add a canonical meta tag so the french page points to the main page". What to do exactly?
You would have to install a contribution due to the dynamic nature of the pages. There are only two contributions that I am aware of that are for that. Header Tags SEO is one but it doesn't change the language url's, though it could with a few small changes. The other is a stand-alone contribution. I don't recall the name but it probably has canonical in it. I don't know how it treats languages though.