Issue for OSCommerce websites

I have a issue for OSCommerce websites.

If i open my website say

http://www.xyz123.com/

and when i open it in browser like

http://www.xyz123.com/index.php

… which is same as

http://www.xyz123.com/.

Issue is in my site many pages in category also( Not All) open like this with *.php and *.html both pages are same.

Does it make any difference to Google Ranking or Duplication Issue for search engines.

Any Side effect if feel please suggest.

Yes this makes a difference for rankings,
You want to use something called mod_rewrite
and force /index.php or force without it

I’d just google “Mod Rewrite Remove index.php” there are so many sites i dont know what to point you to :stuck_out_tongue:

Thanks for your suggestions,

I have more than 500 pages with same issue.

like

http://www.domain.com/index.php with http://www.domain.com/index.html
http://www.domain.com/cat1/abc.php with http://www.domain.com/cat1/abc.html

and so on…with all levels and sub-categories

In OSCommerce Site(My Website) we have activated SEO-G(Feature in OSCommerce for SEO).

can we make Canonical for all 500+ pages or make redirect_mod

Any time you allow your content to be accessed by more than one address (URL) you are exposing your self to duplicate content issues by splitting the back-link value between them.

Best option is 301 redirect to one preferred format
2nd option is to set rel=canonical link element to one preferred format

For those in your 2nd post, you would want to mod_rewrite all .html to .php pages

Which is something like this in your .htaccess

RewriteEngine On
RewriteBase /
RewriteRule ^(.*)\\.html$ $1.php [L]

It might be tricky if it requires sub-directories, I’m not sure, I’m not very good with apache you could ask on the Apache forums on here :slight_smile: