Jump to content



Latest News: (loading..)

* * * * * 12 votes

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


  • Please log in to reply
6725 replies to this topic

#6301   JenniferJordan

JenniferJordan
  • Members
  • 57 posts

Posted 04 October 2011 - 04:20 PM

Hi everyone!

I successfully installed the contrib, and by successfully, I mean that the store still works with no errors!  However, the urls are still in the old product id = 34 form.  I wonder what I've done?  Thanks for reading, and I look forward to your help! :]

-Jennifer J., The*BroomCloset

#6302 ONLINE   Jack_mcs

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

Posted 04 October 2011 - 05:02 PM

View PostJenniferJordan, on 04 October 2011 - 04:20 PM, said:

Hi everyone!

I successfully installed the contrib, and by successfully, I mean that the store still works with no errors!  However, the urls are still in the old product id = 34 form.  I wonder what I've done?  Thanks for reading, and I look forward to your help! :]

-Jennifer J., The*BroomCloset
It could be that your urls are coded incorrectly. Please post the url to your shop and your .htaccess file and I will take a look to see if it is anything obvious.

#6303   JenniferJordan

JenniferJordan
  • Members
  • 57 posts

Posted 04 October 2011 - 07:11 PM

View PostJack_mcs, on 04 October 2011 - 05:02 PM, said:

It could be that your urls are coded incorrectly. Please post the url to your shop and your .htaccess file and I will take a look to see if it is anything obvious.

Wonderful!  Thanks :]

http://www.the-broomcloset.com/

DirectoryIndex /catalog/index.php
 
# Begin Ultimate SEO V2.2d
Options +FollowSymLinks
RewriteEngine On
  # RewriteBase instructions
  # Change RewriteBase dependent on how your shop is accessed as below.
  # http://www.mysite.com = RewriteBase /
  # http://www.mysite.com/catalog/ = RewriteBase /catalog/
  # http://www.mysite.com/catalog/shop/ = RewriteBase /catalog/shop/
  # Change the following line using the instructions above
 
RewriteBase /catalog/
RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING}
RewriteRule ^(.*)-m-(.*).html$ index.php?manufacturers_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-pi-(.*).html$ popup_image.php?pID=$2&%{QUERY_STRING}
RewriteRule ^(.*)-by-(.*).html$ all-products.php?fl=$2&%{QUERY_STRING}
RewriteRule ^(.*)-t-(.*).html$ articles.php?tPath=$2&%{QUERY_STRING}
RewriteRule ^(.*)-a-(.*).html$ article_info.php?articles_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-au-(.*).html$ articles.php?authors_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-pr-(.*).html$ product_reviews.php?products_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-pri-(.*).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-f-(.*).html$ faqdesk_info.php?faqdesk_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-fc-(.*).html$ faqdesk_index.php?faqPath=$2&%{QUERY_STRING}
RewriteRule ^(.*)-fri-(.*).html$ faqdesk_reviews_info.php?faqdesk_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-fra-(.*).html$ faqdesk_reviews_article.php?faqdesk_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-i-(.*).html$ information.php?info_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-links-(.*).html$ links.php?lPath=$2&%{QUERY_STRING}
RewriteRule ^(.*)-pm-([0-9]+).html$ info_pages.php?pages_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-n-(.*).html$ newsdesk_info.php?newsdesk_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-nc-(.*).html$ newsdesk_index.php?newsPath=$2&%{QUERY_STRING}
RewriteRule ^(.*)-nri-(.*).html$ newsdesk_reviews_info.php?newsdesk_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-nra-(.*).html$ newsdesk_reviews_article.php?newsdesk_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-po-([0-9]+).html$ pollbooth.php?pollid=$2&%{QUERY_STRING}
# End Ultimate SEO V2.2d

Edited by JenniferJordan, 04 October 2011 - 07:12 PM.


#6304 ONLINE   Jack_mcs

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

Posted 04 October 2011 - 11:08 PM

View PostJenniferJordan, on 04 October 2011 - 07:11 PM, said:


Wonderful!  Thanks :]

The .htacces is correct and the rewriter is working, though not correctly, since it will load a page if you go to a url likehttp://www.the-broomcloset.com/catalog/sds-c-65.html. Normally, links will fail if the contribution is installed but something is setup incorrectly so it seems that the links in your shop are coded incorrectly. That seems unlikely, though, because the category box looks like a standard one and so it would be coded correctly. Are you sure you made the .htaccess changes to the one in catalog and not the root of your shop?

#6305   JenniferJordan

JenniferJordan
  • Members
  • 57 posts

Posted 05 October 2011 - 06:41 AM

View PostJack_mcs, on 04 October 2011 - 11:08 PM, said:

The .htacces is correct and the rewriter is working, though not correctly, since it will load a page if you go to a url likehttp://www.the-broom...g/sds-c-65.html. Normally, links will fail if the contribution is installed but something is setup incorrectly so it seems that the links in your shop are coded incorrectly. That seems unlikely, though, because the category box looks like a standard one and so it would be coded correctly. Are you sure you made the .htaccess changes to the one in catalog and not the root of your shop?

Okay! I DID have it in my root .htaccess, but I've just moved it to the one in my catalog, and still the links are the same. Hmm, now what should I try?  Thanks for your help so far! :]

OH!  Could it have something to do with having Header Tags SEO installed?

Edited by JenniferJordan, 05 October 2011 - 06:42 AM.


#6306 ONLINE   Jack_mcs

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

Posted 05 October 2011 - 12:16 PM

View PostJenniferJordan, on 05 October 2011 - 06:41 AM, said:


Okay! I DID have it in my root .htaccess, but I've just moved it to the one in my catalog, and still the links are the same. Hmm, now what should I try?  Thanks for your help so far! :]

OH!  Could it have something to do with having Header Tags SEO installed?
It's not possible for me to know without seeing your files but my guess is that your shop was located in the catalog directory at one point and was then moved to the root without changing the configure files. The result is that you have two shops now. I think that because your root directory is displaying the shop as is the catalog link. So you probably added the contribution to the wrong shop. I can't see any reason for you to have the catalog directory so that should be deleted. Then make sure this contribution is installed in the files of the root shop.

#6307   JenniferJordan

JenniferJordan
  • Members
  • 57 posts

Posted 05 October 2011 - 08:29 PM

View PostJack_mcs, on 05 October 2011 - 12:16 PM, said:

It's not possible for me to know without seeing your files but my guess is that your shop was located in the catalog directory at one point and was then moved to the root without changing the configure files. The result is that you have two shops now. I think that because your root directory is displaying the shop as is the catalog link. So you probably added the contribution to the wrong shop. I can't see any reason for you to have the catalog directory so that should be deleted. Then make sure this contribution is installed in the files of the root shop.

Oh, I haven't moved the shop to the root directory, I just have this in my root .htaccess:
DirectoryIndex /catalog/index.php
so it comes up in that fashion, I think. But I think I will just re-install it and see if I missed something...

Edited by JenniferJordan, 05 October 2011 - 08:29 PM.


#6308   JenniferJordan

JenniferJordan
  • Members
  • 57 posts

Posted 05 October 2011 - 08:45 PM

Well, this is peculiar!  I just updated my Google Base for the new policy, and the links that my feed is producing ARE SEO AND they work.  However, when I click through the links in the store, they show as product=53.  Does that help at all?

Base Feed link:
http://www.the-broomcloset.com/catalog/natural-witchery-ellen-dugan-p-31.html

Same link from internal store clicking:
http://www.the-broomcloset.com/catalog/product_info.php?products_id=31

Edited by JenniferJordan, 05 October 2011 - 08:47 PM.


#6309 ONLINE   Jack_mcs

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

Posted 05 October 2011 - 11:42 PM

View PostJenniferJordan, on 05 October 2011 - 08:45 PM, said:

Well, this is peculiar!  I just updated my Google Base for the new policy, and the links that my feed is producing ARE SEO AND they work.  However, when I click through the links in the store, they show as product=53.  Does that help at all?

Base Feed link:
http://www.the-broomcloset.com/catalog/natural-witchery-ellen-dugan-p-31.html

Same link from internal store clicking:
http://www.the-broomcloset.com/catalog/product_info.php?products_id=31
There's something not right in your setup but it isn't anything I can resolve in a support thread. I suggest getting rid of the use of catalog altogether. it doesn't serve any purpose and can be confusin gto your customers, not to mention contributions like this one.

#6310   kvalentin

kvalentin
  • Members
  • 3 posts
  • Real Name:Valentin Richard Kacser

Posted 10 October 2011 - 09:10 PM

Hello,

I've just installed the latest version of this contribution but I cannot get it to work. When i hover the mouse over the categories and products I can see the html url but when I click on them it redirects me to index.php.
Can anybody help me?

Regards,
Valentin

#6311 ONLINE   Jack_mcs

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

Posted 10 October 2011 - 10:35 PM

View Postkvalentin, on 10 October 2011 - 09:10 PM, said:

Hello,

I've just installed the latest version of this contribution but I cannot get it to work. When i hover the mouse over the categories and products I can see the html url but when I click on them it redirects me to index.php.
Can anybody help me?

Regards,
Valentin
That is almost always due to the .htaccess fil enot being setup up correctly. Double check that you have made the changes to that file. If you have, please post your shops url and the contents of the .htaccess file.

#6312   kvalentin

kvalentin
  • Members
  • 3 posts
  • Real Name:Valentin Richard Kacser

Posted 12 October 2011 - 09:02 PM

View PostJack_mcs, on 10 October 2011 - 10:35 PM, said:

That is almost always due to the .htaccess fil enot being setup up correctly. Double check that you have made the changes to that file. If you have, please post your shops url and the contents of the .htaccess file.

url to my site is http://piccolini.ksolutions.dk

.htaccess

# Begin Ultimate SEO V2.2d
Options +FollowSymLinks
RewriteEngine On
  # RewriteBase instructions
  # Change RewriteBase dependent on how your shop is accessed as below.
  # http://www.mysite.com = RewriteBase /
  # http://www.mysite.com/catalog/ = RewriteBase /catalog/
  # http://www.mysite.com/catalog/shop/ = RewriteBase /catalog/shop/
  # Change the following line using the instructions above

RewriteBase /
RewriteRule ^(.*)-p-(.*).html$ product_info.php?products_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-c-(.*).html$ index.php?cPath=$2&%{QUERY_STRING}
RewriteRule ^(.*)-m-(.*).html$ index.php?manufacturers_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-pi-(.*).html$ popup_image.php?pID=$2&%{QUERY_STRING}
RewriteRule ^(.*)-by-(.*).html$ all-products.php?fl=$2&%{QUERY_STRING}
RewriteRule ^(.*)-t-(.*).html$ articles.php?tPath=$2&%{QUERY_STRING}
RewriteRule ^(.*)-a-(.*).html$ article_info.php?articles_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-au-(.*).html$ articles.php?authors_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-pr-(.*).html$ product_reviews.php?products_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-pri-(.*).html$ product_reviews_info.php?products_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-f-(.*).html$ faqdesk_info.php?faqdesk_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-fc-(.*).html$ faqdesk_index.php?faqPath=$2&%{QUERY_STRING}
RewriteRule ^(.*)-fri-(.*).html$ faqdesk_reviews_info.php?faqdesk_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-fra-(.*).html$ faqdesk_reviews_article.php?faqdesk_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-i-(.*).html$ information.php?info_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-links-(.*).html$ links.php?lPath=$2&%{QUERY_STRING}
RewriteRule ^(.*)-pm-([0-9]+).html$ info_pages.php?pages_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-n-(.*).html$ newsdesk_info.php?newsdesk_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-nc-(.*).html$ newsdesk_index.php?newsPath=$2&%{QUERY_STRING}
RewriteRule ^(.*)-nri-(.*).html$ newsdesk_reviews_info.php?newsdesk_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-nra-(.*).html$ newsdesk_reviews_article.php?newsdesk_id=$2&%{QUERY_STRING}
RewriteRule ^(.*)-po-([0-9]+).html$ pollbooth.php?pollid=$2&%{QUERY_STRING}
# End Ultimate SEO V2.2d

#6313 ONLINE   Jack_mcs

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

Posted 12 October 2011 - 10:41 PM

View Postkvalentin, on 12 October 2011 - 09:02 PM, said:

Those are correct and if you click on a category or product on your site, you can see the url switches but then switches back. That is usually caused by a poorly coded template and is a common problem. It isn't something that can be handled in a support thread but you can look at this link to see if it helps: http://forums.oscommerce.com/topic/154166-contribution-ultimate-seo-urls-v21-by-chemo/page__st__5240

