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 cdcd to dirthe directory using the name projproj:
cd proj This method is more flexible because you could access files using the short name without cdcd:
ls proj/ #note the endslash! vim proj/file.x