One of the most important kind of technicalthings that you need to know about WordPress's how redirects work when to use redirects wideruse redirects in order to go over all of that in this video hi my name is Adam from WPCrafter.
comwere a big WordPress tutorial videos for non-techies if you know your consider clicking on thesubscribe button is matter fact let's take a look here we now have on the channel 50, 595subscribers I want you to be the next one and also click on the little bell and that'sit will allow YouTube to let you know what I have new video up for you so okay Reed directsthis is the process of you maybe you're removing the page or moving a page or something likethat on your websites and if someone visits that old URL it would redirect them to thenew and proper URL and this is actually super important when it comes to Google becauseGoogle is wanting to know every page on your website so when people are searching for thingsthat have to do with you and your website it can show them the right thing and if youchange a URL to a different URL or maybe delete a page or maybe move to a different domainname and you don't have proper redirects in place Google's knocking to show you any, loveand that is a problem and there's the good news is there's lots of easy ways to fix itand the whole concept of redirects can seem a little overwhelming but I'm here to letyou know that it really isn't that I'm in a show you in this video different ways toget those redirects implemented last thing about redirects if you are say your web designeror you have a website it's on may be an old HTML-based website you're switching over toWordPress a lot of times the different links the different URLs offer all the differentpages on your website are going to change slightly that's the most crucial and criticaltime to understand these redirects whenever you switch you need to make sure your URLseither match up or you have a redirect in place for every single one okay that's enoughabout redirects okay there's different types of redirects up with the link to this in thevideo description box but here it is on Yoast's website just go to Yoast.
com/which-redirectand it will tell you about the different types of redirects and when to use them pretty muchyou can use at 301 redirect and that's were going to go over in this video but there areother types of redirects but you're pretty much can want to use your 301 redirect that'swhen you're telling whoever Google wave whatever that you took this content down but you wouldyou want to whoever visits that URL to go to this other link such 301 redirects butI'll put a link to this in the video description box you could take a quick look at the differenttypes of redirects so measure you three different ways to add the reader it's actually it'stwo different ways one of him is going to be editing what's called your dad HD Accessfile I do not use this but I'm just throwing this in there's order to go over that firstthe next one is using a WordPress plug-in and I'm gonna show you two options for thatoption I use which is a paid plug in and also to show you a free plug-in that will allowyou to pretty much do the same thing okay so okay HT the.
HD Access file every websitesdomain name has this file called a.
HD access file you might hear it reference from timeto time on that to show you how to open that up and edit that so I'm logged into a webhosting account now this is based on cPanel yours might if it's based on cPanel look thesame or look similar but is pretty much the same thing maybe some different colors sowhat we want to do when were logged into cPanel is open up what's called the file managernow the easiest thing there's probably like 80 different icons here just go right hereit says fine functions quickly and type file manager I find that's the easiest way to popsright up go ahead and click on the file manager is can open up in a tab like this and whatyou want to do is go to the folder that has your website installed most most of the timeit's probably going to be in this public.
HTML folders you can go ahead and click on thatand here's all the files that make up the website that's in that folder and you mayor may not be seeing it.
HD Access file I loaded it up intentionally not showing it if youdon't see a.
HD access file this is what you need to do on the top right corner there isa button that says settings click on that and then there's this check box right hereit says show hidden files click on that and then click on save and now you should seeyour.
HDX's file and I see it right there now to edit the.
HD Access file all you do is goright here click on edit and then click on edit right here it'll open up a new tab andyou can put some stuff in there you want to put it underneath this line right here nowhere's another link that I will put in the video description box that tells you basicallythe bits of text you want to put in there in order to set these redirects up I personallydon't use this way because I just cannot prefer user interface I'm already in WordPress anywayso and there's also some other advantages to doing it inside of WordPress in my mindyou might have your own your own preference but this page right here is good to you howto redirect the entire domain name individual pages groups of pages and all that it's veryin depth okay so we got that in place now what I want to do is show you how to do itin WordPress on the show you the way that I'm doing it in the numbers show you a freeplug-in to do it that way as well I use the paid version of Yoast is definitely not arequired plug-in at all and has a couple things in it that I really like and one of them ismanaging this redirect for me so if I say go to a blog post and change the URL of theURL to enter I deleted it will automatically create these redirects let me show you whatI'm talking about cyclical posts I think I have any posts in here let's see okay goodI have a couple so I'm in a go ahead and click in one just like this and you're gonna seewhat happens in Yoast so here is the full link to this post if I was to click on editand then edit this in any way so Sam wanted to shorten it up and then click on okay assoon as I click on update organicity notice from Yoast saying we created this redirectfor you or something along those lines in there it is at the top it says Yoast SCO premiumit's the paid version of Yoast created a redirect from the old post URL to the new one so Yoastdid it all for me now actually I should back this up the reason I making this video isbecause of this video I made the other day about 15 SCO tips that work and one of themwas the use of short URLs and so this is a way of shortening your existing URLs thatmight be up okay so that is right there how one of the ways you could do it in Yoast andthen what it does is it does this automatically for you but you can tweak it if you wantedto so I can go ahead and click right here it says redirect it's can it take me to thespecific part of the plug-in where those redirects are created and it's just underneath SCO andthen redirects and Bambi here it is so this is what it created a 301 redirects this wasthe old URL and this was the new URL so I can either here create manual redirects ifI wanted to from an old URL to a new URL or I could go in here click on edit and editthis existing one one of the tips in that video of the 15 SCO tips that work is to shortenup your URLs but also if you have pages on your website that are getting any trafficyou could probably get rid of those and it would help from an SCO spirit perspectivewith Google and what you want to do is definitely have these redirects in place whenever youdelete content okay so this was Yoast now let me go ahead and show you an alternativeway right here there's a free plug in so just go to plug-ins add new do a search for theword redirect the very first result that comes up is a plug-in named redirection go aheadand download and install that and I'll go ahead and click on the activate button righthere you can see is about a million people using this I have used this before us severaltimes when I have had a client that had an HTML base website switch them over to WordPressand I needed to have a redirect for all their old URLs to the new location in WordPressokay so I just activated that let's go ahead and find the settings panel exits the settingsright here that will make it easy it's probably tucked underneath settings right there I'llbe the first let you know I have not exits under tools I prefer that I have not usedthis plug-in in a while so I'm just going to jump on into it last I remember this doesnot do anything automatically for you like we saw in the premium Yoast version okay somea go-ahead right here and click on a redirects but is pretty much can be the same thing soright here you put the old URL and then right here you put the new URL and then you cangroup it if you wanted to such actually just go ahead and create a redirect right now soI want to go ahead and put in I filled this ounce I put in this URL link that does notexist this would be the domain/old-site and then by putting the/and here I just lettingthe plug-in know to redirect it to the homepage in case someone to click on add redirect righthere and there it is it already put it in as a 301 redirect that should give me someoptions let me see not actually seeing other redirect options here so I am actually there'sa little click will hear there it is okay so if you want to tweak some of the propertiesof this particular redirect you would have to click on the little click will right thereand you have some more options she can change it from the 301302307 or 308 and there someother information here as well that's very good summary click on cancel some to go tothe front end of the site right here and I'm in a go ahead and enter the address whichwas the domain name/old page like that and watch what happens to the URL so to go hereokay now that I have it in him and hit enter in your in a C normally it would show a 404content not found page but instead it's just gonna redirected to the homepage which isexactly what I set up matter fact let me put this in my clipboard so we can show it bothways so here we go and you see right there to the homepage so now let me go back andsays she let me show you what happens when I don't have this redirect I go ahead andclick on delete let me confirm that it's gonna delete that redirect I just added let's goback to that URL let's hit enter and it should show for a four-page unless there's some browsercaching which might be the case yes there is a 404 page so this is how you would doredirects and typically what you want to do if you're switching the site from non-WordPressto WordPress is your gonna want to your out every single URL on the old sites and thenmatch it up with the URL for the new site if you're using this plug and you'd use thisimport function so say there's 100 URLs and you need to match them up to how the URLsget a look in the new website and go ahead and import them into this plug-in and youare off to the races hey if you found any value in this video go ahead and give it athumbs up consider clicking unsubscribe if you're not a subscriber thank you for watchingand I'll see you in the next video.