/    Sign up×
Community /Pin to ProfileBookmark

Queries about website domain name URL redirection

Some website has been automatically redirected to that home page while entering the domain name without WWW format.For example if i entering the website name amazon.com means,then it has automatically redirected to [url]www.amazon.com.I[/url] want to know about the tricks regarding that URL redirection.

to post a comment
SEO

3 Comments(s)

Copy linkTweet thisAlerts:
@junkpopatJun 17.2014 — You have to use .htaccess for redirection.

First make a text file abc.txt and write your redirection rules in it and save it, after that upload that file into your web hosting directory where your main index.html file exists, then rename file name from abc.txt to .htaccess (no file name but only extension htaccess). Thats all, nothing more required.

Redirection rules: google, facebook etc. redirects to www.google.com while www.twitter.com redirects to twitter.com. Based on your choice of redirection with or without www, just copy paste redirection rules either via searching from google or try this link: http://www.webhostingtalk.com/wiki/URLs_with_or_without_www

Remember that google search engine considers www.domain.com as one website and domain.com as another website so your search rank will be divided accordingly if you use both types of urls. To keep better search rank, use only one url and redirect other via .htaccess.

Hope this helps.


Some website has been automatically redirected to that home page while entering the domain name without WWW format.For example if i entering the website name amazon.com means,then it has automatically redirected to www.amazon.com.I want to know about the tricks regarding that URL redirection.[/QUOTE]
Copy linkTweet thisAlerts:
@CreativewebJun 17.2014 — It is called as url redirection and it could be done by the developers in htaccess file.
Copy linkTweet thisAlerts:
@nada_book14Jun 17.2014 — Just all the websites which are using these type of redirection is using the method of 301 redirection and some of another for best use.
×

Success!

Help @kpkarthik spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.26,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...