Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I create a shortcut folder on a linux web server?

I have some folders on my web server that link to other folders.

I am wondering how this is done?

Example: I want http://www.example.com/public_html/css/ to point to http://www.example.com/public_html/wp-content/themes/theme-name/css/

like image 648
Jay West Avatar asked Dec 14 '11 00:12

Jay West


People also ask

How do I create a shortcut to a folder on my server?

Right-click any folder on the server or client, and select Create Shortcut. Or, select a folder and then click Create Shortcut at the top-right of the dialog. A new shortcut is added.


1 Answers

easiest way is to create a symblink like this:

cd /path/to/public_html/
ln -s /path/to/public_html/wp-content/themes/theme-name/css/ css

example:

cd ~
ln -s wp-content/themes/theme-name/css/ css
like image 126
Book Of Zeus Avatar answered Oct 14 '22 09:10

Book Of Zeus