Jump to content


Corporate Sponsors


Latest News: (loading..)

* * * * * 12 votes

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


6413 replies to this topic

#6401 dasani

  • Community Member
  • 2 posts
  • Real Name:Sergey

Posted 20 January 2012, 22:21

Ok....
I figure it out.. I acedently deleted line in admin/categories.php:
  $action = (isset($HTTP_GET_VARS['action']) ? $HTTP_GET_VARS['action'] : '');
paste it back and it is working fine now!!!

#6402 Jeff Swenson

  • Community Member
  • 3 posts

Posted 23 January 2012, 22:56


having issues with getting all my links to rewrite.
could i get some assistance?

i have it partially working on my main live site, but the catagories are not rewriting: https://www.irepairworks.com/products.php?cPath=25_29

products are working : https://www.irepairworks.com/iphone-3gs-diagnostic-service-p-94.html

here is following .httaccess:


--------------------------------------------------

Options +FollowSymLinks

<IfModule mod_rewrite.c>



RewriteEngine on



RewriteCond %{HTTP_HOST} ^irepairworks\.com [NC]

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



RewriteCond %{HTTPS} off

RewriteRule ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [R=301,L]





# 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 RewriteBase using the instructions above

RewriteBase /

RewriteRule ^([a-z0-9/-]+)-p-([0-9]+).html$ product_info.php [NC,L,QSA]

RewriteRule ^iPhone-3g-Repair\.html$ /products.php?cPath=25_28 [L]
RewriteRule ^([a-z0-9/-]+)-c-([0-9_]+).html$ index.php [NC,L,QSA]

RewriteRule ^([a-z0-9/-]+)-m-([0-9]+).html$ index.php [NC,L,QSA]

RewriteRule ^([a-z0-9/-]+)-pi-([0-9]+).html$ popup_image.php [NC,L,QSA]

RewriteRule ^([a-z0-9/-]+)-pr-([0-9]+).html$ product_reviews.php [NC,L,QSA]

RewriteRule ^([a-z0-9/-]+)-pri-([0-9]+).html$ product_reviews_info.php [NC,L,QSA]

# Articles contribution

RewriteRule ^([a-z0-9/-]+)-t-([0-9_]+).html$ articles.php [NC,L,QSA]

RewriteRule ^([a-z0-9/-]+)-au-([0-9]+).html$ articles.php [NC,L,QSA]

RewriteRule ^([a-z0-9/-]+)-a-([0-9]+).html$ article_info.php [NC,L,QSA]

# Information pages

RewriteRule ^([a-z0-9/-]+)-i-([0-9]+).html$ information.php [NC,L,QSA]

# Links contribution

RewriteRule ^([a-z0-9/-]+)-links-([0-9_]+).html$ links.php [NC,L,QSA]

# Newsdesk contribution

RewriteRule ^([a-z0-9/-]+)-n-([0-9]+).html$ newsdesk_info.php [NC,L,QSA]

RewriteRule ^([a-z0-9/-]+)-nc-([0-9]+).html$ newsdesk_index.php [NC,L,QSA]

RewriteRule ^([a-z0-9/-]+)-nri-([0-9]+).html$ newsdesk_reviews_info.php [NC,L,QSA]

RewriteRule ^([a-z0-9/-]+)-nra-([0-9]+).html$ newsdesk_reviews_article.php [NC,L,QSA]

</IfModule>



#6403 Jack_mcs

  • Community Member
  • 24,075 posts
  • Real Name:Jack
  • Gender:Male

Posted 24 January 2012, 00:06

View PostJeff Swenson, on 23 January 2012, 22:56, said:


having issues with getting all my links to rewrite.
could i get some assistance?

i have it partially working on my main live site, but the catagories are not rewriting: https://www.irepairworks.com/products.php?cPath=25_29

That's not a valid url, or, at least, not one this contribution can understand. You'll need to change it so it uses the standard oscommerce format and then it should redirect correctly.

#6404 nishanthan1989

  • Community Member
  • 12 posts
  • Real Name:nisanthan

Posted 25 January 2012, 12:16

hi
when im running the osc from a localhost how do i change my htaccess file
i have changed like this
RewriteBase http://localhost/osc/ = RewriteBase /osc/

but i'm getting server error , anyone got any idea ?

#6405 Jack_mcs

  • Community Member
  • 24,075 posts
  • Real Name:Jack
  • Gender:Male

Posted 25 January 2012, 14:25

View Postnishanthan1989, on 25 January 2012, 12:16, said:

hi
when im running the osc from a localhost how do i change my htaccess file
i have changed like this
RewriteBase http://localhost/osc/ = RewriteBase /osc/

but i'm getting server error , anyone got any idea ?
RewriteBase /osc/

#6406 PērļošanaPērļuBode

  • Community Member
  • 9 posts

Posted 06 February 2012, 01:06

Hello!
I have problem with special characters.
In admin panel- configuration- seo urls - Enter special character conversion I entered:ā=>a,ņ=>n,Ī=>I,š=>s,ä=>a,ö=>o,ü=>u,ß=>s,ё=>yo,ж=>zh,ф=>ph,х=>kh,ц=>ts,ч=>ch,ш=>sh,щ=>sch,ю=>ju,э=>e,я=>ja,б=>b,в=>v,г=>g,д=>d,з=>z,и=>i,й=>j,л=>l,п=>p,ы=>y,н=>n,е=>e,к=>k,м=>m,о=>o,р=>r,с=>s,т=>t,у=>u,
х=>h,Ё=>E,с=>s,Ж=>ZH,Ф=>PH,Х=>KH,Ц=>TS,Ч=>CH,Ш=>SH,Щ=>SCH,Э=>E,Ю=>JU,Я=>JA,А=>A,Б=>B,Г=>G,Д=>D,Е=>E,
З=>Z,И=>I,Й=>J,К=>K,Л=>L,М=>M,Н=>N,О=>O,П=>P,Р=>R,С=>S,Т=>T,У=>U,Х=>H,Ц=>C,Ы=>Y,а=>a,В=>V,ē=>e (I have 4 languages)
but in table 'title and value' appears:
" Enter special character conversions ā=>a,ņ=>n,Ī=>I,š=>s,ä=>a,ö=>o,ü=>u,ß=>s,ё=>yo,ж=>zh,ф=>ph,х=>kh,ц=>ts,ч=>ch,ш=>sh,щ=>sch,ю=>ju,э=>e,я=>ja,
б=>b,в=>v,г=>g,д=>d,з=>z,и=>i,й=>j,л=>l,п=>p,ы=>y,н=>n,е=>e,к=>k,м=>m,о=>o,р=>r,с=>s,т=>t,у=>u,х=>h,Ё=>E,с=>s,
Ж=>ZH,Ф=>PH,Х=>KH,Ц=>TS,Ч=>CH,Ш=>SH,Щ=>SCH,Э=>E,Ю=>JU,Я=>JA,А=>A,Б=>B,Г=>G,Д=>D,Е=>E,З=>Z,И=>I,Й=>J,
К=>K,Л=>L,М=>M,Н=>N,О=>O,П=>P,Р=>R,С=>S,Т=>T,У=>U,Х=>H,Ц=>C,Ы=>Y,а=>a,В=>V,ē=>e"


Characters ā=>a,ņ=>n,Ī=>I,š=>s,ē=>e saves as ā=>a,ņ=>n,Ī=>I,š=>s,ä=>a,ē=>e

In admin panel - catalog - Categories/Products table s product names shows with this mistakes:

Finierētas iekšdurvis but must be Finierētas iekšdurvis

urls is working fine, bet problems sometimes is with page, when I go to page from admin panel (if I click on "online catalog"(Administration | Online Catalog | Support Site)) for example this mistakes appears in contribution 'Header Tags Seo' keywords tagcloud and Top Title or in contrubution 'Display VAT Under Price'.
How could I fix that?

Edited by PērļošanaPērļuBode, 06 February 2012, 01:15.


#6407 Jack_mcs

  • Community Member
  • 24,075 posts
  • Real Name:Jack
  • Gender:Male

Posted 06 February 2012, 01:21

View PostPērļošanaPērļuBode, on 06 February 2012, 01:06, said:

urls is working fine, bet problems sometimes is with page, when I go to page from admin panel (if I click on "online catalog"(Administration | Online Catalog | Support Site)) for example this mistakes appears in contribution 'Header Tags Seo' keywords tagcloud and Top Title or in contrubution 'Display VAT Under Price'.
How could I fix that?
I don't understand the problem. Are you sayng that you have, for example, ē=>e, in admin but an e doesn't show in the url of the shop?

#6408 Adamanto75

  • Community Member
  • 61 posts

Posted 06 February 2012, 05:09

Hey does this version work for osc 2.3.1?

#6409 Adamanto75

  • Community Member
  • 61 posts

Posted 06 February 2012, 06:16

Hey I just finished installed ultimate seo urls v22d 11 on osc 2.3.1 and all my products are working fine and everything I can checkout.... (the install went smoothly)

But when I go to access my admin it gives me this error

Fatal error: Cannot redeclare tep_reset_cache_data_seo_urls() (previously declared in /hermes/web08/b2492/moo.oursacredgardencom/oursacredgarden.com/admin/includes/functions/general.php:1480) in/hermes/web08/b2492/moo.oursacredgardencom/oursacredgarden.com/admin/includes/functions/general.php on line 1520

And I go to line 1520 and all it says is this....

1517 # The return value is used to set the value upon viewing
1518 # It's NOT returining a false to indicate failure!!
1519 return 'false';
1520 }
1521
1522
1523 ?>

Does anyone know why this is happening??

Thanks in advance

Adamnto75

Edited by Adamanto75, 06 February 2012, 06:17.


#6410 gijs

  • Community Member
  • 6 posts
  • Real Name:gijs

Posted 06 February 2012, 11:19

Thanks for this great contribution!

I use it for a while and it works great.

But now i got a little problem:

I want to link a product to an other categorie, but i want the url different.

So for example:

productcat1-product1.html

link to categorie2,
the link should be

productcat2-product1.html

when i just copy the product the link is ok, but my stock will also double so the products has to be linkt

Does anybody knows how to do this?

Thanks in advanced.
Gijs

#6411 Jack_mcs

  • Community Member
  • 24,075 posts
  • Real Name:Jack
  • Gender:Male

Posted 06 February 2012, 11:58

View PostAdamanto75, on 06 February 2012, 06:16, said:

Fatal error: Cannot redeclare tep_reset_cache_data_seo_urls() (previously declared in /hermes/web08/b2492/moo.oursacredgardencom/oursacredgarden.com/admin/includes/functions/general.php:1480) in/hermes/web08/b2492/moo.oursacredgardencom/oursacredgarden.com/admin/includes/functions/general.php on line 1520

Does anyone know why this is happening??
It means you made a mistake in the change for the admin/includes/functions/general.php file.

#6412 txigor

  • Community Member
  • 3 posts
  • Real Name:zigor

Posted Yesterday, 14:09

Hello,

Due to the intensive use of my website i need to create an index on cache table.
I did it using phpmyadmin but its deleted some time after i create it.
I realized my cache is created often because the creation date time showed by phpmyadmin change every 3-4 hours.
I assumed thats the class who do this and added this code to the creation sql statement:
KEY `cache_expires` (`cache_expires`)

But the table isn't created with the index.

What can be happening, why my cache table is created so often.

Hope someone can help.

Thanks
Zigor

#6413 Pandinvs

  • Community Member
  • 4 posts
  • Real Name:Pandinvs

Posted Yesterday, 21:04

Hi Bobby!

I installed Your SEO pack here. In .htaccess file, the RewriteBase is "/". For now, I cannot access the admin panel, because I receive a stupid error: "www.potompenz.hudir_ws_http_cataloglogin.php." The SEF URL's are not generated, of course.
Please, help me asap... :(

Cheers,
Pandinvs

P.S.: I restore the previous state for now, because I must work on site.

Edited by Pandinvs, Yesterday, 21:08.


#6414 Pandinvs

  • Community Member
  • 4 posts
  • Real Name:Pandinvs

Posted Yesterday, 22:10

Okay!

Now works fine! It was a minor problem.
So, another question: for now, all the diacritics of hungarian language are ignored (exactly: ÁÉÍÓÖÜÚŰ - áéíóöüúű). Can I set de conversion rules, to add these characters to the SEF URL's.
As I seen, USEO add some suffixes to the SEF name. I don't need this. Can be removed?

Cheers,
Pandinvs