Giter Club home page Giter Club logo

Comments (16)

apex-omontgomery avatar apex-omontgomery commented on August 20, 2024 1

Per conrad:
Vettec can be sunsetted
Or redirected to OC.org
the bill passed iwth Forever GI bill.

from operationcode_frontend.

sethbergman avatar sethbergman commented on August 20, 2024 1

It would still be a good idea to use Google Webmaster Tools to remove the 404 page from search results. Last I checked it was still showing up on search results. Although I must say that it's one of the coolest 404 pages I've ever seen.

from operationcode_frontend.

jjhampton avatar jjhampton commented on August 20, 2024

Possible duplicate: #356

My two cents: It doesn't seem useful to create a page for the https://vettec.operationcode.org/ content, as it is out of date. The VET TEC act was merged into the Forever GI Bill, which has already been passed/signed.

from operationcode_frontend.

kylemh avatar kylemh commented on August 20, 2024

The route exists via SEO and we don't wanna drop people...

I also feel like it'd be confusing if we simply redirect, but maybe that's the best move.

from operationcode_frontend.

jjhampton avatar jjhampton commented on August 20, 2024

Redirect to OC.org seems like a good way to capitalize on the existing SEO indexes. Generally, redirects are the best way to handle old/stale pages where we no longer want to serve content. At some point Google will probably stop indexing the page anyway, since we'll just be redirecting and the original content will be gone.

We can also submit requests to Google to stop indexing the page, as @sethbergman has explained for other issues elsewhere.

from operationcode_frontend.

kylemh avatar kylemh commented on August 20, 2024

Nothing can be done in the front-end code. I tried altering the CNAME to point to our website in DNS Simple, but now the link is simply broken.

from operationcode_frontend.

sethbergman avatar sethbergman commented on August 20, 2024

@jjhampton wrote earlier:

We can also submit requests to Google to stop indexing the page, as @sethbergman has explained for other issues elsewhere.

This is the way to go if you don't want the link(s) to be search results.

@kylemh can you elaborate on this:

The route exists via SEO and we don't wanna drop people...
I also feel like it'd be confusing if we simply redirect, but maybe that's the best move.

I appreciate the additional details. I've not been on Slack recently. BTW awesome work on the new front-end repo! 😃

from operationcode_frontend.

kylemh avatar kylemh commented on August 20, 2024

My concern is a little less valid since the page has been broken for nearly two weeks (and is SSR, so the Goog prolly already indexed a 404 😓 ), but I was only concerned with users clicking an indexed link after being given a preview of its contents from Google, but then being redirected to a completely different page that didnt match the preview item on Google.

from operationcode_frontend.

kylemh avatar kylemh commented on August 20, 2024

@sethbergman so weirdly enough I've done it before, but it seems to continue to come back.

from operationcode_frontend.

sethbergman avatar sethbergman commented on August 20, 2024

I think we need to add a disallow rule on a robots.txt file. Either that or add <meta name="robots" content="noindex, nofollow"/> to the 404 component.
Maybe both; what do you think?

from operationcode_frontend.

kylemh avatar kylemh commented on August 20, 2024

That sounds good to me. 👍 I'm no SEO expert 🙈

from operationcode_frontend.

sethbergman avatar sethbergman commented on August 20, 2024

I'll put in an issue and PR today. SEO is it's own beast. You're still a badass software developer @kylemh

from operationcode_frontend.

dgisser avatar dgisser commented on August 20, 2024

Google isn't indexing the 404 (at least not currently), it seems like it's indexing https://www.operationcode.org/apprentices which leads to a 404. If we change it so that bad links redirect to 404 instead of just showing the component, I bet google will stop indexing them.

from operationcode_frontend.

kylemh avatar kylemh commented on August 20, 2024

@sethbergman @hollomancer

That explains that! Thanks so much @dgisser

from operationcode_frontend.

sethbergman avatar sethbergman commented on August 20, 2024

Cool! We still need to add the following to the 404 component so that it doesn't get indexed.

<meta name="robots" content="noindex, nofollow">

As for the other links, is there an easier way than the Google Webmaster URL tool for removing old links? Redirects to the 404 page for each outdated link seems more like a bandaid rather than just removing them and reindexing the site. If there's a better way to approach this, I'm open to discussing the implementation. Thanks for your help and research on this! 👍

from operationcode_frontend.

dgisser avatar dgisser commented on August 20, 2024

This project doesn't have a proper 404 page. The status code for the 404 page is 200, which is bad practice, and why Google thinks it deserves an index.

@sethbergman I think something like this (https://stackoverflow.com/a/40805821/2158302) would not require much modification, and by sending the 404 status code we would be in the clear

from operationcode_frontend.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.