Fred wrote:The point is that my “main page” (let’s say “Z”, which is also in /catalog) is a page that has nothing to do with the normal osCommerce one (/catalog/index.php) …and some of the directives in the MSU “.htaccess” have been built on this Z page. So far, it sounds absolutely logical and I could check that site behaviour was NOT affected. So everything seems ok...
Basically - yes it is ok. Anyway, if you find any unexpected behavior during future usage, feel free to contact us.
Fred wrote:…but I have a remaining question : what will make more sense from a SEO perspective WHEN OUR SHOP IS READY?
1. Should I change the “DirectoryIndex” directive in the top-level .htaccess (the one in the www root) to redirect to “/catalog/index.php” instead of the current “/catalog/Z”? (I guess that no, as Z is the main entry page for bots…but you will know more)
2. Or manually replace the Z chain in the MSU .htaccess by “index.php” ? (Should work, isn’t it?)
Not completely, because index.php is handling lot of different requests in osCommerce - not only index (but also categories, products).
Fred wrote:3. Or repass the whole MSU process, but browsing this time in the precise “/catalog/index.php” url first?
4. Or anything else that you would recommend…
Since
http://www.example.com/ and
http://www.example.com/catalog/ is showing same content, I highly recommend you to make immediately decision where you do want to have all your content placed in / (root) or in /catalog/. In case of /catalog/, place following lines to the .htaccess file in / (root):
- Code: Select all
RewriteBase /
RewriteRule ^$ catalog/ [L,R=301]