301 redirect on Windows IIS. HELP! (Part 2)
-
My webmaster's trying (but struggling) to 301-redirect the non.www version of my site to the www version. He's following these instructions given to me in a response to an SEOMoz Private Question (ah, the good old days!).
So far he's 301-redirected the homepage but seems stuck on how to do the entire site. Any clues on what he should be doing?
-
He seems to have sorted it out now -- touch wood.
Thank you for your replies. -
Yeah and that's how you do it in IIS... Trust me I did this recently.
You create a site, say - domain.com (if you already have www.domain.com)
go into properties of domain.com and set the "A redirection to a URL" tab to www.domain.com, check permanent, and then it will send all requests to domain.com over to www.domain.com
Seriously that's the easiest way to do it I did these exact steps about 2 months ago and our site redirects perfectly, all pages. (setting the canonical version is setting a redirect in this scenario)
-
He's not trying to redirect a file or directory, Jesse, he's trying to create the rewrite rule that will set the canonical version (all www or all non-www) for all pages on the site.
P.
-
Those instructions are correct and should work for the whole site, Jeepster. Are you certain he's implementing them correctly? In particular you need to be absolutely certain that he's selected the Canonical Domain rule template, not a blank rule that he's writing himself.
Also, have you confirmed that the resulting code appears in the site's web.config file as indicated in the tutorial?
If all that's been confirmed, I'd check with your hosting provider to see why there might be issues getting these configs applied to your site. (assuming it's not an unmanaged dedicated or VPS sever.)
Paul
-
I'm not sure about all those fancy instructions in that link there... This is how I would do it, in a nutshell (correct me if I've missed a step as I do not have access to our IIS server at this time to retrace the steps, this is from memory)
-
Open IIS in Explorer and navigate to your site. Right click on the file or folder you wish to redirect and select Properties. (this will allow you to do it per directory, per page, etc)
-
In the file tab, select "A redirection to a URL" - (i may have missed a step here. i also know that depending on which IIS version you are running the location of this changes. I believe this is for IIS 7. Either way there will be an option somewhere in the called "A redirection to a URL")
-
Enter the url to redirect to
-
Determine whether you want to do the optional checkboxes (probably will want to check "A permanent redirection for this resource")
-
Click OK
Hope this helps!
-
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Redesign Just Starting - Should I Leave The Previous Incomplete Site or Setup A Temporary Holding Page and Redirect Previous URL'S?
Hi All I've picked up a new website project and wanted to ask about the best way to proceed with the current site during the development process. The current site is incomplete although it has been live for a while and has over 80 pages in the sitemap. Link to site https://tinyurl.com/ychwftup The business owner wants to take down the current site and simply add a landing page stating "new website coming soon". From an SEO perspective, am I better to keep the current site live until the new site is ready? Or would it not make any difference if I setup the landing page and add 301 redirects from each page in the sitemap to the landing page. Many Thanks In Advance For Any Assistance
Web Design | | ruislip180 -
Redirects Not Working / Issue with Duplicate Page Titles
Hi all We are being penalised on Webmaster Tools and Crawl Diagnostics for duplicate page titles and I'm not sure how to fix it.We recently switched from HTTP to HTTPS, but when we first switched over, we accidentally set a permanent redirect from HTTPS to HTTP for a week or so(!).We now have a permanent redirect going the other way, HTTP to HTTPS, and we also have canonical tags in place to redirect to HTTPS.Unfortunately, it seems that because of this short time with the permanent redirect the wrong way round, Google is confused as sees our http and https sites as duplicate content.Is there any way to get Google to recognise this new (correct) permanent redirect and completely forget the old (incorrect) one?Any ideas welcome!
Web Design | | HireSpace0 -
We mapped 301's, uploaded htacces, submitted sitemap and still TANKED after redesign?
Hi All, We had some great rankings on store.jrdunn.com since 2006 and we switched to just http://jrdunn.com with cleaner url structures about 13 days ago. We were on Volusion now Magento. We mapped out a couple of thousand of 301's and carefully choose very similar landing pages on the new site. Uploaded an htcaccess file and submitted sitemap in GWT. We have been correcting 404's and watching GWT like a hawk. We dropped on several almost all of our great terms from page one to page 14 or 15 on the new site. We don't even rank yet on our own brand terms ?!?. ORGANIC traffic has dropped more than 50%. The only thing in our plan that we couldn't execute was using the "we moved" tool in GWT because they don't allow switches from subdomains to be entered. Bummer! Do you think missing that one thing caused the plummet? In retrospect perhaps we changed too many things at once ie hosting, cms and going down to root url. Anyways, I don't know what we can do from here but we'd sure be silly not to ask! Anybody's suggestions or past experiences with this situation would be huge! Thanks so much in advance, Sean
Web Design | | seandunn0 -
Pleas Help! My microdata format disappeared?
Hi guys im new on this comunity, reacently i have an ishue taht i do not know how to solve. Google suggested that you can put microdata on my website and its look very cool on the organic search pages. So whtat happend. I have change my website to a new one with all rich snippets and microdata, submited a xml.sitiemap dinamic one that refresh every time when i putt something new on my website. do a redirection from my old site to a new one. All that google propose. I have check all the pages in webmaster tools and in a that tool google show everything, also microdata have shown on a google organic search aproximetly 7 days when he refresh my pages from old site. After that microdata and little stars just desapired from organic serch on google. I do not know why? I did not do anything. So can anyone help me how to return little stars on my links on google shown on organic serch. website: www.telekoplus.com hosted in Serbia Thank you in advance Beket Borocki P.S Sorry if i have mistakes in writing on English.
Web Design | | telekoplus0 -
New more "helpful" internal linking causing SERP & traffic drop?
Still dealing with the weird traffic drop on my website. I have removed a bunch of old links from a defunct blog, 301 thin pages, added text to remaining pages. I'm still stumped. So awhile ago I freshened up my website and thought I was "helping people" by making sure they could CONTACT the studio more easily... I added more links to the "contact page" I thought this would help conversions...This changed the number of links to my entire site....Would this be the problem with my ranking/traffic drop? http://bayareaboudoir.com/babinternal1.pdf
Web Design | | Squee1 -
How do I move a 200+ website properly with 301 redirect?
I tried to search for the answer but didnt find any direct answers. I need to move a 200+ site to a wordpress site. How am I suppose to 301 redirect all of them? Do I need to create the new pages first then have webmaster use ssh and 301 the entire list? Can anyone link me to a 1,2,3 step instructions for a huge website move? Im sure there are other issues that I need to know about.
Web Design | | bryonstout0 -
Keyword help for a beginner
Hello Everyone! I have a few simple questions about picking/using the best keywords for my website. Just to give a little background on the company, we sell branded servers (IBM, HP, DELL) workstations, storage, and related hardware and software (memory, processors, hard drives, operating systems, management software, etc...) I'm trying to pick the keywords to use on the home page but have these questions: 1. This question is a little hard for me to explain, but we would like to show up in the search results whether a user types in: Dell server(s) or IBM server(s) or HP Workstation so for the title tag can we use: DELL, IBM, HP Servers, Workstations, Storage or we need to use DELL Servers, IBM Servers, Dell Workstations, IBM Workstations, etc... Basically what I'm asking is can we combine keywords in the title tag or we need to write them out (hope this make sense) if not let me know and I'll try provide a little more detail and few more examples. 2. This question might not fall under this category of topics and might have to start a new thread but here it goes. We are re-designing our site on a new eCommerce platform using x-cart shopping cart, its a very configurable and inexpensive shopping cart however one of the drawbacks is its speed. Most users of the x-cart shopping cart software report on average of 2-4 seconds page loads, which is kind of slow. even with some heavy optimization you get about 1.5 - 2.5 seconds page load. I've heard that if you want to be higher in Google's search results speed is a big plus, being in the 0.5 second range is a huge plus. I was thinking of creating a static html home page that would include some company info, content with relevant keywords, some links to main categories... (basically kind of copy the google.com page but with a little more text) Would that be a good idea to implement? Hope this question makes sense as well or stick with the default shopping cart home page and try to optimize it as best as possible? 3. We probably have about 10 - 15 short keyword phrases that we want to concentrate on, again they would be:
Web Design | | igor.pinchevskiy
DELL Servers, HP Servers, IBM, Servers
DELL Workstations, HP Workstations, IBM Workstations,
DELL Memory, HP Memory, IBM Memory
DELL Hard Drives, HP Hard Drives, IBM Hard Drives What is the maximum or recommended quantity of keyword phrases to try to include on the home page? Is it also recommended to maybe create a separate page for each keyword phrase? Does a home page get better ranking then another page on the server just because its a home page? Hope my questions aren't too dumb and make sense. I appreciate everyone who takes their time to read through and answer my questions or guide me in the right path. Thank you,
Igor Pinchevskiy0 -
What is the difference of HTML5 and web 2.0? What is web 2.0 and is this better for seo?
A little bit confused with the new stuff. The web 2.0 webpages are so much better? What changes?
Web Design | | Naghirniac0