Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Was in google (without SID) for a few weeks then dropped!!!!


medisave

Recommended Posts

Hello,

 

First off I have all of the available session ID killers and have never been index on my site with session ids.

 

A week ago lots of my URLS were spidered and then appeared about a week later in google with very good rankings.

 

Then this weekend i search for "eye wash station uk" which was giving me a number 2 ranking a few days ago suddenly is not there!

 

This was the URL which was indexed (without a session ID)

 

http://www.firstaidsave.co.uk/product_info.../products_id/64

 

Now it just does not exist in google. Whats going on - does it take a few months of spidering before things get a permanent position ? Should i expect to see lots of pages indexed then dropped again or has google dropped me for some reason?

 

I was also looking at search engine friendly bit. At the moment it generates the above url.

 

If I change the code to make the URL:

http://www.firstaidsave.co.uk/product_info...ucts_id/64.html (this still works!) - would this help search engine?? It would nt even guess it was php (would it?)

 

Graham

www.medisave.co.uk

Graham Wright

________________

Link to comment
Share on other sites

Well im not sure appending .html to the end of every product is worth doing and im not sure it will fool the search engine as .php is still in the directory structure but ive decided to give it a go (as im desperate!)

 

in html_output I changed

}



   if ( (SEARCH_ENGINE_FRIENDLY_URLS == 'true') && ($search_engine_safe == true) ) {

     while (strstr($link, '&&')) $link = str_replace('&&', '&', $link);



     $link = str_replace('?', '/', $link);

     $link = str_replace('&', '/', $link);

     $link = str_replace('=', '/', $link);

   }

   

   return $link;

 }

 

to

 

}



   if ( (SEARCH_ENGINE_FRIENDLY_URLS == 'true') && ($search_engine_safe == true) ) {

     while (strstr($link, '&&')) $link = str_replace('&&', '&', $link);



     $link = str_replace('?', '/', $link);

     $link = str_replace('&', '/', $link);

     $link = str_replace('=', '/', $link);

   }

    $link = $link . ".html";

   return $link;

 }

 

Yes im clutching at straws but i dont think its going to do any harm - im just having real problems with getting listed in google compared to my other sites that end in .html!!! Maybe google will look at this url differently.

 

A week ago i took lots of orders (couple of hundred) then after loosing google ive hardly took any!

Graham Wright

________________

Link to comment
Share on other sites

You may also want to try using Mod Rewrite if you're running off of a Linux type box. You can rename any url to whaterver you wish. Just make sure you stay on top of your rewrite rules when you add or delete prducts. It's a bit of a pain and I only reccomend it if you have a small shop or wish to promote key items.

 

Example:

 

http://mountainwatersspa.com/catalog/frenc...hgreenclay.html

 

The rewrite rule for the above:

 

RewriteEngine On

 

RewriteRule ^frenchgreenclay.html product_info.php/cPath/18/products_id/28

Link to comment
Share on other sites

I added your html modification. There is one little problem that might freak the search engines out. Having two instances of .hml and one .php in the samle link could have unpredicatable results.

 

Notice we have info.php, 25.html and add_product.html

http://www.mountainwatersspa.com/catalog/p...dd_product.html

 

The postnuke devs wrote a little script which we embedded into our themes templates (which produce the modules output) that interacted with a script written to .htacceess with mod rewrite enabled. Works well but is still only a temporary solution. All added articles are automatically translated. No need to hand write a new rule for each new article. It works the same for about 6 different modules (web links, downloads, search results, etc.)

 

I'm not a coder so I can't explain how the scripts work but I will post them if you're curious. They're not too long. Might help someone here write an interesting contrib :wink:

Link to comment
Share on other sites

Did you check www2.google.com and www3.google.com for your listings? Right now Google is going through their monthly deep crawl and the main site is "wonky" during this period.

 

To see if your site is actually indexed, you need to check the other servers at the address above and after the crawl is over they will be rotated to the main site.

 

If you need more information on Google, you can visit the forums I administrate which are located at: www.sitepointforums.com.

 

To discuss Google go directly to:

http://www.sitepointforums.com/forumdispla...?s=&forumid=177

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...