.htaccess redirect all other pages after manual 301's -


so have whole load of 301 redirect's in out htaccess because migrated new site , lot of content in different location now. need add catch rest of url's aren't manually specified , point them our homepage.

you can use redirect rule as last rule (after of other rewrite rules):

rewritecond %{request_filename} !-f rewriterule . / [l,r=302] 

Comments

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -