.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 -

python - Django-cities exits with "killed" -

python - How to get a widget position inside it's layout in Kivy? -