Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

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


Recommended Posts

Hi,

I just install the 2.1d anything works perfect. Thanks a lot.

Just 1 problem:

 

When I use the Manufacturers dropdown menu I got an Internal server error

 

 

I can't find this problem in the forum

Hope someone can help me to fix it

 

You won't find it in the forum because there is nothing that needs fixing. A link to your site may allow some guidance.

Link to comment
Share on other sites

Ok, thanx ...here it comes

 

http://www.digitalwaagen.de/oscommerce/catalog/index.php

 

btw:

I noted that any dropdown (Categories) cause a Internal server error

 

Could you post your .htaccess

 

Also which 2.1d did you install? I doubt it was the 2.1d ORIGINAL updated (the last one I put up 23rd Feb 2008)

Link to comment
Share on other sites

Could you post your .htaccess

 

Also which 2.1d did you install? I doubt it was the 2.1d ORIGINAL updated (the last one I put up 23rd Feb 2008)

 

 

 

No it's Ultimate_SEO_URLsv21da from 29 Nov 2006

 

 

Options +FollowSymLinks

RewriteEngine On

RewriteBase /oscommerce/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 ^(.*)-t-(.*).html$ articles.php?tPath=$2&%{QUERY_STRING}

RewriteRule ^(.*)-a-(.*).html$ article_info.php?articles_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 ^(.*)-i-(.*).html$ information.php?info_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-links-(.*).html$ links.php?lPath=$2&%{QUERY_STRING}

Link to comment
Share on other sites

No it's Ultimate_SEO_URLsv21da from 29 Nov 2006

 

 

Options +FollowSymLinks

RewriteEngine On

RewriteBase /oscommerce/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 ^(.*)-t-(.*).html$ articles.php?tPath=$2&%{QUERY_STRING}

RewriteRule ^(.*)-a-(.*).html$ article_info.php?articles_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 ^(.*)-i-(.*).html$ information.php?info_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-links-(.*).html$ links.php?lPath=$2&%{QUERY_STRING}

 

Ok before we go further ..

 

Download the version I mentioned and just replace the includes/classes/seo.class.php

 

RESET seo urls in admin and report back here whether success or errors etc.

Link to comment
Share on other sites

Ok before we go further ..

 

Download the version I mentioned and just replace the includes/classes/seo.class.php

 

RESET seo urls in admin and report back here whether success or errors etc.

 

 

I did it....but no changes still the same probleme

 

but now the url - Categories are working....:-))

Edited by digitalwaagen1234
Link to comment
Share on other sites

I have chemo seo urls installed and all has been working fine, I have now installed another contribution to give me drop down menu on product listing pages to allow customer to choose sort order of products http://addons.oscommerce.com/info/6186 and Chemo urls is causing issues with it, I have proved this by switching Chemo urls off and it all works fine :)

 

The url it is generating is as follows:

http://www.mysite.com/index.php?sortcol=4&...a&cPath=123

 

but chemo urls generates the following which obviously does not work:

 

http://www.mysite.com/gas-lpg-c-123.html?s...a&sortcol=4

 

Help ???

Link to comment
Share on other sites

not really...

 

I wonder I'm using the standard osc like the most others users

and no other have this kind of malfunction....

 

Did you post your whole .htaccess because something there is refusing all standard index.php based oscommerce urls.

 

cPath=x

manufacturers_id=x

Edited by FWR Media
Link to comment
Share on other sites

I have chemo seo urls installed and all has been working fine, I have now installed another contribution to give me drop down menu on product listing pages to allow customer to choose sort order of products http://addons.oscommerce.com/info/6186 and Chemo urls is causing issues with it, I have proved this by switching Chemo urls off and it all works fine :)

 

The url it is generating is as follows:

http://www.mysite.com/index.php?sortcol=4&...a&cPath=123

 

but chemo urls generates the following which obviously does not work:

 

http://www.mysite.com/gas-lpg-c-123.html?s...a&sortcol=4

 

Help ???

 

open includes/functions/general.php

 

Find ..

 

header('Location: ' . $url);

 

Change to ..

 

$url = str_replace('&', '&', $url);
header('Location: ' . $url);

 

It's usually a problem with poorly written contribs.

Link to comment
Share on other sites

Did you post your whole .htaccess because something there is refusing all standard index.php based oscommerce urls.

 

cPath=x

manufacturers_id=x

 

 

here it is... the 301 are in 1 line ...

 

ErrorDocument 404 /404_fehler_dokument/404_fehler_dokument.html

 

#Domainweiterleitung

 

 

#RewriteEngine on

#RewriteCond %{HTTP_HOST} !^www\.digitalwaagen\.de$

#RewriteRule ^(.*)$ http://www.digitalwaagen.de$1 [L,R=301]

 

RewriteEngine On

RewriteCond %{HTTP_HOST} ^digitalwaagen\.de [OR]

RewriteCond %{HTTP_HOST} ^digitalwaagen\.com [OR]

RewriteCond %{HTTP_HOST} ^dipse\.de [OR]

RewriteCond %{HTTP_HOST} ^(www\.)?dipse\.com [OR]

RewriteCond %{HTTP_HOST} ^dipse\.eu [OR]

RewriteCond %{HTTP_HOST} ^(www\.)?dipse\.eu [OR]

RewriteCond %{HTTP_HOST} ^digital-pocket-scales-europe\.de [OR]

RewriteCond %{HTTP_HOST} ^digital-pocket-scales-europe\.com [OR]

RewriteCond %{HTTP_HOST} ^(www\.)?digital-pocket-scales-europe\.com [OR]

RewriteCond %{HTTP_HOST} ^(www\.)?digital-pocket-scales-europe\.de [OR]

RewriteCond %{HTTP_HOST} ^(www\.)?taschenwaagen\.com [OR]

RewriteCond %{HTTP_HOST} ^taschenwaagen\.com

RewriteRule ^(.*) http://www.Digitalwaagen.de/$1 [R=301,L]

 

Options +FollowSymLinks

RewriteEngine On

RewriteBase /oscommerce/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 ^(.*)-t-(.*).html$ articles.php?tPath=$2&%{QUERY_STRING}

RewriteRule ^(.*)-a-(.*).html$ article_info.php?articles_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 ^(.*)-i-(.*).html$ information.php?info_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-links-(.*).html$ links.php?lPath=$2&%{QUERY_STRING}

 

 

#Produkte 12.10.08

#Sample Redirect 301 /Produkte/Taschenwaagen/Dipse_Taschenwaagen/X http://www.digitalwaagen.de/Produkte/Tasch...Taschenwaagen/X

 

 

Redirect 301 /Produkte/Taschenwaagen/Dipse_Taschenwaagen/index.html http://www.digitalwaagen.de/Produkte/Tasch...agen/index.html

 

 

Redirect 301 /Produkte/Taschenwaagen/Dipse_Taschenwaage_2/dipse_taschenwaage_2.html http://www.digitalwaagen.de/Produkte/Tasch...henwaage-2.html

 

 

Redirect 301 /Produkte/Taschenwaagen/Joshs_Taschenwaagen/index.html http://www.digitalwaagen.de/Produkte/Tasch...agen/index.html

Redirect 301 /Produkte/Taschenwaagen/Fuzion_Taschenwaagen/index.html http://www.digitalwaagen.de/Produkte/Tasch...agen/index.html

Redirect 301 /Produkte/Taschenwaagen/Kern_Taschenwaagen/index.html http://www.digitalwaagen.de/Produkte/Tasch...agen/index.html

Redirect 301 /Produkte/Taschenwaagen/Tanita_Taschenwaagen/index.html http://www.digitalwaagen.de/Produkte/Tasch...agen/index.html

Redirect 301 /Produkte/Taschenwaagen/American_Weight__Digitalwaagen/index.html http://www.digitalwaagen.de/Produkte/Tasch...ales/index.html

 

# Dipse-Taschenwaagen

 

Redirect 301 /Produkte/Taschenwaagen/Dipse_Taschenwaagen/RadiONE__Radioscale_Digitalwwa/radione__radioscale_digitalwwa.html http://www.digitalwaagen.de/Produkte/Tasch...ge-radione.html

Redirect 301 /Produkte/Taschenwaagen/Dipse_Taschenwaagen/Taschenwaage_XS-Serie_Der_DIPS/taschenwaage_xs-serie_der_dips.html http://www.digitalwaagen.de/Produkte/Tasch...e-der-dips.html

Redirect 301 /Produkte/Taschenwaagen/Dipse_Taschenwaagen/Taschenwaage_Dipse_MT_300/taschenwaage_dipse_mt_300.html http://www.digitalwaagen.de/Produkte/Tasch...pse-mt-300.html

Redirect 301 /Produkte/Taschenwaagen/Dipse_Taschenwaagen/PS-Serie/ps-serie.html http://www.digitalwaagen.de/Produkte/Tasch...e/ps-serie.html

Redirect 301 /Produkte/Taschenwaagen/Dipse_Taschenwaagen/MIC-Serie/mic-serie.html http://www.digitalwaagen.de/Produkte/Tasch.../mic-serie.html

Redirect 301 /Produkte/Taschenwaagen/Dipse_Taschenwaagen/Taschenwaage_Stratos/index.htm http://www.digitalwaagen.de/Produkte/Tasch...atos/index.html

Redirect 301 /Produkte/Taschenwaagen/Dipse_Taschenwaagen/Micron-Serie/micron-serie.html http://www.digitalwaagen.de/Produkte/Tasch...cron-serie.html

Redirect 301 /Produkte/Taschenwaagen/Dipse_Taschenwaagen/POCKiT/pockit.html http://www.digitalwaagen.de/Produkte/Tasch...KiT/pockit.html

Redirect 301 /Produkte/Taschenwaagen/Dipse_Taschenwaagen/Dipse_Hangewaage___Feinwaage_H/dipse_hangewaage___feinwaage_h.html http://www.digitalwaagen.de/Produkte/Tasch...einwaage-h.html

 

Redirect 301 /Produkte/Taschenwaagen/Dipse_Taschenwaagen/Stratos/index.html http://www.digitalwaagen.de/Produkte/Tasch...atos/index.html

Redirect 301 /Produkte/Taschenwaagen/Dipse_Taschenwaagen/Stratos/stratos.html http://www.digitalwaagen.de/Produkte/Tasch...atos/index.html

Redirect 301 /Produkte/Taschenwaagen/Dipse-Taschenwaagen/Dipse-Hangewaage-Feinwaage-H/dipse-hangewaage-feinwaage-h.html http://www.digitalwaagen.de/Produkte/Tasch...nwaage-hs3.html

 

# Joshs Taschenwaagen NIX

 

#Fuzion Taschenwaagen Nix

 

#Amercican weight

 

Redirect 301 /Produkte/Taschenwaagen/Sonstige_Taschenwaagen/index.html http://www.digitalwaagen.de/Produkte/Tasch...ales/index.html

Redirect 301 /Produkte/Taschenwaagen/Sonstige_Taschenwaagen/CD-Scale_/index.html http://www.digitalwaagen.de/Produkte/Tasch...cale/index.html

Redirect 301 /Produkte/Taschenwaagen/American_Weight__Digitalwaagen/CD-Scale_/index.html http://www.digitalwaagen.de/Produkte/Tasch...cale/index.html

Redirect 301 /Produkte/Taschenwaagen/American_Weight__Digitalwaagen/Taschenwaage_CD-Scale_/index.html http://www.digitalwaagen.de/Produkte/Tasch...cale/index.html

 

#Paketwaagen

#Sample Redirect 301 /Produkte/Plattformwaagen_Paketwaagen/X http://www.digitalwaagen.de/Produkte/Platt...n-Paketwaagen/X

 

Redirect 301 /Produkte/Plattformwaagen/index.html http://www.digitalwaagen.de/Produkte/Platt...agen/index.html

Redirect 301 /Produkte/Plattformwaagen/Dipse_Plattformwaagen/index.html http://www.digitalwaagen.de/Produkte/Platt...twaa/index.html

Redirect 301 /Produkte/Plattformwaagen/Dipse_Plattformwaagen/Dipse_Parcel_XS68/dipse_parcel_xs68.html http://www.digitalwaagen.de/Produkte/Platt...arcel-xs68.html

Redirect 301 /Produkte/Plattformwaagen/Dipse_Plattformwaagen/Dipse-Parcel/index.html http://www.digitalwaagen.de/Produkte/Platt...rcel/index.html

Redirect 301 /Produkte/Plattformwaagen/Dipse_Plattformwaagen/Dipse_FCE/index.html http://www.digitalwaagen.de/Produkte/Platt...-FCE/index.html

Redirect 301 /Produkte/Plattformwaagen/Kern_Plattformwaagen/kern_plattformwaagen.html http://www.digitalwaagen.de/Produkte/Platt...formwaagen.html

Redirect 301 /Produkte/Plattformwaagen_Paketwaagen/index.html http://www.digitalwaagen.de/Produkte/Platt...agen/index.html

Redirect 301 /Produkte/Plattformwaagen_Paketwaagen/Kern_Plattformwaagen/kern_plattformwaagen.html http://www.digitalwaagen.de/Produkte/Platt...formwaagen.html

Redirect 301 /Produkte/Plattformwaagen_Paketwaagen/Dipse_Plattformwaagen_Paketwaa/Paketwaage_Dipse_FCE/index.html http://www.digitalwaagen.de/Produkte/Platt...-FCE/index.html

Redirect 301 /Produkte/Plattformwaagen_Paketwaagen/Dipse_Plattformwaagen_Paketwaa/Paketwaage_Dipse__Parcel_XS68/paketwaage_dipse__parcel_xs68.html http://www.digitalwaagen.de/Produkte/Platt...arcel-xs68.html

Redirect 301 /Produkte/Plattformwaagen_Paketwaagen/Dipse_Plattformwaagen_Paketwaa/Paketwaage_Dipse-Parcel/index.html http://www.digitalwaagen.de/Produkte/Platt...rcel/index.html

Redirect 301 /Produkte/Plattformwaagen_Paketwaagen/Dipse_Plattformwaagen_Paketwaa/index.html http://www.digitalwaagen.de/Produkte/Platt...twaa/index.html

Link to comment
Share on other sites

Options +FollowSymLinks

RewriteEngine On

RewriteBase /oscommerce/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 ^(.*)-t-(.*).html$ articles.php?tPath=$2&%{QUERY_STRING}

RewriteRule ^(.*)-a-(.*).html$ article_info.php?articles_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 ^(.*)-i-(.*).html$ information.php?info_id=$2&%{QUERY_STRING}

RewriteRule ^(.*)-links-(.*).html$ links.php?lPath=$2&%{QUERY_STRING}

 

Temporarily take out all of the code in .htaccess except for the SEO URL code then try it.

Link to comment
Share on other sites

Temporarily take out all of the code in .htaccess except for the SEO URL code then try it.

 

 

thanx fo this hint...but I try it before...same result

 

 

I can reach path like

catalog/dipse-m-10.html

catalog/kitchen-scale-c-24.html

 

but I'm not able to use the dropdown menue

catalog/index.php?manufacturers_id=11

catalog/index.php?manufacturers_id=17&sort=2a&filter_id=40

Link to comment
Share on other sites

Hello everyone,

 

I have Ultimate SEO Urls installed and some of my pages are being flagged for duplicate content i.e. duplicate meta descriptions and duplicate title tags. I've just discovered that categories with multiple pages are the main ones getting flagged.

 

Urls like: http://www.mysite.com/-c-3.html & http://www.mysite.com/-c-3.html?page=2&amp...=2a&op=list are being flagged for duplicate titles and thus duplicate descriptions. They are indeed different pages, but with the use Header Tags SEO, same titles are generated.

 

My goal is to have Category Page 1, Category Page 2 as titles for multiple pages.

 

