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
-
Is it possible to direct HTTP www 301 to HTTPS non www?
I have a question that has been stumping me and if someone could help I would gladly buy your coffee for a month. I have a website that used to be www and http a year or two ago. Now it is https and non www. A lot of my older links point to the www and http version of my site. This results in two 301 redirects. I.e. A link on another site to my site points to http://www.mysite.com The network waterfall shows: http://www.mysite.com 301 -> http://mysite.com http://mysite.com 301 -> https://mysite.com https://mysite.com (finally) **2 part question. ** **--Do you think that this two 301 redirect hop would affect SEO performance? I can see it did affect page authority through Moz. ** --Is there away around this? I.e. to redirect http:// AND http://www directly to https:// with no hops in between. Thank you!
Intermediate & Advanced SEO | | Stodzy0 -
What Are Latest Internal Linking Strategies?
I have been doing a little research, but all the articles are really old. Even the Moz site page is pretty old. So I am wondering, has the strategy changed? Is it OK to still use internal links with your keywords in them? Do you have multiple links on a page? What about a blog post? Do you no follow? What are the thoughts out there on this?
Intermediate & Advanced SEO | | netviper0 -
How to Have Flat Navigation w/out Diluting Link Juice
I have a client with a very flat navigational structure relying on a menu with CSS hover dropdowns using simple items to get to just about every page on the site through the main navigation on every page. They want this ability to remain. The issue is stat is send link juice all over and does not concentrate into pages that are key search landing pages. I don't want to "no Index" "follow" the less important pages since there are some brand related long tail searches that I would want these pages found. These are useful pages to consumers who are already engaged with the brand, but not ones we would not care to rank for outside of branded search. If there was a way to have some links be non-crawled via javascript (or some other method) and those that are more important use a more standard html type link that would seem ideal. Does anyone have a suggestion for menu tool or technique for exposing to consumers all the links to consumers but restricting google bot's path while being in line with Google Webmaster guideslines? Blair
Intermediate & Advanced SEO | | BlairKuhnen0 -
Outbound link to PDF vs outbound link to page
If you're trying to create a site which is an information hub, obviously linking out to authoritative sites is a good idea. However, does linking to a PDF have the same effect? e.g Linking to Google's SEO starter guide PDF, as opposed to linking to a google article on SEO. Thanks!
Intermediate & Advanced SEO | | underscorelive0 -
Links with Parameters
The links from the home page to some internal pages on my site have been coded in the following format by my tech guys: www.abc.com/tools/page.html?hpint_id=xyz If I specify within my Google Webmaster tools that the parameter ?hpint_id should be ignored and content for the user does not change, Will Google credit me for a link from the home page or am I losing something here. Many thanks in advance
Intermediate & Advanced SEO | | harmit360 -
Duplicate Content http://www.website.com and http://website.com
I'm getting duplicate content warnings for my site because the same pages are getting crawled twice? Once with http://www.website.com and once with http://website.com. I'm assuming this is a .htaccess problem so I'll post what mine looks like. I think installing WordPress in the root domain changed some of the settings I had before. My main site is primarily in HTML with a blog at http://www.website.com/blog/post-name BEGIN WordPress <ifmodule mod_rewrite.c="">RewriteEngine On
Intermediate & Advanced SEO | | thirdseo
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]</ifmodule> END WordPress0 -
Link Anchor Text
As I keep studing SEO I reach to the conclusion that the Anchor Text from other site is crucial to get more positive results for our website and for the link-building strategy. My question is - Is it better to have an Anchor Text to my main link our should I ask for a determine targeted keyword? Tks in advance! Pedro M Pereira
Intermediate & Advanced SEO | | PedroM0 -
Google, Links and Javascript
So today I was taking a look at http://www.seomoz.org/top500 page and saw that the AddThis page is currently at the position 19. I think the main reason for that is because their plugin create, through javascript, linkbacks to their page where their share buttons reside. So any page with AddThis installed would easily have 4/5 linbacks to their site, creating that huge amount of linkbacks they have. Ok, that pretty much shows that Google doesn´t care if the link is created in the HTML (on the backend) or through Javascript (frontend). But heres the catch. If someones create a free plugin for wordpress/drupal or any other huge cms platform out there with a feature that linkbacks to the page of the creator of the plugin (thats pretty common, I know) but instead of inserting the link in the plugin source code they put it somewhere else, wich then is loaded with a javascript code (exactly how AddThis works). This would allow the owner of the plugin to change the link showed at anytime he wants. The main reason for that would be, dont know, an URL address update for his blog or businness or something. However that could easily be used to link to whatever tha hell the owner of the plugin wants to. What your thoughts about this, I think this could be easily classified as White or Black hat depending on what the owners do. However, would google think the same way about it?
Intermediate & Advanced SEO | | bemcapaz0