Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Language and default duplicated


Guest

Recommended Posts

Posted

Im trying to work out a way to stop duplication of pages for the following examples.

 

My default language is english so the index page would be index.php containing all my categories and descriptons in english.

 

BUT

 

When I have viewed the page in a different language such as spanish and want to go back to viewing it in english I get index.php?language=en when clicking on the english icon

 

The search engines will see this as a diplicate of index.php wont they?

 

Is there anyway to get the url to be my default url when clicking on the english flag?

 

Any help would be appreciated.

 

Thanks

Posted

yeah, you'd need to rewrite the box and the application_top.php so the langage is passed as a post variable and not as a get variable - get variables always show in the url

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Archived

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

×
×
  • Create New...