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

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 20-04-2005, 06:20 PM
lcf's Avatar
lcf lcf is offline
Pro-Blogger
 
Join Date: Feb 2003
Location: Kluang, Johor
Posts: 2,376
Rep Power: 116
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
Change URL = Traffic Lost?

my blog real url is http://www.liewcf.com/wp/. It is now a PR5 site. I am thinking to change the url to http://www.liewcf.com/blog/

Is it a good idea to do so?

If I change the url, I will redirect the current links to the new url. Is it ok? What other things do I need to take note?

thanks.
__________________
LiewCF | Malaysia Bloggers Forum
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 21-04-2005, 12:48 AM
alvinhan's Avatar
Novice Webmaster
 
Join Date: Dec 2001
Location: Labuan
Posts: 84
Rep Power: 85
alvinhan is on a distinguished road
Send a message via MSN to alvinhan
use 301 permenant redirect.
__________________
aLvinHan of ViNSiGN Web Design in Labuan and PJ
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 21-04-2005, 01:51 AM
Filuren's Avatar
Senior Webmaster
 
Join Date: May 2002
Location: Kuching, Sarawak, MY
Posts: 904
Rep Power: 96
Filuren is on a distinguished road
index.php
Code:
<?php header("Location: http://liewcf.com/blog"); ?>
__________________
www.HiveHost.my
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 21-04-2005, 09:15 AM
lcf's Avatar
lcf lcf is offline
Pro-Blogger
 
Join Date: Feb 2003
Location: Kluang, Johor
Posts: 2,376
Rep Power: 116
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 alvinhan
use 301 permenant redirect.
how to apply 301 permanent redirect in htaccess?
__________________
LiewCF | Malaysia Bloggers Forum
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 21-04-2005, 12:16 PM
kornflique's Avatar
Novice Webmaster
 
Join Date: Apr 2005
Location: Kuala Lumpur
Posts: 25
Rep Power: 0
kornflique is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 21-04-2005, 12:29 PM
lcf's Avatar
lcf lcf is offline
Pro-Blogger
 
Join Date: Feb 2003
Location: Kluang, Johor
Posts: 2,376
Rep Power: 116
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
thanks for the detail code. I think the code is very useful for others too.

I have moved my blog site to new path. Let's see how long it takes for Google to update the PR of http://www.liewcf.com/blog/
__________________
LiewCF | Malaysia Bloggers Forum
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 21-04-2005, 08:56 PM
Inspired Webmaster
 
Join Date: Mar 2005
Location: Sarawak
Posts: 157
Rep Power: 47
red@frittle is on a distinguished road
it shouldn't affect ur traffic in this case, google will reindex ur blog site soon enough too
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 22-04-2005, 05:23 PM
kahsoon's Avatar
Inspired Webmaster
 
Join Date: Mar 2005
Location: Kuala Lumpur
Posts: 113
Rep Power: 46
kahsoon is on a distinguished road
Send a message via MSN to kahsoon
Quote:
Originally Posted by lcf
my blog real url is http://www.liewcf.com/wp/. It is now a PR5 site. I am thinking to change the url to http://www.liewcf.com/blog/

Is it a good idea to do so?

If I change the url, I will redirect the current links to the new url. Is it ok? What other things do I need to take note?

thanks.
why change to /blog instead of using back /wp? definately the PR is gone because the url different already....and redirection really is a bad idea, i read it from few articles last time but forgot where already. Why bother to use a folder to put all the files anyway? eventhough u can find files easier and it looks neat but definately pure domain url still the best.

btw, haven't answer the question on your title: Change URL <> Traffic lost but Change URL = PR Lost
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 22-04-2005, 05:30 PM
lcf's Avatar
lcf lcf is offline
Pro-Blogger
 
Join Date: Feb 2003
Location: Kluang, Johor
Posts: 2,376
Rep Power: 116
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 kahsoon
why change to /blog instead of using back /wp? definately the PR is gone because the url different already....and redirection really is a bad idea, i read it from few articles last time but forgot where already. Why bother to use a folder to put all the files anyway? eventhough u can find files easier and it looks neat but definately pure domain url still the best.

btw, haven't answer the question on your title: Change URL <> Traffic lost but Change URL = PR Lost
Don't you thikn /blog is more meaningful than /wp ? I want to change it long time ago... Install in /wp was my mistake, I was merely trying the script... LOL

I am using permanent redirect, I think Google understand it.

Ya, domain root is better. But I have another plan for domain root. So, blog goes /blog, forum goes /forum.
__________________
LiewCF | Malaysia Bloggers Forum
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 22-04-2005, 05:41 PM
kahsoon's Avatar
Inspired Webmaster
 
Join Date: Mar 2005
Location: Kuala Lumpur
Posts: 113
Rep Power: 46
kahsoon is on a distinguished road
Send a message via MSN to kahsoon
Quote:
Originally Posted by lcf
Don't you thikn /blog is more meaningful than /wp ? I want to change it long time ago... Install in /wp was my mistake, I was merely trying the script... LOL

I am using permanent redirect, I think Google understand it.

Ya, domain root is better. But I have another plan for domain root. So, blog goes /blog, forum goes /forum.
ohh cool ^^ and i also notice people do like this blog.kahsoon.com or forum.kahsoon.com hehe =) but any method is still good....its all about personal preference
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #11 (permalink)  
Old 12-05-2005, 12:14 AM
Yummy's Avatar
Novice Webmaster
 
Join Date: Jul 2004
Location: Malaysia
Posts: 49
Rep Power: 0
Yummy is on a distinguished road
What about Changing the whole URL?
Eg. www.yummy.com.my change to www.yumyum.com.my

What should I do to remain the traffic? Can I use 301 as kornflique mentioned earlier? Any side effect?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #12 (permalink)  
Old 12-05-2005, 09:45 AM
lcf's Avatar
lcf lcf is offline
Pro-Blogger
 
Join Date: Feb 2003
Location: Kluang, Johor
Posts: 2,376
Rep Power: 116
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 Yummy
What about Changing the whole URL?
Eg. www.yummy.com.my change to www.yumyum.com.my

What should I do to remain the traffic? Can I use 301 as kornflique mentioned earlier? Any side effect?
yes, you still use permanent redirect.
Try:
Code:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^yummy.com.my
RewriteRule (.*) http://yumyum.com.my/$1 [R=301,L]
__________________
LiewCF | Malaysia Bloggers Forum
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #13 (permalink)  
Old 12-05-2005, 12:23 PM
Yummy's Avatar
Novice Webmaster
 
Join Date: Jul 2004
Location: Malaysia
Posts: 49
Rep Power: 0
Yummy is on a distinguished road
I am changing the whole URL inclusive of folder name.
eg.www.yummy.com.my/folder1/ change to www.yumyum.com.my/folder2/

Within the same folder (eg. folder2), there are html and php files, then what should I write in .htacess?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #14 (permalink)  
Old 14-05-2005, 12:11 PM
ad1's Avatar
ad1 ad1 is offline
Inspired Webmaster
 
Join Date: Dec 2004
Location: Klang, Malaysia
Posts: 154
Rep Power: 50
ad1 is on a distinguished road
should I just copy and past the code listed into the .htaccess in the old folder.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #15 (permalink)  
Old 15-05-2005, 04:31 PM
lcf's Avatar
lcf lcf is offline
Pro-Blogger
 
Join Date: Feb 2003
Location: Kluang, Johor
Posts: 2,376
Rep Power: 116
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 Yummy
I am changing the whole URL inclusive of folder name.
eg.www.yummy.com.my/folder1/ change to www.yumyum.com.my/folder2/

Within the same folder (eg. folder2), there are html and php files, then what should I write in .htacess?
mmm... at /folder1's htaccess, try:
Code:
RewriteEngine On
RewriteBase /folder1/ 
RewriteRule ^(.*)$ /folder2/$1 [R=301,L]
this will redirect not only folder but files in the folder as well.
__________________
LiewCF | Malaysia Bloggers Forum
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