Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

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


Recommended Posts

I guess this isn't a seo.class.php problem. Turning off seo urls doesn't fix it.

 

No its a site code issue .. the urls are wrong for the next links.

Link to comment
Share on other sites

Please help

 

I just installed Ultima Seo Urls and everything was fine.. but now i want to active them in Admin... but there is no menu called "SEO URLs"

 

What did i have to do that i could see the menu "SEO URLs"

Edited by Scotty2k
Link to comment
Share on other sites

Please help

 

I just installed Ultima Seo Urls and everything was fine.. but now i want to active them in Admin... but there is no menu called "SEO URLs"

 

What did i have to do that i could see the menu "SEO URLs"

 

USU auto installs, the only time this ever happens is when you have installed more than once and there are conflicting configuration settings.

 

Try running the following in phpmyadmin and see if it auto installs.

 

Warning: This delete query uses "LIKE" so please ensure you have no other settings with SEO in the configuration_group_title or configuration_key.

 

DELETE FROM `configuration_group` WHERE `configuration_group_title` LIKE '%SEO%';
DELETE FROM `configuration` WHERE `configuration_key` LIKE '%SEO%';

Edited by FWR Media
Link to comment
Share on other sites

Good day,

 

First I want to thank Chemo aka. Billy, but I understand he's long gone from this site? It's a shame.

 

I am encoutering a problem; when I turn on the SEO URL (2.2 or 2.1) I can't seem to go to a product description website link.

Then I wil get this error:Not Found

 

"The requested URL /redirect.php/action/url/goto/www.amd.com/us-en/Processors/ProductInformation/0,,30_118_9485_13041,00.html was not found on this server."

 

The original link with SEO turned off is: (this one works)

"http://www.hetonderdelenmannetje.nl/redirect.php?action=url&goto=www.amd.com%2Fus-en%2FProcessors%2FProductInformation%2F0%2C%2C30_118_9485_13041%2C00.html"

 

And with SEO turned on:

"http://www.hetonderdelenmannetje.nl/redirect.php/action/url/goto/www.amd.com%2Fus-en%2FProcessors%2FProductInformation%2F0%2C%2C30_118_9485_13041%2C00.html"

 

Does anyone know where I can change these faults??

Link to comment
Share on other sites

This is not an SEO URLs issue.

 

Turn off Use Search-Engine Safe URLs (still in development) in your admin>configuration they do not work and should not be used with USU.

Edited by FWR Media
Link to comment
Share on other sites

This is not an SEO URLs issue.

 

Turn off Use Search-Engine Safe URLs (still in development) in your admin>configuration they do not work and should not be used with USU.

 

WOW! Thanks a lot! It works perfect now.. :lol:

I'm hoping the OsC v3 will come soon.

 

Thanks again for your help.

 

Byee, Richard

Link to comment
Share on other sites

Having a problem with Ultimate SEO URLs v2.1 - by Chemo + IndependentSeoUrlValidation_v1.0.3.zip

and

Information Pages Unlimited ipuv2044

 

When have USU turned on the information page link only say http://xxx.xxxx.xx/-i-6.html and goes to the 404 page.

If i turn off USU it says http://xxx.xxxx.xx/information.php?info_id=6

 

 

 

Products and categories shows correctly http://xxx.xxxx.xx/demo-produkt-p-28.html

 

I have tryed the Curl fix mention erlier for this.

Link to comment
Share on other sites

Having a problem with Ultimate SEO URLs v2.1 - by Chemo + IndependentSeoUrlValidation_v1.0.3.zip

and

Information Pages Unlimited ipuv2044

 

When have USU turned on the information page link only say http://xxx.xxxx.xx/-i-6.html and goes to the 404 page.

If i turn off USU it says http://xxx.xxxx.xx/information.php?info_id=6

Products and categories shows correctly http://xxx.xxxx.xx/demo-produkt-p-28.html

 

I have tryed the Curl fix mention erlier for this.

 

Well I don't know about any "curl fix" that is necessary but obviously seo.class.php is having problems pulling the info title.

 

The query is as follows: -

 

SELECT info_title as iName 
FROM ".TABLE_INFORMATION." 
WHERE information_id='".(int)$iID."' 
AND languages_id='".(int)$this->languages_id."' 
LIMIT 1

 

