Webmaster Forum

Go Back   Webmaster Forum > Web Development > Coding Forum

Coding Forum Problems with your code? Discuss coding issues, including JavaScript, PHP & MySQL, HTML & CSS, Flash & ActionScript, and more.


Reply
 
LinkBack Thread Tools Display Modes
Share |
  #1 (permalink)  
Old 12-08-2011, 03:31 AM
Contributing Member
Latest Blog:
None

 
Join Date: 05-01-11
Posts: 66
iTrader: 0 / 0%
Redirecting old URLs

Hi,

I have an HTML website that I'm about to change to a php based platform. How can I redirect my already indexed html pages to the new URLs so my site wouldn't disappear from the search engines?

Thanks
__________________
Flashcard script
 
Reply With Quote

Advertisement

Advertisement

  #2 (permalink)  
Old 12-08-2011, 05:07 AM
Technopsis's Avatar
Member
 
Join Date: 12-07-11
Posts: 37
iTrader: 0 / 0%
Hey there,

I guess the 301 Redirect is what you are looking for? It automatically sends everyone who visits your old links to a website specified by you i.e. your new url, including google bots etc!

You can find all the codes and info here if you want:
http://www.webconfs.com/how-to-redirect-a-webpage.php
 
Reply With Quote
  #3 (permalink)  
Old 12-08-2011, 05:32 AM
Contributing Member
Latest Blog:
None

 
Join Date: 07-18-11
Posts: 423
iTrader: 0 / 0%
hi
use tag to redirect put the following HTML tag in-between <HEAD> and </HEAD> tags.
__________________
[If I replace this sig without promising to quit making dup IDs I'll get banned]
 
Reply With Quote
  #4 (permalink)  
Old 12-08-2011, 05:39 AM
Contributing Member
Latest Blog:
None

 
Join Date: 07-26-11
Posts: 61
iTrader: 0 / 0%
Use canonical tags to redirect your pages.
 
Reply With Quote
  #5 (permalink)  
Old 12-08-2011, 05:58 AM
Banned
 
Join Date: 11-25-11
Location: UAE
Posts: 9
iTrader: 0 / 0%
You can redirect your old pages to new urls, by 301 redirect through .htaccess file.
 
Reply With Quote
  #6 (permalink)  
Old 12-08-2011, 10:59 AM
HTMLBasicTutor's Avatar
Administrator
 
Join Date: 10-29-07
Location: Canada
Posts: 25,709
iTrader: 5 / 100%
Quote:
Originally Posted by icecube_media View Post
hi
use tag to redirect put the following HTML tag in-between <HEAD> and </HEAD> tags.
Quote:
Originally Posted by born_star16 View Post
Use canonical tags to redirect your pages.
The best way is to use 301 permanent redirect.

Redirect in the head section might look suspect to the search engines.

Quote:
Why Do I Need to Use 301 Redirects?

When things change on a website or blog and you do not have a 301 redirect instruction covering the change an few things can happen:

•If someone clicked a link on another site that points to a page that has now moved or is gone the visitor will get a 404 error page, indicating the web server cannot find the page. When you have done your own custom 404 error page complete with full navigation and a message about this page must have moved the person is still lost as to where they should go on your site for the information they wanted. With a 301 redirect instruction in place you can send them to the correct page or an alternative page if the page was deleted.

•A search engine bot is just like a visitor who has been directed to a page from a link within your site, from another site or from their records in their index. They need to know also that the page has removed or moved to a new location.

•Your page is listed in a search engine or a directory somewhere and that link you worked so hard for is now useless if you moved it without a 301 redirect. You need to keep that incoming link by including a 301 redirect instruction so you don’t loose the link. A directory editor might not take the time to find where you moved the page to and just delete the link.
301 Redirects: What You Need to Know

Instructions written by our fearless leader Cricket:
301 Permanent Redirect
Basic 301 Permanent Redirect
__________________

HTML Basic Tutor - Learn how to code for better SEO
Basic Computer Information - Computer & internet basics for website owners

SEO troubleshooting and review services available. - Pm me.
 
Reply With Quote
  #7 (permalink)  
Old 12-08-2011, 04:17 PM
Contributing Member
Latest Blog:
None

 
Join Date: 05-01-11
Posts: 66
iTrader: 0 / 0%
Quote:
Originally Posted by HTMLBasicTutor View Post
The best way is to use 301 permanent redirect.

Redirect in the head section might look suspect to the search engines.


301 Redirects: What You Need to Know

Instructions written by our fearless leader Cricket:
301 Permanent Redirect
Basic 301 Permanent Redirect
Thanks.
__________________
Flashcard script
 
Reply With Quote
Go Back   Webmaster Forum > Web Development > Coding Forum

Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
WTS php script - Convert external URLs to internal URLs xmsmmgrs Content 2 01-28-2009 10:53 PM
how can Convert Dynamic Urls to SEO Friendly URLs SEOAmit SEO Forum 10 06-09-2008 03:36 AM
Please help redirecting a URL myartgallery Coding Forum 1 05-27-2008 11:43 AM
redirecting duplicate urls jbob SEO Forum 4 02-24-2008 02:22 AM


V7N Network
Get exposure! V7N I Love Photography V7N SEO Blog V7N Directory


All times are GMT -7. The time now is 03:13 PM.
Powered by vBulletin
Copyright 2000-2014 Jelsoft Enterprises Limited.
Copyright © 2003 - 2014 Escalate Media




Search Engine Optimization by vBSEO 3.6.0 RC 2 ©2011, Crawlability, Inc.