homepage Welcome to WebmasterWorld Guest from 54.166.148.189
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
Forum Library, Charter, Moderators: phranque

Website Technology Issues Forum

    
change file names
change file names
curly_clare




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

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.

 

Risi




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

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]

curly_clare




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

Many thanks Risi, isn't that frowned upon by the search engines though?

Risi




msg:671187
 5:29 pm on Apr 27, 2004 (gmt 0)

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.

py9jmas




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

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.

Risi




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

Yeah, I'm assuming that the ones worth bothering with can parse META REFRESH.

DaveAtIFG




msg:671190
 10:25 pm on Apr 27, 2004 (gmt 0)

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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Website Technology Issues
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved