I accidently trashed my website and want to remove all indexed urls except the home page from Google and start over. Can anyone tell me how to create a .htaccess rewrite rule to return a 410 response header for all urls except the home page?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Redirect URL to 410 error with complex wildcard | 2 | 2753 | June 14, 2017 | |
Block some pages with htaccess | 3 | 1056 | October 8, 2014 | |
Which response header is correct | 10 | 1271 | October 25, 2014 | |
Htaccess and 301 redirects | 13 | 1136 | October 8, 2014 | |
Redirect from base directory | 1 | 571 | September 28, 2010 |