Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Ultimate SEO URLs


pfilias

Recommended Posts

Posted

For some reason, my product reviews link doesn't seem to work. The SEO URL is being generated correctly, yet, the page doesn't come up.

 

Please advise if you have any ideas.

 

http://dev.ascend-internet.com/cubbybear_s...acket-p-37.html

 

On that page, if you click the Reviews button, the link is:

http://dev.ascend-internet.com/cubbybear_s...cket-pr-37.html as it should be, yet, the reviews page doesn't load up.

Posted

works for me:

 

"There are currently no product reviews."

SolarFrenzy

Solar powered gadgets at down to earth prices.

 

CheekyNaughty

Promoting British Design

Posted
works for me:

 

"There are currently no product reviews."

 

 

Try THIS

 

It is one of the bugs in 2-2.2e dependent on the settings you are running

 

I'm just about to upload instructions.htm as an attachment.

Posted
Try THIS

 

It is one of the bugs in 2-2.2e dependent on the settings you are running

 

I'm just about to upload instructions.htm as an attachment.

 

I actually did the change to the ValidateName function to fix the bug and it worked.

Posted
I actually did the change to the ValidateName function to fix the bug and it worked.

 

 

Commenting out the validatename function just kills the function. You should validated urls or you could face penalties with the search engines.

Posted
Commenting out the validatename function just kills the function. You should validated urls or you could face penalties with the search engines.

 

I didn't comment out the function. I just did the fix to that function that was posted in the Ultimate SEO URLs contribution area.

Posted
I didn't comment out the function. I just did the fix to that function that was posted in the Ultimate SEO URLs contribution area.

 

That's a hack .. it is bad code that just breaks the validation totally.

Posted
Scope: Bug in Ultimate SEO 2-2.2e.

I am not sure if it exists or added in this version.

 

Bug description: When one clicks to check review page by clicking review link on product_info page, it

 

redirects to same Product info page.

 

In /catalog/includes/classes/seo.class.php

Under function ValidateName

 

Find:

if ((strpos($parts[count($parts) - 2], $type)) !== FALSE)

 

Replace with:

if ($parts[count($parts) - 2] == $type)

 

That is the one I did.

 

Which one am I supposed to use?

Posted
That is the one I did.

 

Which one am I supposed to use?

 

Entirely up to you.

 

I wrote a solution but you are free to use whatever you wish ofc.

Posted
Entirely up to you.

 

I wrote a solution but you are free to use whatever you wish ofc.

 

I may try your solution as soon as I get a free moment. Thank you very much.

Posted
I may try your solution as soon as I get a free moment. Thank you very much.

 

 

Until I get more feedback from users I still consider it beta. But then again you are adding one tiny bit of code to catalog/includes/application_top.php .. easy to add .. easy to remove.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...