-
08-05-2005, 02:32 PM #21
Edit, she got the url wrong:
This is it:
Code:<?php header("HTTP/1.0 301 Moved Permanently"); header("Location:http://www.sitetutor.us"); ?>
-
08-06-2005, 05:32 AM #22
Condominium
- Join Date
- Feb 2005
- Location
- Key West, FL
- Posts
- 291
To redirect all pages put this in your .htaccess file
redirect 301 / http://www.sitetutor.usIt is considered wise to stand on the shoulders of giants but foolish to put yourself in front of them.
-
Ok,
So let me get this straight:
302 is temporary forwarding
301 is permanent forwarding
However, my question is this: If I have a website...then buy a domain www.samplenew.com at godaddy...and forward it to www.sampleold.com, it is considered a 302 temporary redirect.
Where do I add a file at godaddy so that I get a 301? There is NO place to add any code. Do I need to add this code to the current domain located at www.sampleold.com ?
And if I have 10 or 20 domians forwarding to www.sampleold.com, do I need to add code for every URL?Offering Real Estate Web Design and Real Estate Marketing Services. We also offer a Real Estate Directory, and Single Property Websites. View my Internet Marketing Resume.
-
08-11-2005, 08:10 PM #24
Fixer Upper
- Join Date
- Mar 2005
- Location
- Atlanta
- Posts
- 58
Sansei,
Rather than forwarding the domain name, can't you just change the DNS Server information to the server where your site is hosted?
Then, it's not any kind of a redirect.
Why do you have 10 or 20 domains pointing to the same site?
Maybe someone else can tell you if I'm right, but I don't think that would hurt your main site, you just won't get any rankings on your other domain names.
If you want rankings on your 10 or 20 domain names, you'd have to buy a hosting account for each one so that you can put an .htaccess file to do the 301 redirect. Could get expensive.
KathleenREArticleSwap.com - Build content links and increase your site's original content
Real Estate Agent Marketing
Create a Free Point 2 Agent Website
-
You are correct. I am not trying to get any rankings with the other domains. I just want to keep them active and pointed to a real estate related website. In the future I will be using them for real estate purposes and my thought is that it will give me a head start once I use them. (just a theory)
Plus, I am lazy...this is easier then building a one page site for all the doamins.Offering Real Estate Web Design and Real Estate Marketing Services. We also offer a Real Estate Directory, and Single Property Websites. View my Internet Marketing Resume.
-
08-16-2005, 08:28 AM #26
Condominium
- Join Date
- Jan 2005
- Location
- England
- Posts
- 123
Would it be possible for the moderators to put the first 2 posts in a sticky and move the rest to the Website development area please.
I think they're are very good posts and the 301, 302 redirect discussions are kinda diluting the value in this area.
-
05-04-2006, 02:18 AM #27
-
12-12-2006, 01:34 AM #28
Fixer Upper
- Join Date
- Dec 2006
- Posts
- 15
Multiple Sites Via DNS
Redirects are basically blue smoke/mirrors ways to get one url to bring up another site.
To make a site officially be on the internet it needs to be in DNS.
What you need is the following:
1) a dedicated IP address for your website (several web site hosts use shared IP addresses, you have the same IP as other web sites on the same hosts and the hosting provider maps your traffic to your site via the web server. A shared IP address cannot be entered into another DNS server because the web server won't know how to map the traffic to it).
2) a DNS server to add your url and static IP to... Several web hosts will only allow the one DNS entry for your one URL. Some may offer a 2nd for free. Often you will need to pay extra for extra DNS entries. If so, you can use someone like zoneedit com to have up to 5 more free DNS entries in the world wide public dns (and additional ones are fairly inexpensive).
You simply punch in the domain and the dedicated IP address. It can take up to 24 hours for these changes to propagate thru the world wide dns servers.
This will allow your alternate URLs to all resolve to the same IP address and the search engines should see them as unique sites (this is a theory).
Kevin



LinkBack URL
About LinkBacks






Reply With Quote



Bookmarks