homepage Welcome to WebmasterWorld Guest from 50.19.169.37
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
Search Engine Friendly Webpage Redirection
Only one page redirection not the entire site
DilipShaw




msg:4059689
 7:51 am on Jan 13, 2010 (gmt 0)

I want a search engine friendly one webpage redirection to a different site.

For example webpage www.site1.com/widgets.html redirecting to www.site2.com/widgets.html

Note that I do not want the entire site to be redirected, but only one page of the site to a different site.

Both of my sites are hosted in Apache Web Server.

I have heard that <Meta Refresh> is not search engine friendly.

How do I do this?

Please help.

 

jdMorgan




msg:4059960
 4:18 pm on Jan 13, 2010 (gmt 0)

See the mod_alias and mod_rewrite documentation over at apache.org. To get initially-oriented, see the RedirectMatch and RewriteRule directives in those two modules, respectively.

There are some introductory tutorials in our Apache Forum Library, which I commend to you.

meta-refresh is not a server-side redirect, it is a client-side (browser) page reload or replacement. Best results with search engine listings will be had with a true server-side redirect.

Also note that if your site is dynamic -- using PHP or .asp for example, you can do scripted redirects from within your "page generation" script. As long as you explicitly send the 301-Moved Permanently status response header (which is *not* sent by default), this is entirely equivalent to a server-configuration-code redirect, and may be a more familiar programming environment for you.

Jim

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
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