Manny Pacquiao Y Floyd Mayweather Pelea Entradas: Puede Celebridades Como Rih...
Una guía de 301 redirección para los despistados!
1. Una guÃa de 301 redirección para los despistados!
nWhether you need for you to delete or even consolidate web pages, it's always best to pass almost
all involving their own search results merit to yet another current page, for you to salvage visits,
page rank as well as old backlinks. This can be such a 301 redirect can do pertaining to you!nnHere,
you'll discover copy-and-paste examples which you can use to do almost everything with Apache
301-redirects, coming from redirecting single pages for you to entire categories or even entire
websites.nWhat Is Actually A 301 Redirecthn301 redirects are commands which point search
engines as well as guests from an old region of your web site to any different region with the site; or,
they can point the entire website along with website name to another site and domain name,
entirely.nnWhere Will I Input 301 Redirectshnn301 redirects go in your site's ".htaccess" file. The
Particular .htaccess is definitely an extension-less file which sits in your root directory
(/public_html), and it is often accessed prior to your current website loads, along with ultimate
precedence. In Which implies that any kind of commands in your .htaccess file will trigger just
before your site pops up when a internet research engine or possibly a individual visits it. An
Individual can easily edit your current .htaccess by simply simply using a text editor like Notepad.
Sometimes, web sites don't seem to have an .htaccess file at all. Most you have to complete is open
up a new text editor (such as Notepad) as well as conserve a new blank web page as ".htaccess",
with all the period involving time prior to it, with no extension. Drop which in your root directory --
now, you have an .htaccess file. Then, anyone can additionally add your current 301 statements to
become able to it.nnWhat's the Purpose of A 301 RedirecthnnA 301 redirect is the just real way to
tell search engines, as fast as possible, in which content has moved; both somewhere in addition
inside the actual site, in order to a totally different domain name. This particular assists the old
website sections as well as old website to get "updated" throughout serp's pages to become able to
always be able to display their own new location. the occasion it requires for any 301 redirect for
you to tasks are immediate, nevertheless the occasion it takes with regard to entries to have up to
end up being able to date in search motor results can be entirely in the discretion of your research
engine. That generally happens quicker with regard to websites that get indexed
often.nnCAUTION!nn301 redirects are generally significant business. the instant a person create a
change to end up being able to one, it could actually find indexed by engines such as google
immediately; so, an individual truly want to create sure you've gotten every little thing completed
properly prior to testing it out. I recommend you take your subsequent precautions before trying all
of them out:nBackup your current outdated .htaccess file before over-writing it along with your new
one that contains your own 301 redirects. I can't stress this enough. In case you might be using a
current .htaccess file, it nearly all most likely has a bunch regarding stuff previously throughout it.
In case you delete it and also lose it forever, a person might be inside significant trouble.Test your
new 301 redirects following midnight or whenever your website will be obtaining small activity. I
typically do it with about 2:00 AM EST on the weekday. Note that present visitors will either end up
being bounced for the new areas getting dictated through the 301 (if it works), or even they'll
discover a large body fat "500 error" (if a person screwed up), that will mix up them.Be ready to
always be able to swap again in your old, working .htaccess file if your current new edition using the
301 redirects fails and offers that you simply 500 error. A Person definitely do not want to obtain
indexed as well as visited having a site-wide error just like that. have patience along with
understand that it may require a couple days, in certain cases, to become able to get the entire thing
operating -- specifically in the big event you are redirecting countless pages along with categories
your difficult way.Test out the 301 redirects on the staging account if you have the actual indicates
to accomplish so. Inside additional words, create a dummy account on your server, copy over one
image of one's site to it (blocking all engines similar to google through robots.txt), along with try out
the new .htaccess on that dummy account. An Individual may mess around all you could want
2. without having worrying about your own existing site receiving issues.Test each individual redirects
as well as class redirects to produce positive things are working properly, by simply just visiting the
existing URLs to end up being able to observe that they're pointing for the proper location about the
new site. Although you practically certainly don't get to test hundreds of redirects manually (if you
actually possess to complete that many), still, test out a good dozen random ones to create sure it
will be most totally inside order.nThe 301 redirects being reviewed on this tutorial are generally
strictly regarding .htaccess file redirects and additionally the Apache web server with the perform
mod rewrite fired up (this is on simply by default). in every example, you'll visit a shaded gray
collection having a command inside it. Merely copy that command as well as paste it in your
htaccess file, under your range "RewriteEngine on" (this can be mandatory). In case "RewriteEngine
on" isn't inside your htaccess file, just kind it within yourself.nnOld page for you to New
PagennHere's probably the actual most simple scenario: 301 redirecting an old web page for an
current page. in this case, we'll redirect "www.old-site.com/old.html" for you to "www.new-
site.com/new.html":nnRedirect 301 /old.html http://www.new-site.com/new.htmlnnThe very first URL
will be usually your one getting directed, along with the next URL can be the principal one it is
becoming redirected to. Does you see that will the really first part merely needs you for you to
definitely sort out the actual page, whilst the next empresa de posicionamiento web link gets the
entire URLh This can easily be the appropriate syntax, and it must be typed this way.nnOld
Extension-less page for you to New Extension-less PagennThis also functions for redirecting pages
which haven't any extension, such as the kinds regarding pages that are typical of a content
management system such as Joomla or even Wordpress. Utilizing the above example, let's assume
we must 301-redirect pages which haven't any ".html" extension:nnRedirect 301 /old
http://www.new-site.com/newnnNote which there will be certainly no "/" following your page identify
because re-direct...we'll understand why, later!nnOld home Web Page only to always be able to New
House Web Page OnlynnRedirecting ver informacion your house web page of an old website/domain
name to that of a new website/domain identify takes a distinct method, and there is simply one with
the ways to complete it. Use your next line, however note in which it is certainly not going to
redirect whatever else nevertheless the home page:nnRedirectMatch ^/$
http://www.new-site.comnnEvery single web site an individual generate ought to use this specific
one! Here, we'll re-direct your non-www model of one's website (such as new-site.com) towards the
www model of your web site (such as www.new-site.com).nnOptions
+FollowSymlinksnnRewriteEngine onnnRewriteCond %HTTP_HOST ^new-site.com
[NC]nnRewriteRule ^(.*)$ http://www.new-site.com/$1 [R=301,L]nnIn doing so, you're eliminating
search results conditions that arise from having "two versions" of the website, which in turn also
taint analytics results. Above, your code is actually telling the server that the domain is actually
"[NC]" for "not case-sensitive," in order that any kind of variation of your domain will nevertheless
translate over with most the redirect. the "$1" following the domain implies that any page or class
additional following it, using or perhaps without your "www.", will redirect properly.nnRename A
Preexisting CategorynnLet's say an individual regretted naming the folder (aka, category) on the
own website, as well as wanted to adjust it. With Regard To example, you do not similar to "new-
site.com/newcars/" and also you wish had named it "new-site.com/cars/," simply because it's shorter
and simpler. However, you want just about all of all pages in that folder in order to nevertheless
perform in order that in inclusion they adapt for the new "/cars/" folder. This is finished . that you'd
use:nnredirect 301 /newcars/ http://www.new-site.com/cars/nnRename an Current Group for you to
Deeper CategorynnYou can easily perform this redirect pertaining to deeper level folders, too. So,
say you need your folder "new-site.com/cars/classic/" to maneuver over to "/cars/all/classic/." You'd
use this:nnredirect 301 /cars/classic/ http://www.new-site.com/cars/all/classic/nnUnlike previous
examples in this tutorial which involved redirecting via one web page in order to another, please
note that will you'll possess to go away the "/" right after folder names in a folder-to-folder redirect.
That's as the trailing forwardslash denotes any "folder."nnFor example, this can become a page:
"new-site.com/test" and this is a folder: "new-site.com/test/"nnMove category to a Single Internet
3. PagennUnlike the actual previous lesson, let's claim that I possess a folder in my site: "new-
site.com/cars/," and also I'm obtaining rid of this entire folder and many sorts of involving all pages
within it, for example "/cars/ford.html," "/cars/toyota.html," "/cars/acura.html" along with several
dozen others. Since I'm will zero longer making use of these webpages, I'll want in which entire
folder as well as its contents to maneuver for you to "new-site.com/new-page"nnRedirectMatch 301
^/cars/(.*)$ http://www.new-site.com/new-pagennMove Group to some Single web Page (with
extension)nnThe redirect could be exactly the same because the instance above, except you'd just
type your web page extension following it. This is mostly for anyone not really employing a CMS
such as Wordpress, where the pages all have extensions, just like ".html" or perhaps
".php":nnRedirectMatch 301 ^/cars/(.*)$ http://www.new-site.com/new-page.htmlnnSometimes, a
new web site requirements being moved to a new domain term for whatever reason. It's a very
straightforward thing for you to do, thankfully! Just copy along with paste your code below (and
nothing from all else), as well as create or certainly not it's the only contents of your htaccess
file:nnOptions +FollowSymLinksnnRewriteEngine onnnRewriteRule (.*) http://www.new-site.com/$1
[R=301,L]nnThere are usually a pair of important things to note regarding this. Pertaining To
starters, this could be somewhat of your "lazy" approach to transfer a new website. You're not
relocating the person folders or even pages to their new counterparts upon a fresh website; instead,
you're just moving every thing over towards the residence web page regarding the brand name new
site. The Particular alternative would become to write a new 301 redirect command for every single
folder as well as page, if you truly need to retain every page's search engine ranking.nnSecondly,
when you 301 redirect a classic domain for you to a fresh one, always be aware that you'll possess to
maintain having for you to pay for that annual domain renewal and server account associated with
the existing domain name. make it a point out adjust all in the backlinks which were pointing
towards the outdated domain, so that that they point over towards the new one. As soon As all
backlinks are generally changed, you can think about dropping that old domain (unless it's a great
domain which gets decent type-in traffic).nnAfter almost all of these tutorials, a person might be
truly confused concerning how this truly looks inside a final .htaccess file. Here's an illustration of
how your own .htaccess would/should search for several different scenarios:nnExample .htaccess:
Outdated Site/Domain to New Site/Domain (Easy but Sloppy)nnOptions
+FollowSymlinksnnRewriteEngine onnnRewriteRule (.*) http://www.new-site.com/$1
[R=301,L]nnAbove: This particular will be the .htaccess file for your previous site. It's the actual lazy
man's way of doing a outdated website in order to new site redirect, and it's not actually
recommended, unless your current previous web site is really tiny, will get zero guests and it has no
real keyword rankings throughout research engines. We're just mounting up the entire outdated site
and dumping it in to the residence page of the newest website, called "www.new-site.com," on this
example.nnExample .htaccess: Previous Site/Domain for you to New Site/Domain
(Strategic)nnOptions +FollowSymlinksnnRewriteEngine onnnRedirectMatch ^/$
http://www.new-site.comnnRedirect 301 /old-category/old-page-1
http://www.new-site.com/new-pagennRedirect 301 /old-category/old-page-2
http://www.new-site.com/new-pagennRedirect 301 /old-category/old-page-3
http://www.new-site.com/new-pagennRedirect 301 /old-category/old-page-4
http://www.new-site.com/new-pagennRedirect 301 /old-category/old-page-5
http://www.new-site.com/new-pagennRedirectMatch 301 ^/old-category-2/(.*)$
http://www.new-site.com/widgets/bluennRedirectMatch 301 ^/old-category-3/(.*)$
http://www.new-site.com/widgets/bluennAbove: This is the .htaccess file for that old site. Here's a
more strategic approach. We're shifting over an old website piece-by-piece to a fresh one, called
"www.new-site.com". The idea starts off by 1st moving more than the house page, using the series
that says "RedirectMatch ^/$". The Particular subsequent 5 lines are usually shifting over single
pages from your outdated website to a page around the new web site called "new-page." Obviously,
individuals outdated pages (old-page-1, old-page-2, etc) are being handled as obsolete, along with
we're just telling search engines such as google to suggest virtually any references of these up to
4. "/new-page". Lastly, both "RedirectMatch" lines are generally relocating over a couple of entire
categories and all regarding his or her pages to a new page about the new site known as
"blue."n"500 Error"nIf you're acquiring a "500 Error" following testing out your own site, be sure to
swap again inside your outdated .htaccess file immediately. Then, open up the particular errant one
along with take a examine everything.nnIf a person missed just 1 single character upon just one line,
such like a missing ^ or even $ or even /, the entire thing won't work! find exactly where you've
created this error, right it, and try again.nnIf you cannot appear to fix your issue, start deleting lines
one simply by one, along with re-testing the particular file. Usually, it posicionamiento seo can
always be a case where the "single page for you to single page" redirects are usually working fine,
but you've any syntax error about certainly one of your current "category to always be able to single
page" redirects. So, delete all of the "category to single page" ones, and also re-try the particular
.htaccess file again.n