Http, https and link juice
-
I'm working on a site that is built on DNN. For some reason the client has set all pages to convert to HTTPS (although this is not perfect as some don't when landing on them).
All pages indexed in Google are straight HTTP, but when you click on the Google result a temp 302 header response to the corresponding HTTPS page for many. I want it changed to a 301 but unfortunately is an issue for DNN.
Is there another way around this in IIS that won't break DNN as it seems to be a bit flaky? I want to have the homepage link juice pass through for all links made to non HTTPS homepage. Removing HTTPS does not seem to be an option for them.
-
The client does not want to change the HTTPS structure and insists all URLs must be HTTPS. So I am back to square one.
I want the homepage to be HTTP (when a user is not logged in) but I am hitting a brick wall with the client. So at present we have good links coming in to the HTTP url but the indexed is HTTPS and the internal redirect in DNN is a 302 to HTTPS.
-
I am assuming that you have installed mod rewrite on the IIS box.
you need to add this to the web.config located in the root
<match url="(.*)"></match>
<add input="{HTTPS}" pattern="off" ignorecase="true"></add>
<action type="Redirect" redirecttype="Found" url="https://{HTTP_HOST}/{R:1}"></action>
and make sure in the iis manager for the "SSL required box" is unchecked
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
-
100 Links Warning
Our website is GarageFlooringLLC.com. We rank relatively well for our main keywords but I am always looking to rank better. The 100 links question has been discussed to no end but I believe our website provides a great example of why a small business might have more than 100 links and IF we need to drop below that. User Experience vs Rules I think it is fair to say that if customers cannot find what they are looking for, it does not matter how well you rank. Our menu is designed to get people to the page they want to be on in a single click. So What Now? Do we remove items from the menu and only link to categories adding an extra click or two to the customers UI or do we leave well enough alone
Intermediate & Advanced SEO | | GFLLCCO0 -
What to do when migrating to HTTPS?
Hi guys, I am planning on migrating an entire http domain to https. For it to be successful and making sure that Google indexes these new https URLs and not losing any SEO juice, do I simply make sure all legacy URLs get 301 redirected to those new https URLs? Finally what is a server side 301 redirect? What are all the kinds of 301 redirects if there are multiple kinds? Thanks!
Intermediate & Advanced SEO | | Ideas-Money-Art1 -
Should we optimise our internal links?
Hi again, We recently had a technical search audit done by a specialist agency and they discovered a number of internal links that caused redirects to happen. The agency has recommended we update all of these links to link directly to the destination so we don't lose out on link equity. We'd just like to know if you think this would be a worthwhile use of our time. Our web team seem to think that returning a 301 to a crawler means that the crawler will stop indexing the original URL and instead index the redirected destination? Thanks all. Clair
Intermediate & Advanced SEO | | iescape2 -
Links on page
Hi I have a web page which lists about 50-60 products which links out to either a pdf on the product or the main manufacturers website page containing product detail. The site in non e-commerce is this the site/page likely to get hit by Penguin? Would it be best to create a separate page for the product/manufacturer group i.e 5 or 6 pages but linking out to the PDFs etc...?
Intermediate & Advanced SEO | | Cocoonfxmedia0 -
Which links to disavow?
I've got a new client that just fired their former SEO company, which was building spammy links like crazy! Using GSC and Majestic, I've identified 341 linking domains. I'm only a quarter of the way through the list, but it is clear that the overwhelming majority are from directories, article directories and comment spam. So far less than 20% are definitely links I want to keep. At what point do I keep directory links? I see one with a DA of 61 and a Moz spam score of 0. I realize this is a judgement call that will vary, but I'd love to hear some folks give DA and spam numbers. FWIW, the client's DA is 37.
Intermediate & Advanced SEO | | rich.owings0 -
First Link on Page Still Only Link on Page?
Bruce Clay and others did some research and found that the first link on the page is the most important and what is accredited as the link. Any other links on the page mean nothing. Is this still true? And in that case, on an ecommerce site with category links in the top navigation (which is high on the code), is it not useful to link to categories in the content of the page? Because the category is already linked to on that page. Thank you, Tyler
Intermediate & Advanced SEO | | tylerfraser0 -
Noindex,follow is a waste of link juice?
On my wordpress shopping cart plugin, I have three pages /account, /checkout and /terms on which I have added “noindex,follow” attribute. But I think I may be wasting link juice on these pages as they are not to be indexed anyway, so is there any point giving them any link juice? I can add “noindex,nofollow” on to the page itself. However, the actual text/anchor link to these pages on the site header will remain “follow” as I have no means of amending that right now. So this presents the following two scenarios – No juice flows from homepage to these 3 pages (GOOD) – This would be perfect then, as the pages themselves have nofollow attribute. Juice flows from homepage to these pages (BAD) - This may mean that the juice flows from homepage anchor text links to these 3 pages BUT then STOPS there as they have “nofollow” attribute on that page. This will be a bigger problem and if this is the case and I cant stop the juice from flowing in, then ill rather let it flow out to other pages. Hope you understand my question, any input is very much appreciated. Thanks
Intermediate & Advanced SEO | | SamBuck1 -
Reciprocal link finder tool - not looking to do reciprocal links.
The company I work for had an old SEO company that did a lot of reciprocal links with websites that are not what we want to be associated with. Does anyone know of a tool that might be able to tell us if there are still reciprical links to our site? I want to try and find them, but the old pages we had with links going out have been deleted.
Intermediate & Advanced SEO | | b2bcfo0