While there are answers that do the exact action that you want, a more standard method for such purpose is to create symbolic link:
ln -s ~/web/www/project proj #use full path to dir! Then you could cd to the directory using the name proj:
cd proj This method is more flexible because you could access files using the short name without cd:
ls proj/ #note the endslash! vim proj/file.x