301 redirected

nadsunpapeumb

New Member
hi anybody know how change

http://abc.com should be 301 redirected to http://www.abc.com & also http://www.abc.com should be 301 redirected to http://abc.com/index.html You can use this link to learn how to do it using a htacess, works like a charm http://www.isitebuild.com/301-redirect.htm although i think theres a thread about this... You can simply do 301 REDIRECT right from your google webmaster tool. But, once you have defined permanent redirect url, you can't switch back. Use .htaccess file to redirection... Quote: Originally Posted by aruninfo http://www.v7n.com/forums/seo-forum/274525-301-redirected.html#post1753282

2. Edit through cpanel
http://docs.cpanel.net/twiki/bin/view/AllDocumentation/CpanelDocs/ReDirects

.htaccess is only applicable to linux server, Microsoft server is using different method. Thank you so much to all can I use this if my site in on .aspx Quote: Originally Posted by ankitp can I use this if my site in on .aspx You cant because .htaccess is applicable to linux server. For windows server you can use the following code, either VB or C#:

Code: ASP Redirect<%@ Language=VBScript %><%Response.Status="301 Moved Permanently"Response.AddHeader "Location","http://www.new-url.com/"%> ASP .NET Redirect<script runat="server">private void Page_Load(object sender, System.EventArgs e){Response.Status = "301 Moved Permanently";Response.AddHeader("Location","http://www.new-url.com");}</script>
 
Back
Top