How to redirect url to parent directory with url rewriting
snippet in htaccess

How to redirect url to parent directory with url rewriting

user6780

Options +FollowSymLinks -MultiViews
# Turn mod_rewrite on
RewriteEngine On
RewriteBase /

RewriteRule ^portfolio/(.*)$ /$1 [L,R=301,NC]