954,561 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

URL Redirect

Hey guys, am a newbie and I searched I didn't see this question somewhere. If it exist, forgive me.

I need help in redirecting url. I want to redirect users from www.ammotorllc.com to www.ammotorsllc.com . I want it that when people type the first, it will automatically switch them to the second site. I don't know where to start with this so any detail help will be appreciated.

Thanks, kinda urgent

ginG3R
Newbie Poster
15 posts since Oct 2011
Reputation Points: 10
Solved Threads: 0
 

You can simply modify your .htaccess file if you are using an Apache server. If your host provides you with cpanel they provide an easy tool to do url redirects. If not, here is a good link that shows you how to do it on your own

ctaylo21
Junior Poster in Training
67 posts since May 2010
Reputation Points: 10
Solved Threads: 11
 

Hey thanks for the response. I have a question...do I have to own both domain names to be able to setup the redirect? Because right now, I only own www.ammotorsllc.com

ginG3R
Newbie Poster
15 posts since Oct 2011
Reputation Points: 10
Solved Threads: 0
 

if your last domain name is expire you cant do any thing,
but you have old domain and you want redirect it new url,
creat new text file and copy this code and save it index.php then upload it to old domain host public_html or domain root folder

<?php
   header( 'Location: http://www.ammotorsllc.com/' ) ;
?>
amir84
Newbie Poster
8 posts since Feb 2012
Reputation Points: 10
Solved Threads: 0
 
do I have to own both domain names to be able to setup the redirect?

Of course.

pritaeas
Posting Expert
Moderator
5,480 posts since Jul 2006
Reputation Points: 653
Solved Threads: 875
 

Well technically you do not need to own the second domain name, the one being directed to. But you would need to at least have access to the first server to upload a file that can redirect to the second URL. So you'd definitely have to own/have access to the first one.

weekendrockstar
Junior Poster in Training
71 posts since Dec 2010
Reputation Points: 25
Solved Threads: 16
 

@ginG3R, you must own and manage www.ammotorllc.com , to be able to redirect it to your new domain name. There are a variety of ways to redirect, .htaccess, URL rewrite, meta tags, etc...

JorgeM
Practically a Master Poster
630 posts since Dec 2011
Reputation Points: 53
Solved Threads: 60
Infraction Points: 5
 

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: