Go Back   Webmaster Malaysia Forum » Website Marketing and Promotion » Search Engine Marketing

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #16 (permalink)  
Old 15-05-2005, 04:33 PM
lcf's Avatar
lcf lcf is offline
Pro-Blogger
 
Join Date: Feb 2003
Location: Kluang, Johor
Posts: 2,376
Rep Power: 118
lcf will become famous soon enough
Send a message via ICQ to lcf Send a message via MSN to lcf Send a message via Yahoo to lcf
Quote:
Originally Posted by ad1
should I just copy and past the code listed into the .htaccess in the old folder.
You need to modify the code depends on your situation.
__________________
LiewCF | Malaysia Bloggers Forum
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #17 (permalink)  
Old 17-05-2005, 06:19 PM
Novice Webmaster
 
Join Date: May 2005
Location: Malaysia
Posts: 23
Rep Power: 0
JobListed is on a distinguished road
Quote:
Originally Posted by kornflique
301 redirect is the most efficient and search engine friendly method for webpage redirection. It's not that hard to implement and it should preserve your search engine rankings for that particular page. If you have to change file names or move pages around, it's the safest option. The code "301" is interpreted as "moved permanently".

Below are a Couple of methods to implement URL Redirection

IIS Redirect

* In internet services manager, right click on the file or folder you wish to redirect
* Select the radio titled "a redirection to a URL".
* Enter the redirection page
* Check "The exact url entered above" and the "A permanent redirection for this resource"
* Click on 'Apply'

Redirect in ColdFusion
<.cfheader statuscode="301" statustext="Moved permanently">
<.cfheader name="Location" value="http://www.new-url.com">

Redirect in PHP
<?
Header( "HTTP/1.1 301 Moved Permanently" );
Header( "Location: http://www.liewcf.com/blog/" );
?>

Redirect in ASP
<%@ Language=VBScript %>
<%
Response.Status="301 Moved Permanently" Response.AddHeader "Location", " http://www.new-url.com"
>

Redirect in ASP .NET
<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>

Redirect with htaccess
Create a .htaccess file (if does not exists) in your root directory.
Redirect permanent / http://www.new-url.com

Fully agreed.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #18 (permalink)  
Old 28-05-2005, 12:41 AM
Yummy's Avatar
Novice Webmaster
 
Join Date: Jul 2004
Location: Malaysia
Posts: 49
Rep Power: 0
Yummy is on a distinguished road
Thank you very much all of you for your very very kind of your help.
I got it already
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
my hosting provider have just lost my data donut Paid Hosting Discussion Forum 10 15-05-2006 11:22 AM
google cheque lost?? <gempaq> Revenue and Monetization 13 01-07-2005 02:44 PM
I lost my font gethosted Website Design 3 05-03-2005 06:00 AM
I Never Been Here! Am I Lost? List Mamak Stall 3 08-10-2004 05:28 AM
lost session.. joyce Website Programming 2 09-07-2003 06:33 PM



All times are GMT +8. The time now is 02:52 AM. Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0 vBulletin skin by ForumMonkeys.com.


WebmasterMalaysia.com is Proudly Hosted by Exabytes Semi Dedicated Server.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60