Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changing Spiders path from /index.php to /


Guest

Recommended Posts

Hello all;

 

I've changed my site links on breadcrumb and "continue buttons" to not point to

 

www.mysite.com/index.php

 

and now all links point to

 

www.mysite.com

 

For the homepage link

 

I'm doing this strictly for SEO purposes as google sees /index.php and / as completely different pages.

 

But of course have been indexed by spiders and want to know how to best approach telling spiders not to do there. disallow statement on robots.txt? htaccess?

 

Thanks

 

site if you want to sew what I'm talking about is http://www.misterbling.com

Link to comment
Share on other sites

Don't do anything...let it ride.

 

Bobby

 

Ok I'll do that. Simplier anyways. :D

 

Am I correct in thinking this is a better way to not point to index.php ? In directories and links I obviously put down www.misterbling.com not www.misterbling.com/index.php so I thought my site shouldn't point to /index.php .

 

thanks

-misterbling

Link to comment
Share on other sites

You have already implemented the best solution...anything you do to funnel PR back to the natural top level will destroy your index with the search engines. Remember, your entire category structure is based on the index.php file as parameter driven URLs (maybe not your site since you have SEO URLs installed) but will affect most others.

 

BTW, your configure.php settings are not correct...specifically the cookie settings.

 

Bobby

Link to comment
Share on other sites

That makes sense. So maybe not the best to do with a standard store? But stores might be better off to do this is they have modded urls? Just want to make sure as I creep up on my competitors on keyword ranks.

 

Odd thought cookies were ok

 

define('HTTP_SERVER', 'http://www.misterbling.com'); // eg, http://localhost - should not be empty for productive servers

  define('HTTPS_SERVER', 'https://misterbling.com'); // eg, https://localhost - should not be empty for productive servers

  define('ENABLE_SSL', true); // secure webserver for checkout procedure?

  define('HTTP_COOKIE_DOMAIN', '.misterbling.com');

  define('HTTPS_COOKIE_DOMAIN', 'misterbling.com');

  define('HTTP_COOKIE_PATH', '/cgi');

  define('HTTPS_COOKIE_PATH', '');

  define('DIR_WS_HTTP_CATALOG', '/');

  define('DIR_WS_HTTPS_CATALOG', '/');

  define('DIR_WS_IMAGES', 'images/');

  define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');

  define('DIR_WS_INCLUDES', 'includes/');

  define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');

  define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');

  define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');

  define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');

  define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

Link to comment
Share on other sites

define('HTTP_SERVER', 'http://www.misterbling.com'); // eg, http://localhost - should not be empty for productive servers
 define('HTTPS_SERVER', 'https://misterbling.com'); // eg, https://localhost - should not be empty for productive servers
 define('ENABLE_SSL', true); // secure webserver for checkout procedure?
 define('HTTP_COOKIE_DOMAIN', '.misterbling.com');
 define('HTTPS_COOKIE_DOMAIN', '.misterbling.com');
 define('HTTP_COOKIE_PATH', '/');
 define('HTTPS_COOKIE_PATH', '/');
 define('DIR_WS_HTTP_CATALOG', '/');
 define('DIR_WS_HTTPS_CATALOG', '/');
 define('DIR_WS_IMAGES', 'images/');
 define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
 define('DIR_WS_INCLUDES', 'includes/');
 define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
 define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
 define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
 define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
 define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...