Is there any fix so Ultimate SEO Urls can handle 'page=2&sort=2a&op=list' better and give a better title in Header Tags SEO?

 

Please help or post a link to a possible solution. I have searched all over this thread but I'm a php novice and don't know if I found the remedy or not.

 

Thanks for reading and any help given.

Link to comment
Share on other sites

i just downloaded and added the latest version of ultimate urls but i am getting the following error when i turn the function on

1146 - Table 'ebooksab_ebook.TABLE_REVIEWS' doesn't exist

 

select count(*) as count from TABLE_REVIEWS where products_id = '529'

 

[TEP STOP]

 

i only get this error when i view a product. i have looked at this forum to try and find the answer but still have no idea. does anyone have any ideas what is going wrong here

Link to comment
Share on other sites

Hello everyone,

 

I have Ultimate SEO Urls installed and some of my pages are being flagged for duplicate content i.e. duplicate meta descriptions and duplicate title tags. I've just discovered that categories with multiple pages are the main ones getting flagged.

 

Urls like: http://www.mysite.com/-c-3.html & http://www.mysite.com/-c-3.html?page=2&amp...=2a&op=list are being flagged for duplicate titles and thus duplicate descriptions. They are indeed different pages, but with the use Header Tags SEO, same titles are generated.

 

My goal is to have Category Page 1, Category Page 2 as titles for multiple pages.

 

Is there any fix so Ultimate SEO Urls can handle 'page=2&sort=2a&op=list' better and give a better title in Header Tags SEO?

 

Please help or post a link to a possible solution. I have searched all over this thread but I'm a php novice and don't know if I found the remedy or not.

 

Thanks for reading and any help given.

 

It's not an SEO URLs issue it is an oscommerce issue but there is a contribution here

Link to comment
Share on other sites

i just downloaded and added the latest version of ultimate urls but i am getting the following error when i turn the function on

 

 

i only get this error when i view a product. i have looked at this forum to try and find the answer but still have no idea. does anyone have any ideas what is going wrong here

 

It's not SEO URLs you have mucked up includes/database_tables.php

Link to comment
Share on other sites

if it helps this looks like the code that generates the url

 

$sort_prefix = '<a href="' . tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('page', 'info', 'sortcol', 'sortdir')) . 'page=1&sortcol=' . $colnum . '&sortdir='.($sortby == $colnum . 'a' 

? 'd' : 'a')) . '" title="' . tep_output_string(TEXT_SORT_PRODUCTS . ($sortby == $colnum . 'd' || substr($sortby, 0, 1) != $colnum ? TEXT_ASCENDINGLY : TEXT_DESCENDINGLY) . TEXT_BY . $heading) . '" 

class="productListing-heading">';

Link to comment
Share on other sites

It's not an SEO URLs issue it is an oscommerce issue but there is a contribution here

Thanks for refreshing my memory! I found that contrib the other night but remembered being tired and sleepy so it slipped my mind. I will install and hope it works. You've been contributing some great projects lately.

 

Thanks again.

Link to comment
Share on other sites

i just downloaded and added the latest version of ultimate urls but i am getting the following error when i turn the function on

 

1146 - Table 'ebooksab_ebook.TABLE_REVIEWS' doesn't exist

 

select count(*) as count from TABLE_REVIEWS where products_id = '529'

 

[TEP STOP]

 

It's not SEO URLs you have mucked up includes/database_tables.php

I took a look at the includes/database_tables.php file and i have no line reference to TABLE_REVIEWS ... Should there be one? if so does anyone know how it should read?

Link to comment
Share on other sites

I have loaded the recent version onto the server. When I placed the htaccess file in the catalog folder the site would go down with an internal server error. I spoke to the providers who said that "Options +FollowSymLinks" is not supported. What function does this provide ? Also is their an alternative ?

 

DanR

Link to comment
Share on other sites

I have loaded the recent version onto the server. When I placed the htaccess file in the catalog folder the site would go down with an internal server error. I spoke to the providers who said that "Options +FollowSymLinks" is not supported. What function does this provide ? Also is their an alternative ?

 

DanR

 

Change providers.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...