Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-version redirection link is killing pages indexing #284

Closed
jorgepiloto opened this issue Jul 19, 2023 · 2 comments 路 Fixed by #421
Closed

Multi-version redirection link is killing pages indexing #284

jorgepiloto opened this issue Jul 19, 2023 · 2 comments 路 Fixed by #421
Assignees
Labels
bug Something isn't working
Milestone

Comments

@jorgepiloto
Copy link
Member

馃悶 Problem
The main index.html created by the multi-version documentation looks as follows:

- name: "Create the 'index.html' redirection file"
shell: bash
run: |
echo "<!DOCTYPE html>" > index.html
echo "<meta charset=\"utf-8\">" >> index.html
echo "<title>Redirecting to ${{ env.REDIRECTION_URL }}</title>" >> index.html
echo "<meta http-equiv=\"refresh\" content=\"0; URL=${{ env.REDIRECTION_URL }}\">" >> index.html
echo "<link rel=\"canonical\" href=\"${{ env.REDIRECTION_URL }}\">" >> index.html

In previous code, the <title> tag encloses the following text: Redirecting to.... Because this text does not contain a proper title, Google is not properly indexing pages. Also, this index lacks a proper description and keywords.

Solving this issue is urgent for any project using the multi-version documentation.

@jorgepiloto jorgepiloto added the bug Something isn't working label Jul 19, 2023
@jorgepiloto jorgepiloto added this to the v4.1 milestone Jul 19, 2023
@RobPasMue
Copy link
Member

Agreed - this should be handled ASAP :) let me know if you need any help

@jorgepiloto
Copy link
Member Author

After this was partially fixed, our plan is to fully solve this for next release, that is v4.2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants