Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@peterbe
Created March 23, 2020 13:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save peterbe/ba9104094dca192506d14294bda75677 to your computer and use it in GitHub Desktop.
Save peterbe/ba9104094dca192506d14294bda75677 to your computer and use it in GitHub Desktop.
Redirects with anchor links
▶ cat content/files/en-us/_redirects.txt| rg '#'
# FROM-URL TO-URL
/en-US/docs/DOM/window.arguments /en-US/docs/Working_with_windows_in_chrome_code#Passing_data_between_windows
/en-US/docs/ECMAScript_DontEnum_attribute /en-US/docs/Web/JavaScript/Data_structures#Properties
/en-US/docs/JavaScript/Reference/Global_Objects/Array/JavaScript_-_Array#splice /en-US/docs/JavaScript/Reference/Global_Objects/Array/splice
/en-US/docs/Learn/HTML/Howto/Add_Flash_content_within_a_webpage /en-US/docs/Learn/HTML/Multimedia_and_embedding/Other_embedding_technologies#The_%3Cembed%3E_and_%3Cobject%3E_elements
/en-US/docs/Learn/HTML/Howto/Add_citations_to_webpages /en-US/docs/Learn/HTML/Introduction_to_HTML/Advanced_text_formatting#Quotations
/en-US/docs/Learn/HTML/Howto/Add_images_to_a_webpage /en-US/docs/Learn/HTML/Multimedia_and_embedding/Images_in_HTML#How_do_we_put_an_image_on_a_webpage
/en-US/docs/Learn/HTML/Howto/Annotate_images_and_graphics /en-US/docs/Learn/HTML/Multimedia_and_embedding/Images_in_HTML#Annotating_images_with_figures_and_figure_captions
/en-US/docs/Learn/HTML/Howto/Create_list_of_items_with_HTML /en-US/docs/Learn/HTML/Introduction_to_HTML/HTML_text_fundamentals#Lists
/en-US/docs/Learn/HTML/Howto/Display_computer_code_with_HTML /en-US/docs/Learn/HTML/Introduction_to_HTML/Advanced_text_formatting#Representing_computer_code
/en-US/docs/Learn/HTML/Howto/Emphasize_content_or_indicate_that_text_is_important /en-US/docs/Learn/HTML/Introduction_to_HTML/HTML_text_fundamentals#Emphasis_and_importance
/en-US/docs/Learn/HTML/Howto/Mark_abbreviations_and_make_them_understandable /en-US/docs/Learn/HTML/Introduction_to_HTML/Advanced_text_formatting#Abbreviations
/en-US/docs/Learn/HTML/Howto/Use_CSS_within_a_webpage /en-US/docs/Learn/CSS/Introduction_to_CSS/How_CSS_works#How_to_apply_your_CSS_to_your_HTML
/en-US/docs/MDN/Contribute/Tasks/Web_API_editorial_review_list /en-US/docs/MDN/Doc_status/API/Firefox_OS#Editorial_reviews
/en-US/docs/MDN/Contribute/Tasks/Web_API_technical_review_list /en-US/docs/MDN/Doc_status/API/Firefox_OS#Technical_reviews
/en-US/docs/Making_String_Changes /en-US/docs/Mozilla/Localization/Localization_best_practices#Changing_existing_strings
/en-US/docs/Tools/Page_Inspector/Style_panel /en-US/docs/Tools/Page_Inspector#CSS_pane
/en-US/docs/Tools/Remote_Debugging/Debugging_Firefox_for_Android_over_Wifi /en-US/docs/Tools/about:debugging#Connecting_over_the_Network
/en-US/docs/Tools/Remote_Debugging/Debugging_over_USB /en-US/docs/Tools/about:debugging#Connecting_to_a_remote_device
/en-US/docs/Tools/Remote_Debugging/Debugging_over_a_network /Tools/docs/about:debugging#Connecting_over_the_Network
/en-US/docs/Tools/Using_the_Source_Editor /en-US/docs/tools/Keyboard_shortcuts#Source_editor
/en-US/docs/Understanding_Underlines /en-US/docs/Learn/CSS/Styling_text/Fundamentals#Font_style_font_weight_text_transform_and_text_decoration
/en-US/docs/Web/API/CSS_Typed_Object_Model_API /en-US/docs/Web/API/CSS_Object_Model#CSS_Typed_Object_Model
/en-US/docs/Web/API/WebGL_API/Cross-Domain_Textures /en-US/docs/Web/API/WebGL_API/Tutorial/Using_textures_in_WebGL#Cross-domain_textures
/en-US/docs/Web/API/WebRTC_API/Overview /en-US/docs/Web/API/WebRTC_API#WebRTC_concepts_and_usage
/en-US/docs/Web/API/Window.XPCSafeJSObjectWrapper /en-US/docs/XPConnect_wrappers#XPCSafeJSObjectWrapper
/en-US/docs/Web/API/Window.arguments /en-US/docs/Working_with_windows_in_chrome_code#Passing_data_between_windows
/en-US/docs/Web/CSS/-moz-grab /en-US/docs/Web/CSS/cursor#grab
/en-US/docs/Web/CSS/-moz-grabbing /en-US/docs/Web/CSS/cursor#grab
/en-US/docs/Web/CSS/Currentcolor /en-US/docs/Web/CSS/color_value#currentColor_keyword
/en-US/docs/Web/CSS/rgb /en-US/docs/Web/CSS/color_value#rgb()_and_rgba()
/en-US/docs/Web/Guide/CSS/Getting_started/Color /en-US/docs/Learn/CSS/Introduction_to_CSS/Values_and_units#Colors
/en-US/docs/Web/Guide/CSS/Getting_started/Readable_CSS /en-US/docs/Learn/CSS/Introduction_to_CSS/Syntax#Beyond_syntax_make_CSS_readable
/en-US/docs/Web/Guide/HTML/Email_links /en-US/docs/Learn/HTML/Introduction_to_HTML/Creating_hyperlinks#E-mail_links
/en-US/docs/Web/Guide/HTML/Event_attributes /en-US/docs/Learn/JavaScript/Building_blocks/Events#Inline_event_handlers_%E2%80%94_don%27t_use_these
/en-US/docs/Web/Guide/HTML/The_Importance_of_Correct_HTML_Commenting /en-US/docs/Learn/HTML/Introduction_to_HTML/Getting_started#HTML_comments
/en-US/docs/Web/HTTP/Cookies/Cookie_Prefixes /en-US/docs/Web/HTTP/Cookies#Cookie_prefixes
/en-US/docs/Web/JavaScript/Guide/Obsolete_Pages/Creating_New_Objects /en-US/docs/Web/JavaScript/Guide/Working_with_Objects#Creating_new_objects
/en-US/docs/Web/JavaScript/Guide/Obsolete_Pages/Working_with_Regular_Expressions/Using_Parenthesized_Substring_Matches /en-US/docs/Web/JavaScript/Guide/Regular_Expressions#Using_Parenthesized_Substring_Matches
/en-US/docs/Web/JavaScript/Reference/Code_comments /en-US/docs/Web/JavaScript/Reference/Lexical_grammar#Comments
/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat/DateTimeFormat_Options /en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat/DateTimeFormat#Parameters
/en-US/docs/Web/JavaScript/Reference/Operators/String_Operators /en-US/docs/Web/JavaScript/Reference/Operators/Arithmetic_Operators#Addition
/en-US/docs/Web/JavaScript/Reference/Reserved_Words /en-US/docs/Web/JavaScript/Reference/Lexical_grammar#Keywords
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment