[Pro] site not found

Having recently launched a new site for a client who alreaday had an old site, which was removed, I was dismayed to find that typing in the site name in google search yielded an error page or ‘site not found’ message.

And I noticed that google had cached the old site…which had a /index.php file name…where mine has /index.html…how do I go abt putting this right?
FWRookie


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

You could use an .htaccess file to redirect index.php to index.html,
for a start. As to getting google wise to the new site, you should
definitely submit it for indexing.

Make a plain text file (use TextWrangler or BBEdit or TextMate or
another programmer’s text editor for this purpose). Put the
following line in it:

Redirect index.php index.html

Save the file as any name you like, then use an FTP application to
upload it into the same folder on the server where your other HTML
files live. Using the FTP application, rename that file to
be .htaccess (just like that, a dot, and the letters). Don’t be
surprised if the file seems to disappear the moment you do this. A
leading dot in a filename is a Unix convention for a hidden file. Your
FTP application will have a preference or a menu option to “Show
Hidden Files” or similar, and once you turn that on, you will see
your .htaccess file and maybe a bunch of other previously invisible
files. One other thing – you may already have an .htaccess file, many
hosting providers use them to set individual preferences for your
server. You might want to enable “Show Hidden Files” first, and if you
see an existing .htaccess file, use your FTP application to edit it
and add that line to it.

Walter

On Jun 29, 2010, at 7:10 PM, FWRookie wrote:

Having recently launched a new site for a client who alreaday had an
old site, which was removed, I was dismayed to find that typing in
the site name in google search yielded an error page or ‘site not
found’ message.

And I noticed that google had cached the old site…which had a /
index.php file name…where mine has /index.html…how do I go abt
putting this right?
FWRookie


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options

On 29 Jun 2010, 11:34 pm, waltd wrote:

You could use an .htaccess file to redirect index.php to index.html,
for a start. As to getting google wise to the new site, you should
definitely submit it for indexing.

Make a plain text file (use TextWrangler or BBEdit or TextMate or
another programmer’s text editor for this purpose). Put the
following line in it:

Redirect index.php index.html

Save the file as any name you like, then use an FTP application to
upload it into the same folder on the server where your other HTML
files live. Using the FTP application, rename that file to
be .htaccess (just like that, a dot, and the letters). Don’t be
surprised if the file seems to disappear the moment you do this. A
leading dot in a filename is a Unix convention for a hidden file. Your
FTP application will have a preference or a menu option to “Show
Hidden Files” or similar, and once you turn that on, you will see
your .htaccess file and maybe a bunch of other previously invisible
files. One other thing – you may already have an .htaccess file, many
hosting providers use them to set individual preferences for your
server. You might want to enable “Show Hidden Files” first, and if you
see an existing .htaccess file, use your FTP application to edit it
and add that line to it.

Walter

On Jun 29, 2010, at 7:10 PM, FWRookie wrote:

Having recently launched a new site for a client who alreaday had an
old site, which was removed, I was dismayed to find that typing in
the site name in google search yielded an error page or ‘site not
found’ message.

And I noticed that google had cached the old site…which had a /
index.php file name…where mine has /index.html…how do I go abt
putting this right?
FWRookie


freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options