I changed my file extensions, but google hasn't changed

Ok, I changed my file extensions to .shtml and google is still indexing as .html. I have tried uploading the Sitemap and other stuff to Google Webmaster Tools but no luck. Is there any other way to get Google to crawl my site? I guess this is the only way to update links.

0


a source to share


4 answers


You can try setting the refresh rate to always or something more frequent to index faster. However, I do not guarantee any guarantees. Otherwise, you just have to wait like everyone else.



+3


a source


Have you redirected from old .html filenames to new .shtml filenames? You have to do this - Google will pick up your changes faster (because it doesn't have to reopen all your pages), and it will carry PageRank from old URLs to new ones. There are a million descriptions on the net on how to do this.

But with that said, can't you just store the .html filenames and do some trickery with .htaccess (or the equivalent, you don't say which webserver you're using) to make the .html files comply with SSI directives? It:



AddType text/html .html
AddHandler server-parsed .html

      

should do it for Apache.

+4


a source


If your site is getting some traffic, then there is a good chance that Googlebot has already been visited. My site is small and I have to go around daily. You can be sure that Google already knows your new URLs.

The point is that Google only updates its indices every 3-4 weeks or so. There are a few exceptions to this, such as regularly updated blogs and forums, where new topics and posts are received very quickly. But it can usually take several weeks for your new URLs to hit the main search index.

Oops and tip: if you are rewriting the rules to redirect old .html addresses to your new .shtml addresses, make sure you are using 301 redirects and not 302 redirects. With 301 redirects, Google will assign the "link juice" that the old url has to the new url. With 302 redirects, it doesn't, and you could lose your pager.

+2


a source


Google periodically crawls the web, just wait a while, it will re-index your site.

0


a source







All Articles