So try running the following in phpmyadmin and see what it pulls out ..

 

SELECT info_title as iName
FROM information
WHERE information_id='6'
AND languages_id='1'
LIMIT 1

Edited by FWR Media
Link to comment
Share on other sites

Well I don't know about any "curl fix" that is necessary but obviously seo.class.php is having problems pulling the info title.

 

The query is as follows: -

 

SELECT info_title as iName 
FROM ".TABLE_INFORMATION." 
WHERE information_id='".(int)$iID."' 
AND languages_id='".(int)$this->languages_id."' 
LIMIT 1

 

So try running the following in phpmyadmin and see what it pulls out ..

 

SELECT info_title as iName
FROM information
WHERE information_id='6'
AND languages_id='1'
LIMIT 1

 

 

Thanks, this put me ont the right track. There is 2 instanse of this code in that file and it holds 2 errors.

 

The first one is the table name info_title witch should be information_title

and

AND languages_id='".(int)$this->languages_id."' that should be AND language_id='".(int)$this->languages_id."'

 

Not it work as supposed.

Link to comment
Share on other sites

YAY!!!

everything seems to be working!!! http://www.grunionfabrication.com

I added the changes from edgecrush on the contribution page and that seemed to do it!

http://www.oscommerce.com/community/contributions,2823

Thanks to everyone on this forum for help!

I don't suppose anyone has edgecrush's changes handy? The add-ons page isn't working for me, and I have a non-functioning checkout.

Link to comment
Share on other sites

Thanks, this put me ont the right track. There is 2 instanse of this code in that file and it holds 2 errors.

 

The first one is the table name info_title witch should be information_title

and

AND languages_id='".(int)$this->languages_id."' that should be AND language_id='".(int)$this->languages_id."'

 

Not it work as supposed.

 

Glad you got it sorted but they are not errors. When the information contribution was updated the author changed names in the table fields for some inexplicable reason.

Link to comment
Share on other sites

Glad you got it sorted but they are not errors. When the information contribution was updated the author changed names in the table fields for some inexplicable reason.

 

Anyway, i updated the package Ultimate_SEO_URLSv21d_UPDATED_1_2 and changed the table names so that it work with newer version of information pages unlimited.

Link to comment
Share on other sites

In general this works great for me - but I'm having a problem with 301 redirects.

 

We just changed the name of one of our categories, i.e.

old URL: mysite.com/old-category-name-c-31.html

new URL: mysite.com/new-category-name-c-31.html

 

