Optimizing A Homepage URL That Is Only Accessible To Logged In Users
-
I have a client who has a very old site with lots and lots of links to it. The site offers www.examplesite.com/loggedin as the homepage to logged in users. So, once you're logged in, you can't get back to examplesite.com anymore (unless you log out) and are instead given /loggedin as your new personalized homepage.
The problem is that many users over time who linked to the site linked to the site they saw after they signed up and were logged in.... www.examplesite.com/loggedin. So, there's all these inbound links going to a page that is inaccessible to non-logged-in users. Thus linking to nowheresville.
One idea is to fire off a 301 to non-logged in users, forwarding them to the homepage. Thus capturing much of that stranded link juice. Honestly, I'm not 100% sure you can fire off a server code conditioned on if they are logged in or not. I imagine you can, but don't know that for a technical fact.
Another idea is to offer some content on /loggedin that is right now mostly currently blank, except for an offer to sign in.
Which do you think is better and why?
Thanks... Mike
-
Hey Mike
Have you considered using a canonical to the unlogged-in homepage?
www.domain.com - canonical is to www.domain.com
www.domain.com/loggedin - canonical is to www.domain.com
As long as the page can be loaded and the canonical in the head seen by bots, that link equity should go to the homepage.
-
Hi,
The issue is not where is the login. The login is on the top of every page.
The issue is what to do with this /loggedin page that only has content for logged in users. The choices seem to be add content to it or 301 to the homepage for non-logged in users, if that is even possible/advisable.
Best... Mike
-
If it was me I would position the login block at the top of every page, rather than having a specific login page. That also means you can personalise with the users name.
Then 301 your old login page back to the homepage that should transfer almost all of the authority from any links.
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
-
Blog page took over homepage
I don't manage to rank my homepage I am trying to rank my homepage on the product name "Rubbee" in Switzerland https://bit.ly/2S004lL, I have .ch domain and it the homepage appears nowhere in the 1 st 20 pages in Switzerland... whereas a website like this one https://bit.ly/2RYCCVT with zero text appears on the 13 th page. For your info when I put the website online over 2 years ago... my homepage was ranking on the 1 st page but since I created a blog page https://bit.ly/2UnL2aX, the blog page took over and it is now impossible to rank the homepage.
Intermediate & Advanced SEO | | seoanalytics0 -
International Country URL Structure
Hey Guys, We have a www.site.com (gTLD) site, the primary market in Australia. We want to expand to US and UK. For the homepage, we are looking to create 3 new subfolders which are: site.com/au/ site.com/uk/ site.com/us/ Then if someone visits the site.com redirect based on their ip address to to the correct location. We are also looking to setup hreflang tags between the 3 sub-folders and set geo-location targeting in google search console at sub-folder level. Just wondering if this setup sounds ok for international SEO? Cheers.
Intermediate & Advanced SEO | | pladcarl90 -
Status Codes - Deleted URLs
Hi I have a dev team 'cleaning' their database and from what I can tell deleting old URL's - which they say are not in use. I don't have much visibility on how our URLs are managed in the back end of the site, but my concern is these URLs should never be deleted, they should have a 301, 404 or 410. This includes product pages no longer available and category pages - my concern is losing authority. Am I worrying over nothing or is this a big issue?
Intermediate & Advanced SEO | | BeckyKey0 -
How do we better optimize a site to show the correct domain in organic search results for the location the user is searching in?
For example, chicago-company.com has the same content as springfield-company.com and I am searching for a general non-brand term (i.e. utility bill pay) and am located in Chicago. How can we optimize the chicago-company.com to ensure that chicago's site results are in top positions over springfields site?
Intermediate & Advanced SEO | | aelite1 -
Domain.com/old-url to domain.com/new-url
HI, I have to change old url`s to new one, for the same domain and all landing pages will be the same: domain.com/old-url I have to change to: domain.com/new-url All together more than 70.000 url. What is best way to do that? should I use 301st redirect? is it possible to do in code or how? what could you please suggest? Thank you, Edgars
Intermediate & Advanced SEO | | Edzjus3330 -
Canonical URL Tag
I have 3 websites with same content, I want to add Canonical tag to my main website. Is this also important to mentioned other duplicate URL in canonical tag in main website? or just need to just add
Intermediate & Advanced SEO | | marknorman0 -
Is this over optimization??
I have blog website – packforcity.com, all articles were having almost same title tags (as need of the website) I only change the city name for example What to Wear in Miami in February What To Wear In Dubai In February What To Wear In Budapest In February What to Wear in Beijing in February What to Wear in Los Angeles in January What to Wear in Miami in January What to Wear in Las Vegas in January Is this over optimization?? Before December, My all keywords were ranked on the first page and my old articles still ranked, but my January and February articles (newly posted articles) were ranked No where in Google. Has my website hit by google?
Intermediate & Advanced SEO | | ross254sidney0 -
HTML for URL markup
Hi, We are changing our URLs to be more SEO friendly. Is there any negative impact or pitfall of using <base> HTML-tag? Our developers are considering it as a possible solution for relative URLs inside HTML-markup in the Friendly URL context.
Intermediate & Advanced SEO | | theLotter0