Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Paths code different


amark

Recommended Posts

Hello

Ive got 2 sites, both of them have exactly the same files (php,htaccess,), still the path of the links are different.

 

1:

Slash mark after the product_info.php:

http://www.amark.sk/product_info.php/products_id/106101407111014

2:

Question mark after the product_info.php:

http://www.pentium.sk/product_info.php?products_id=105030103010303

 

The problem is the path I recevie when use advance_searching.php in the first server

I recieve the path of the results where are two slashes:

http://www.amark.sk/product_info.php/manufacturers_id//products_id/104060504030200

And this path doesnt work,

All the files php are the same, only database are different.

Both sites are on the same server so php is also the same, php5.

 

Can anybody help me what should I to do to solve It?

How to correct it?

Thank You

Frank

www.amark.sk

www.pentium.sk

Hello World!

Link to comment
Share on other sites

you are missing manufacturer id here:

 

http://www.amark.sk/product_info.php/manufacturers_id//products_id/106101407111014

 

if you add it manually

 

http://www.amark.sk/product_info.php/manufacturers_id/5/products_id/106101407111014

 

then it works...

Link to comment
Share on other sites

ID of manufacturere is inserted corectly if I select any manufacturer from manufacturers drop down list in the advance searching. But if i dont select any of manufacturers list, the links of the product in the result page has inserded two slashes.

It is a link to product from result page. I cant edit it manually.

Have some idea why question is replaced by slash, in all pages? See the first two links above. I think this is the problem why advance searchig produce links with two slashes.

Hello World!

Link to comment
Share on other sites

why you're using the stock osc friendly urls? It wont help. So goto to your osc admin->Configuration->My Store->Use Search Engine Friendly URLs set it to false to fix your problem.

 

This switch doesn't do anything for SEO. If you want meaningful links generatation use some SEO contribution that converts the various ids into names.

Link to comment
Share on other sites

So simple, when You know what to do, I really dont know when I turn this option on.

From the first installation I keep It turned off ....

Thanks again

Hello World!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...