Title: Redirect 301
Last modified: August 19, 2016

---

# Redirect 301

 *  [rotello](https://wordpress.org/support/users/rotello/)
 * (@rotello)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/redirect-301/)
 * I ve seen many people had this “function.file-get-contents” problem…
    i had too,
   and i solved it ( i hope)…. but now for some reason Google see some of this page
   and thus it reports errors: example
 * [http://www.grappling-italia.com/2577/2009/function.file-get-contents](http://www.grappling-italia.com/2577/2009/function.file-get-contents)
   
   Does not exists BUT [http://www.grappling-italia.com/2577/2009/](http://www.grappling-italia.com/2577/2009/)
   does exist
 * so the best way is a 301 to “patch” all this broken links…
    how can I make a 
   301 redirect ?? the simple command i d like to redir all */*/function.file-get-
   contents to */* , if uou get what i mean.. if that is not possible also a good*/*/
   function.file-get-contents –> main site is OK.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [JohnnyWhite2007](https://wordpress.org/support/users/johnnywhite2007/)
 * (@johnnywhite2007)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/redirect-301/#post-1650776)
 * All broken links (404 errors) can easily be fixed by adding the following line
   in your .htaccess file.
 * ErrorDocument 404 [http://www.grappling-italia.com](http://www.grappling-italia.com)
 * This way when someone goes to a page that does not exist anymore, they will be
   taken to your main page of your site.
 *  Thread Starter [rotello](https://wordpress.org/support/users/rotello/)
 * (@rotello)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/redirect-301/#post-1650837)
 * Thanks man for the quick reply! I think I didn’t express well (Sorry I m Italian
   and I ve study english at school)
 * My point is that
    [http://www.grappling-italia.com/2577/2009/function.file-get-contents](http://www.grappling-italia.com/2577/2009/function.file-get-contents)
   is broken, BUT [http://www.grappling-italia.com/2577/2009/](http://www.grappling-italia.com/2577/2009/)
   is working Thus i d like to set that all *function.file-get-contents file should
   redirect to above folder. having No broken link and a correct redirection.
 * Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Redirect 301’ is closed to new replies.

## Tags

 * [redirect](https://wordpress.org/support/topic-tag/redirect/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [rotello](https://wordpress.org/support/users/rotello/)
 * Last activity: [15 years, 8 months ago](https://wordpress.org/support/topic/redirect-301/#post-1650837)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