#6314   kvalentin

kvalentin
  • Members
  • 3 posts
  • Real Name:Valentin Richard Kacser

Posted 13 October 2011 - 07:56 PM

View PostJack_mcs, on 12 October 2011 - 10:41 PM, said:

Those are correct and if you click on a category or product on your site, you can see the url switches but then switches back. That is usually caused by a poorly coded template and is a common problem. It isn't something that can be handled in a support thread but you can look at this link to see if it helps: http://forums.oscomm.../page__st__5240

Thanks for you help. I found the problem. I head to comment out the following lines in the header.php

/*
if(strpos($path_parts['basename'], "php") == false)
  {
   print("<script type='text/javascript'>window.location='index.php';</script>");
  }
*/

#6315   stragami

stragami
  • Members
  • 73 posts
  • Real Name:Alfred
  • Gender:Male
  • Location:Germany

Posted 14 October 2011 - 10:37 AM

Hi

i use Version Ultimate_SEO_URLSv22d_10 and all is fine until today...

i create a new Produkt and if i call it from catalog i will be redirected to index.php

i found that this is happen by using thr produktname HGL-ED-205-C
If i use only HGL_ED-205 it is ok but if i add -C it goes to the index.php

Is this a bug?


thx fpor Help and Testing this

rgds
Alfred

#6316   StephenAdrianRathbone

StephenAdrianRathbone
  • Members
  • 18 posts

Posted 14 October 2011 - 12:13 PM

Hi Guys,

This is a wonderful contrib... however it doesn't work with the JSON javascript cart code.

Here is the JS cart from one of my own sites - http://ipitrade.com/javascript/osc_cart.js

With ultimate SEO enabled I can add items from the categories page (or anwhere using product_listing.php) but not from product_info.php.

Any help welcomed.

Edited by StephenAdrianRathbone, 14 October 2011 - 12:16 PM.


#6317 ONLINE   Jack_mcs

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

Posted 14 October 2011 - 01:25 PM

View Poststragami, on 14 October 2011 - 10:37 AM, said:

i use Version Ultimate_SEO_URLSv22d_10 and all is fine until today...

i create a new Produkt and if i call it from catalog i will be redirected to index.php

i found that this is happen by using thr produktname HGL-ED-205-C
If i use only HGL_ED-205 it is ok but if i add -C it goes to the index.php

Is this a bug?
No, it's not a bug. The contribution uses -c, -p and about ten others to identify the page type (-c = category).. If you use those in the url, it confuses the code. There's not a way around this that I know of. The code could be changed to account for it and I will list that for the next version but it won't be anytime soon.

#6318   stragami

stragami
  • Members
  • 73 posts
  • Real Name:Alfred
  • Gender:Male
  • Location:Germany

Posted 14 October 2011 - 07:51 PM

View PostJack_mcs, on 14 October 2011 - 01:25 PM, said:

No, it's not a bug. The contribution uses -c, -p and about ten others to identify the page type (-c = category).. If you use those in the url, it confuses the code. There's not a way around this that I know of. The code could be changed to account for it and I will list that for the next version but it won't be anytime soon.

thx for info i take a look into the htaccess - your right -. so the only way is to change the produktname - thx for your help
rgds
alfred

#6319 ONLINE   Jack_mcs

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

Posted 14 October 2011 - 11:30 PM

View Poststragami, on 14 October 2011 - 07:51 PM, said:


thx for info i take a look into the htaccess - your right -. so the only way is to change the produktname - thx for your help
rgds
alfred
For this contribution, yes.

#6320   BoogiepopphantomThemisMartínez

BoogiepopphantomThemisMartínez
  • Members
  • 6 posts

Posted 16 October 2011 - 09:13 AM

Hello,

I installed the program. Works well in google chrome, but the problem is in internet explorer.

For example:

In google chrome the link looks like this: http://www.boogiepetslandia.com/terrario-de-malla-fina-grande-exo-tera-p-90.html

And Internet Explorer as follows:

http://www.boogiepetslandia.com/terrario-de-malla-fina-grande-exo-tera-p-90.html?osCsid=674ac034dc84e7d4630ef66368d835ce

I want to know how I can remove the series of numbers that follows after. Html and how I can remove in the p-90 too.

As there is a faster way of doing the program? runs slow