So I was able to use this code:
RewriteRule ^portfolio$ _pages/_portfolio/port.html [NC,L]
to rewrite my sites webpage from:
http://nkonecny.com/_pages/_portfolio/port.html
to
http://nkonecny.com/portfolio
My question is there a way to redirect people that use the old URL that shows the full file path automatically to the new cleaner file path without going into my html and editing each link?
In other words if they typing http://nkonecny.com/_pages/_portfolio/port.html it will automatically land them on http://nkonecny.com/portfolio ?
Read this tutorial