Redirect

by Jacob Levernier
5
4
3
2
1
Score: 51/100

Description

Category: File Management

The Redirect plugin is a game-changer for site administrators seeking to streamline their website's navigation. With this plugin, you can easily redirect URLs to new locations, making it easy to update your site's structure without losing traffic or search engine ranking. Whether you're consolidating duplicate content, updating page paths, or migrating to a new domain, Redirect makes the process painless and efficient. Its user-friendly interface allows you to set up custom redirects with ease, ensuring a seamless experience for both users and search engines alike.

Reviews

No reviews yet.

Stats

24
stars
7,923
downloads
1
forks
1,416
days
1,162
days
1,343
days
7
total PRs
1
open PRs
0
closed PRs
6
merged PRs
0
total issues
0
open issues
0
closed issues
0
commits

Latest Version

4 years ago

Changelog

  • Added right-click menu item to add an alias to a redirect file.
  • Added notice in case of lack of redirect file.

README file from

Github

Obsidian Redirect

An Obsidian plugin to facilitate management of especially non-markdown files, by allowing aliases to be set on any file.

Motivation

Obsidian is highly featureful for management of markdown notes and metadata describing them. However, it is not currently as featureful for attachments (i.e., non-markdown file) management.

This plugin allows expanding Obsidian's existing metadata management features and tools to apply to other files, including binary files.

This plugin may be particularly useful alongside the Obsidian Binary File Manager Plugin, which automatically creates a Markdown file for each binary file in a vault.

Usage

YAML front matter

The plugin watches for markdown files that contain a redirect or redirects element in their YAML front matter. Either can be singular or plural. For example:

---
redirect: "path/to/file/in/vault.png"
---

Lorem ipsum...

or...

---
redirects: 
  - "path/to/file/in/vault.png"
  - "path/to/second/file/in/vault.png"
---

Lorem ipsum...

The plugin will also watch for alias and aliases front matter elements.

To facilitate the creation of redirect / redirects YAML front matter entries, the plugin provides a command, Redirect: Insert redirected file path, which allows searching files within the vault:

Linking to files

While typing in a markdown note, typing r[ will bring up a searchable suggestion interface, which lists files based on their names, the files that include redirect / redirects YAML front matter references to them, and those files' aliases. Image files are displayed within the list, facilitating finding the desired image:

Opening files

Commands

A similar searchable list is accessible for opening files using the Redirect: Open redirected file command:

The Redirect: Open redirect origin file command will present a similar interface, but open the markdown file that configured the redirect.

File menu

Right-clicking on a redirected file will present a Open redirect origin file option, which will open the file that configured the redirect, or will ask which of several files to open.

Dropping files from the system file explorer

The plugin adds a Status Bar button, Redirect drop.

In "Standard" mode, Obsidian works as normal. In "Open" mode, however, when dropping a file on an open editor window, if the file is already in the Vault and is a redirected file, Obsidian will open the file that configured the redirect, or ask which of several files to open. This behavior can facilitate using one's system's file explorer to aid in file management.

In "Open" mode, if a file is dropped and is either not part of the Vault, or has no redirects set up, no action is taken.

Drop mode can be changed by clicking on the Status Bar button, or by running the Redirect: Change mode command.

Hovering on images

On both desktop and mobile, hovering the mouse / long pressing on an image will expand that image temporarily, allowing one to see it better.

Installation

Manually installing the plugin

  • Copy over main.js, styles.css, manifest.json to your vault VaultFolder/.obsidian/plugins/obsidian-redirect/.

From the Community Plugins list

  1. Search for "Redirect" in Obsidian's community plugins browser
  2. Enable the plugin in your Obsidian settings (find "Redirect" under "Community plugins").
  3. Check the "Redirect" settings tab. Add one or more patterns.
  4. (Optional) In the "Hotkeys" settings tab, add a hotkey for any of the "Redirect..." commands.

Development

Clone the repository, run yarn to install the dependencies, and run yarn dev to compile the plugin and watch file changes.

See https://github.com/obsidianmd/obsidian-api for Obsidian's API documentation.

License

This plugin's code and documentation is released under the BSD 3-Clause License.

Todo

Automated tests are not currently included in this code for this repository. Assistance in this, particularly using the Obsidian End-to-End testing approach, is especially welcome!

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Advanced New File
5 years ago by Ivan Chernov
Create file in chosen folder
Aggregator
3 years ago by SErAphLi
This plugin helps you gather information from files, and make a summary in the file.
Alias Picker
2 years ago by rostunic
Another Name
a year ago by Jiyuan Wang
Add a subheading to your note in Obsidian
Auto File Organizer
a year ago by mofukuru
Obsidian plugin: Automatically organizes files into folders based on their extensions.
Automatically reveal active file
5 years ago by Matt Sessions
Obsidian plugin to reveal the active file automatically when you open a file
Awesome Image
3 years ago by AwesomeDog
One-stop solution for image management.
Bellboy
4 years ago by Shaked Lokits
Opinionated file structure manager for the Obsidian knowledge base.
Check and Delete
a year ago by Danitiate
An Obsidian plugin that allows you to quickly clean up temporary list-items with the press of a button
Checklist
5 years ago by delashum
Confluence Link
2 years ago by Razvan Bunga
Convert obsidian md file into confluence pages
Course Module Loader
a year ago by Sebastian Kamilli
Downloads and unzips course module zip files from a URL into a specified vault folder, skipping existing files.
Easy Bake
3 years ago by mgmeyers
Compile many Obsidian notes down to one.
Edit Gemini
3 years ago by Basil_Mori
Edit Link Alias
4 months ago by mnaoumov
Obsidian Plugin that adds edit link alias command.
Emo
3 years ago by yaleiyale
Use image/file hosting in Obsidian by clipboard or draging file. Obsidian 图床聚合 & Github上传器
External Link Helper
3 years ago by Jhonghee Park
Obsidian plugin for link suggestion
Ffmpeg Converter
2 years ago by MrAnyx
Convert your assets into other formats. Convert, Compress and Optimize your vault
File Cleaner
4 years ago by Johnson0907
A file cleaner plugin for Obsidian.
File Color
3 years ago by ecustic
An Obsidian plugin for setting colors on folders and files in the file tree.
File Cooker
4 years ago by iuian
An obsidian plugin for moving search files to target folder
File Diff
3 years ago by Till Friebe
View the difference between two files within Obsidian.
File Explorer Note Count
5 years ago by Ozan Tellioglu
Obsidian Plugin for viewing the number of elements under each folder within the file explorer
File Explorer++
3 years ago by kelszo
A plugin for https://obsidian.md, which enables the ability to hide and pin specific files and folders in the file explorer by applying custom filters.
File Ignore
a year ago by Feng
An Obsidian plugin that controls file indexing by managing dot prefixes on files/folders to truly hide/exclude them, providing a .gitignore-like experience.
File Manager
a year ago by Juan Sicilia
A file manager plugin for Obsidian
File path to URI
5 years ago by Michal Bureš
Convert file path to uri for easier use of links to local files outside of Obsidian
File Tree Alternative
5 years ago by Ozan Tellioglu
This Obsidian Plugin allows users to have a different file explorer experience.
File Tree Generator
3 years ago by Unarray
An Obsidian extension to generate a file tree using callouts!
Find orphaned files and broken links
5 years ago by Vinzent
Find files, which are nowhere linked, so they are maybe lost in your vault.
Fold Properties
2 years ago by James Alexandre
Adds Fold/Unfold Properties Function to Folder Context Menu
Folder Tabulation
a year ago by SpeedaRJ
An open source plugin for obsidian that let's you treverse local folder structure via keybindings and commands.
Get Info
4 years ago by Chetachi
A small menu that is tucked inside your status bar and shows helpful information for your chosen file 📄.
Git Url
3 years ago by khuongduy354
Home tab
3 years ago by Renso
A browser-like search tab for your local files in Obsidian.
Image Collector
2 years ago by tdaykin
Import Attachments+
2 years ago by Andrea Alberti
Import attachments by moving them into the vault.
Incomplete files
2 years ago by Hananoshika Yomaru
Rule based incomplete files discovery
Janitor
4 years ago by Gabriele Cannata
Performs various maintenance tasks on the Obsidian vault
koncham workspace
5 years ago by mano
obsidian workspace enhancement [not maintained]
Link with alias
3 years ago by Pavel Vojtechovsky
Obsidian plugin for handy creation of links and alias in front matter of target document
Local File Interface
4 years ago by qawatake
An Obsidian plugin to provide commands for moving files in and out of the vault
Markdoc
3 years ago by Maciej Jur
Basic markdoc support for Obsidian
Metadata Menu
4 years ago by mdelobelle
For data management enthusiasts : type and manage the metadata of your notes.
Modal Opener
2 years ago by Muuxi
Open files and links in modal windows, or create and edit compatible files in modal windows.
Multilingual
2 years ago by leolazou
An plugin for Obsidian that translates note names to ease linking across many languages.
Nav Weight
2 years ago by shu307
A simple plugin designed to sort files in navigation based on markdown frontmatter (also known as metadata) for Obsidian.
Neighbouring Files
2 years ago by Fabian Untermoser
Obsidian Plugin to navigate to the next and previous file in the current directory
Nuke Orphans
4 years ago by Sandorex
Obsidian notes plugin that trashes orphaned files and attachments
Open files with commands
3 years ago by Lost Paul
Create commands that only open one file at the time and that can be used with the commander plugin.
Open in GitHub
a year ago by Muurphy Chen
This is an Obsidian plugin designed to open project or files directly in GitHub via your browser.
Open In New Tab
3 years ago by patleeman
Paste as file link
8 months ago by Matthias Büge
This plugin is used to paste a text from the clipboard as a link to an existing obsidian note
Recent Files
5 years ago by Tony Grosinger
Display a list of most recently opened files
Remember File State
4 years ago by Ludovic Chabant
A plugin for Obsidian that remembers cursor position, selection, scrolling, and more for each file.
Review Notes Plugin
3 years ago by tjandy98
Ruled template
3 years ago by YPetremann
An obsidian plugin that check rules to select which template to use.
Settings Management
2 years ago by Huajin
Manage settings options, including show enabled/disabled plugins and css, grid layout, save current plugins/css enable config for quick enable/disable, etc.
Sort Frontmatter
2 years ago by Kanzi
Sort frontmatter automatically
Static File Server
5 years ago by Elias Sundqvist
Serve obsidian vault subfolders with a static web server
Structured Tree
2 years ago by Marius Svarverud
A file explorer for navigating hierarchical notes separated by '.'
Symlink Creator
2 years ago by Tobias Heidler
A plugin for Obsidian that allows the creation of symlinks - for Windows, OS X and Linux only!
SyncFTP
3 years ago by Alex Donnan
An Obsidian.md plugin that allows users to add their own SFTP host and credentials to sync to and from.
Tag Buddy
2 years ago by David Fasullo
Unlock powerful tag editing features in Reading Mode. Add, remove and edit tags across your vault. Use tag inboxes to level up any workflow with a powerful idea assembly line.
Tags Overview
3 years ago by Christian Wannerstedt
Obsidian plugin which adds an extended tags panel where tagged files can be overviewed, filtered and accessed in an easy way.
Task Collector (TC)
5 years ago by ebullient
Manage tasks and logs within an Obsidian note.
Task Director
a year ago by Cybertramp
A plugin that allows you to easily manage tasks in bulk.
Todo sort
3 years ago by Ryan Gomba
A plugin for Obsidian that sorts todos within a note
VARE
2 years ago by 4Source
This is a plugin for Obsidian (https://obsidian.md). Allows you to easily manage your plugins and themes inside Obsidian.
Vault Review
2 years ago by Alexander
This plugin allows you to create a snapshot of your vault and randomly review files from it 1-by-1.
Weekly Review
3 years ago by Brandon Boswell
Workspaces Plus
5 years ago by NothingIsLost
Quickly switch and manage Obsidian workspaces
🪝 Grappling Hook
3 years ago by pseudometa
Obsidian Plugin for blazingly fast file switching. For those who find the Quick Switcher still too slow.