Welcome to WebmasterWorld Guest from 54.145.222.231

Forum Moderators: phranque

Message Too Old, No Replies

change file names

change file names

   
2:40 pm on Apr 27, 2004 (gmt 0)

10+ Year Member



Hi,

We have a site which currently hosts .htm and .html versions of each page. We want to fade out the .htm pages so that only the html pages are indexed. To ensure that we do not lose our rankings for the .htm pages the solution would not be to simply delete these off the server.

I have considered the 301 redirect in the htaccess file however our server does not support this file.

Any suggestions?

Thanks in advance.

3:33 pm on Apr 27, 2004 (gmt 0)

10+ Year Member



Just stick a forward page in Page.htm :

<html>
<head>
<META HTTP-EQUIV="Refresh" CONTENT="0;
URL=http://www.example.com/page.html">
</head>
<body>You will be redirected shortly to the new
<a href="http://www.example.com/page.html">Example Site</a> page.
</body>
</html>

[edited by: DaveAtIFG at 4:42 pm (utc) on April 27, 2004]
[edit reason] Exemplified URLs and corrected side scroll [/edit]

3:48 pm on Apr 27, 2004 (gmt 0)

10+ Year Member



Many thanks Risi, isn't that frowned upon by the search engines though?
5:29 pm on Apr 27, 2004 (gmt 0)

10+ Year Member



I don't think so. They know people reorganise their sites, and allow for it. Before I was concerned about a textlink
<a href="page.asp?id=123">
not having keywords in it (I wanted to link like this, since it was permanent) but since it resolved to somewhere else, I don't think that SE will mind.

So my understanding is, if a links to b, b forwards to c then the SE just assumes that a links to c.

5:43 pm on Apr 27, 2004 (gmt 0)

10+ Year Member



So my understanding is, if a links to b, b forwards to c then the SE just assumes that a links to c.

This is acceptable when using HTTP redirects, but you're assuming all the search engines parse and recognised meta-refreshes. How would they distinguish between refreshes used to fake redirects with refreshes used on things like the recent posts page here on Webmaster World?

Jon.

9:55 pm on Apr 27, 2004 (gmt 0)

10+ Year Member



Yeah, I'm assuming that the ones worth bothering with can parse META REFRESH.
10:25 pm on Apr 27, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Years ago, "fast meta refresh tags" were a popular SE spamming technique and acquired a bad reputation. Setting the refresh delay to 5 seconds or longer has never caused me problems.

Some possible options are using mod_rewrite or mod_alias. I've seen hosts that support mod_alias [httpd.apache.org] directives but not mod_rewrite [apache.org] directives in .htaccess.

Directives used by either of these modules can be included in .htaccess or httpd.conf (your server configuration file) so if .htaccess is not an option, perhaps you can convince your host to revise the config file. Or get a new host. ;)

Meta refresh tags are a convention followed by many SEs. Redirects and rewrites comply with HTTP specs and they are the right way to do it to insure any SE (with a properly coded spider) picks up your changes.