Using a 302 re-direct from http://www to https://www to secure customer data
-
My website sends Customers from a http://www.mysite.com/features page to a https://www.mysite.com/register page which is an account sign-up form using a 302 re-direct.
Any page that collects customer data has an authenticated SSL certificate to protect any data on the site. Is this 302 the most appropriate way of doing this as the weekly crawl picks it up as being bad practise? Is there a better alternative?
-
Ah, ok got it, thanks. From an SEO perspective I definitely wouldn't worry about it since the link goes to a registration form and doesn't have any SEO value. You might even decide that its better to keep the page out of the index altogether (but again, I wouldn't spend much time on it). The better alternative for redirects is a 301 redirect on the old URL, and updating all your internal links with the new URL. If this was an important page I'd consider doing it, but for this page it would be last on my never-ending list of priorities.
-
Here is the link to our features page so you can see what I mean http://goo.gl/kD7T1
If you click on the 'Sign Up Now' button in the middle of the page, you move to a https:// page via a 302?
-
Ok, I still don't understand when the redirect happens. Does the /features page always redirect, or only when someone is not logged in?
-
It's the way it was set-up at the start, but I only recently discovered it. Now I'm trying to figure why it was done this way and the best way to resolve it.
-
Hi, why does the redirect happen? When someone clicks "register", why doesn't it just go directly to the secure page?
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 re-branding safe?
I am not entirely pleased with my website's name and have been willing to change it for years. I feel it is not brand-able. But since its an old domain name and overall figures of DA, PR, Moz score etc. are very good, I have been wary of changing the name and doing a 301 permanent re-direct from the existing name to the new one. Please suggest me if I should go for it. If yes, what are the best practices to go about it.
Intermediate & Advanced SEO | | KS__0 -
SEO question regarding rails app on www.site.com hosted on Heroku and www.site.com/blog at another host
Hi, I have a rails app hosted on Heroku (www.site.com) and would much prefer to set up a Wordpress blog using a different host pointing to www.site.com/blog, as opposed to using a gem within the actual app. Whats are peoples thoughts regarding there being any ranking implications for implementing the set up as noted in this post on Stackoverflow: "What I would do is serve your Wordpress blog along side your Rails app (so you've got a PHP and a Rails server running), and just have your /blog route point to a controller that redirects to your Wordpress app. Add something like this to your routes.rb: _`get '/blog', to:'blog#redirect'`_ and then have a redirect method in your BlogController that simply does this: _`classBlogController<applicationcontrollerdef redirect="" redirect_to="" "url_of_wordpress_blog"endend<="" code=""></applicationcontrollerdef>`_ _Now you can point at yourdomain.com/blog and it will take you to the Wordpress site._
Intermediate & Advanced SEO | | Anward0 -
Do I need to set Preferred domain when the non-www redirects to www version?
Hi mozzers, Not sure if I should setup preferred domain when the non www version redirects to the www version? if yes why? Thanks!
Intermediate & Advanced SEO | | Ideas-Money-Art0 -
Www or no www
OK. Let's get the obvious out of the way. We all know to 301 www to root, or root to www. However, my questions for discussion is, which is better? Is it better to redirect the root to www or redirect the www to the root? I ask this from the context of links. Because, even though my client's sites are being redirected in the .htaccess file, I note different PA, DA, and link counts for www vs no www. It appears to me it doesn't seem to matter in the social signal arena. What I am thinking is that redirecting the root to www is better because humans naturally link with www, so you take advantage this natural aspect. Agree or disagree? Are there any other considerations to worry about? Thanks,
Intermediate & Advanced SEO | | OnlineMarketingGuy
Guy P.S. My opinion is to call BS on link juice through 301s. It may help, but it is never as good as a link with no redirects.0 -
.htaccess question/opinion/advice needed
Hello, I am trying to achieve 3 different things on my .htaccess I just want to make sure I am doing it the right or best way because I don't have much experience working on this kind of files. I am trying to: a) Redirect www.mysite.com/index.html to www.mysite.com so I don't get a duplicate content/tag error. b) Redirect mysite.com to www.mysite.com c) Get rid of the file extensions; www.mysite.com/stuff.html to www.mysite.com/stuff This is the code that I'm currently using and it seems to work fine, however I would like someone with experience to take a look so I can avoid internal server errors and other kinds of issues. I grabbed each piece of code from different posts and tutorials. Options +FollowSymlinks
Intermediate & Advanced SEO | | Eblan
RewriteEngine on Index Rewrite RewriteRule ^index.(htm|html|php) http://www.mysite.com/ [R=301,L] RewriteRule ^(.*)/index.(htm|html|php) http://www.mysite.com/$1/ [R=301,L] RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}.html -f
RewriteRule ^(.*)$ $1.html Options +FollowSymlinks
RewriteEngine on
Rewritecond %{http_host} ^mysite.com [nc]
Rewriterule ^(.*)$ http://www.mysite.com/$1 [r=301,nc] Thanks a lot!0 -
Is the <a data-uri="">link SEO friendly?</a>
We've earned a great link from a popular website but it is in a strange format: <a data-uri="http:;;;;;;;;www.domain.com;;;;" target="_blank">blue widgets</a> It is still visible as a link from the web browsers, but I was wondering how will it perform in terms of SEO visibility and crawabillity? Any ideas?
Intermediate & Advanced SEO | | MartinPanayotov
Thanks!
Martin0 -
Impact of SSL - switching from http: to https: on organic rankings?
Hello, just paranoid, but thought i'd ask. We are installing an SSL certificate on a site ranking very well organically in all the engines. This will change our site from http:// to https://. Is there an risk to our rankings in doing so? What might I need to consider? Changing my htaccess redirects to https: instead of http;? Any ripple effects from switching to a secure site? Thanks,
Intermediate & Advanced SEO | | seagreen
Greg0 -
Adding rel=next / prev to pagination that uses Ajax?
Hi I have just been informed that I should be using the rel=next / rel=prev markup on my category pages and search results pages that use pagination. How do i add these in? Is it just the simple case of adding rel=next in the<a href="" for="" item="" in="" the="" pagination?<="" p=""></a> <a href="" for="" item="" in="" the="" pagination?<="" p="">Also does this work if your are using AJAX - on page load it displays the search / category pages then uses AJAX for additional pages so there is no page refresh</a> <a href="" for="" item="" in="" the="" pagination?<="" p="">Many Thanks</a>
Intermediate & Advanced SEO | | ocelot0