The way the contribution is set up the site will render the same category page (for category #31) either way. However, since the old URL was in the search engines I wanted to do a 301 redirect.

 

I tried to do that in my .hatccess (doing a standard 301 redirect) but the user gets redirected to:

mysite.com/new-category-name-c-31.html?cPath=31

 

How do I remove the "?cPath=31" ?? (i.e. stop it from being appended when we are doing a 301 redirect)

 

This is disabled in the options and none of our other URLs have "?cPath=" in them.

 

Any help would be appreciated.

 

Hi !

 

I think this topics from this thread could help you:

 

http://www.oscommerce.com/forums/index.php?sho...;p=897112

 

http://www.oscommerce.com/forums/index.php?sho...adspiegel

 

This will work perfectly if you change only the product/category name. The ID have to remain.

 

 

I'm looking for another solution for a permanent redirect.

 

I would like to redirect permanent my article site to another site.

 

In .htaccess I put

 

Redirect permanent /product-xyz-p-888.html http://www.myshop.com/landingpage.html

 

But this will cause the same above mentioned problem.

 

The site shows up as http://www.myshop.com/landingpage.html?products_id=888

 

How do I remove the "?products_id=888" ??

 

greetings Bernd

Link to comment
Share on other sites

Hi !

 

I think this topics from this thread could help you:

 

http://www.oscommerce.com/forums/index.php?sho...;p=897112

 

http://www.oscommerce.com/forums/index.php?sho...adspiegel

 

This will work perfectly if you change only the product/category name. The ID have to remain.

I'm looking for another solution for a permanent redirect.

 

I would like to redirect permanent my article site to another site.

 

In .htaccess I put

 

Redirect permanent /product-xyz-p-888.html http://www.myshop.com/landingpage.html

 

But this will cause the same above mentioned problem.

 

The site shows up as http://www.myshop.com/landingpage.html?products_id=888

 

How do I remove the "?products_id=888" ??

 

greetings Bernd

 

SEO URLs validation

 

http://addons.oscommerce.com/info/5738

Link to comment
Share on other sites

I just moved mt store to a new VPS host. Now my SEO doesn't work. The page comes up but when I click on a product or category the correct SEO URL shows up in the URL bar but all I get is a blank page.

 

My SIDs are also not going away. I'm wondering if the problem is related.

Link to comment
Share on other sites

Anyway, i updated the package Ultimate_SEO_URLSv21d_UPDATED_1_2 and changed the table names so that it work with newer version of information pages unlimited.

 

Hi,

Will this work with a site that has Greek language installed as well?

 

If customer selects Greek language then urls look funny like http://www.mydomain.com/catalog/ΓΓ½Γ...Γ-p-773.html

 

Multiple currencies and manufacturers didn't work either. I had to disable the SEO feature completely.

 

Just thought I'd ask before I try this update.

 

Thank you in advance

Edited by artstyle
Link to comment
Share on other sites

I just moved mt store to a new VPS host. Now my SEO doesn't work. The page comes up but when I click on a product or category the correct SEO URL shows up in the URL bar but all I get is a blank page.

 

My SIDs are also not going away. I'm wondering if the problem is related.

 

Of course it is related. You moved host and you haven't correctly updated your configure files, also checkout .htaccess and the RewriteRule.

Link to comment
Share on other sites

Of course it is related. You moved host and you haven't correctly updated your configure files, also checkout .htaccess and the RewriteRule.

 

 

The configuration files are correct. There's only one way for them to work as far as I know. I spent my time changing everything I know to be host related.

Link to comment
Share on other sites

Here are the apache errors I get while trying to use SEO:

 

[Fri May 9 23:41:03 2008] [error] mod_gzip: EMPTY FILE [/tmp/_32510_253_154.wrk] in sendfile2

[Fri May 9 23:41:03 2008] [error] mod_gzip: Make sure all named directories exist and have the correct permissions.

[Fri May 9 23:46:17 2008] [error] [client ~MY IP~] File does not exist: /usr/local/apache/htdocs/index.php

[Fri May 9 23:46:22 2008] [error] [client ~MY IP~] File does not exist: /usr/local/apache/htdocs/index.php

Link to comment
Share on other sites

Here are the apache errors I get while trying to use SEO:

 

[Fri May 9 23:41:03 2008] [error] mod_gzip: EMPTY FILE [/tmp/_32510_253_154.wrk] in sendfile2

[Fri May 9 23:41:03 2008] [error] mod_gzip: Make sure all named directories exist and have the correct permissions.

[Fri May 9 23:46:17 2008] [error] [client ~MY IP~] File does not exist: /usr/local/apache/htdocs/index.php

[Fri May 9 23:46:22 2008] [error] [client ~MY IP~] File does not exist: /usr/local/apache/htdocs/index.php

 

Nothing to do with USU.

Link to comment
Share on other sites

Nothing to do with USU.

 

 

It is acting like the USU entries in .htaccess aren't there at all. My host just told me that the entries in .htaccess look correct but that the server runs suPHP and rewrites may sometimes require special tweaking.

Link to comment
Share on other sites

It is acting like the USU entries in .htaccess aren't there at all. My host just told me that the entries in .htaccess look correct but that the server runs suPHP and rewrites may sometimes require special tweaking.

 

Running PHP as a CGI and suPHP makes no difference to rewrites, however it could be that you have 0777 directories which need to be changed to 0755

Link to comment
Share on other sites

Running PHP as a CGI and suPHP makes no difference to rewrites, however it could be that you have 0777 directories which need to be changed to 0755

 

 

Why would having a 0777 directory change the way SEO works? Which directories could cause this problem?

 

Thanks!

Link to comment
Share on other sites

Running PHP as a CGI and suPHP makes no difference to rewrites, however it could be that you have 0777 directories which need to be changed to 0755

 

 

The only directories that are 777 are /images and /admin/backup all the rest are 755.

 

Any other ideas?

Link to comment
Share on other sites

The only directories that are 777 are /images and /admin/backup all the rest are 755.

 

Any other ideas?

 

Please take this to general support, it is nothing to do with USU and it will hamper people genuinly looking to solve USU problems.

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...