Title: Lost website after relocation
Last modified: August 20, 2016

---

# Lost website after relocation

 *  Resolved [Oded Ben-Ami](https://wordpress.org/support/users/oded-ben-ami/)
 * (@oded-ben-ami)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/lost-website-after-relocation/)
 * Hi,
 * I used the following instructions to relocate my WordPress website from
    odedbenami.
   com/wordpress to odedbenami.com
 * [http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory](http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory)
   (
   Using a pre-existing subdirectory install )
 * Now I can only see my home page at odedbenami.com
 * All other links generate the following error message:
 * <quote>
    Internal Server Error
 * The server encountered an internal error or misconfiguration and was unable to
   complete your request.
 * Please contact the server administrator, [webmaster@odedbenami.com](https://wordpress.org/support/topic/lost-website-after-relocation/webmaster@odedbenami.com?output_format=md)
   and inform them of the time the error occurred, and anything you might have done
   that may have caused the error.
 * More information about this error may be available in the server error log.
 * Additionally, a 500 Internal Server Error error was encountered while trying 
   to use an ErrorDocument to handle the request.
    <end quote>
 * Please help.

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/lost-website-after-relocation/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/lost-website-after-relocation/page/2/?output_format=md)

 *  [Rab](https://wordpress.org/support/users/rab-rrdev/)
 * (@rab-rrdev)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/lost-website-after-relocation/#post-3298772)
 * Can you get into the Dashboard? If so, try visiting Settings > Permalinks and
   pressing Save changes.
 *  [Julian](https://wordpress.org/support/users/jm300/)
 * (@jm300)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/lost-website-after-relocation/#post-3298774)
 * Also if you can login to the dashboard take a look at the settings and make sure
   that it is the correct WordPress Address (URL) and Site Address (URL). It would
   probably generate a 404 page instead of a 500 page though but it’d still be something
   worth checking.
 *  Anonymous User 9105421
 * (@anonymized-9105421)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/lost-website-after-relocation/#post-3298776)
 * Perhaps still need to update your .htaccess?
 *     ```
       <IfModule mod_rewrite.c>
        RewriteEngine On
        RewriteBase /
        RewriteRule ^index\.php$ - [L]
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteCond %{REQUEST_FILENAME} !-d
        RewriteRule . /index.php [L]
       </IfModule>
       ```
   
 * The `RewriteBase /`
 *  Thread Starter [Oded Ben-Ami](https://wordpress.org/support/users/oded-ben-ami/)
 * (@oded-ben-ami)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/lost-website-after-relocation/#post-3298780)
 * I can login to my dashboard.
    Going to settings > permalinks
 * Just below “save changes” I get the following message:
 * If your .htaccess file were writable, we could do this automatically, but it 
   isn’t so these are the mod_rewrite rules you should have in your .htaccess file.
   Click in the field and press CTRL + a to select all.
 * <IfModule mod_rewrite.c>
    RewriteEngine On RewriteBase / RewriteRule ^index\.
   php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME}!-
   d RewriteRule . /index.php [L] </IfModule>
 * What should I do with this?
 *  Thread Starter [Oded Ben-Ami](https://wordpress.org/support/users/oded-ben-ami/)
 * (@oded-ben-ami)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/lost-website-after-relocation/#post-3298781)
 * I can login to my dashboard.
    Going to settings > permalinks
 * Just below “save changes” I get the following message:
 * If your .htaccess file were writable, we could do this automatically, but it 
   isn’t so these are the mod_rewrite rules you should have in your .htaccess file.
   Click in the field and press CTRL + a to select all.
 * > <IfModule mod_rewrite.c>
   >  RewriteEngine On RewriteBase / RewriteRule ^index\.
   > php$ – [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME}!-
   > d RewriteRule . /index.php [L] </IfModule>
 * What should I do with this?
 *  [Julian](https://wordpress.org/support/users/jm300/)
 * (@jm300)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/lost-website-after-relocation/#post-3298783)
 * It sounds like a permission issue with the .htaccess file. Can you login to your
   site via FTP?
 *  [Rab](https://wordpress.org/support/users/rab-rrdev/)
 * (@rab-rrdev)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/lost-website-after-relocation/#post-3298786)
 * Like Julian says, if you can login to your site via FTP and paste the code it’s
   given you into your .htaccess file that should resolve your issue.
 *  Thread Starter [Oded Ben-Ami](https://wordpress.org/support/users/oded-ben-ami/)
 * (@oded-ben-ami)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/lost-website-after-relocation/#post-3298791)
 * I am logged into my site via Cyberduck.
    I tried editing .htaccess with the new
   info but it didn’t register save. The permissions are 644 and I cannot change
   them. I right-click .htaccess, then click permissions and add two checkmarks 
   on write for group and for others, but it doesn’t reflect in the file list.
 *  Anonymous User 9105421
 * (@anonymized-9105421)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/lost-website-after-relocation/#post-3298801)
 * I’m not familair with Cyberduck, when it can not edit and save online you could
   try FileZilla:
    [http://filezilla-project.org/download.php?type=client](http://filezilla-project.org/download.php?type=client)
 * You could also try download the .htaccess file to your computer and edit it there
   and then reupload.
 * Probably better not make your .htaccess permanently writeable on your server.
 *  Thread Starter [Oded Ben-Ami](https://wordpress.org/support/users/oded-ben-ami/)
 * (@oded-ben-ami)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/lost-website-after-relocation/#post-3298804)
 * OK, I figured it out.
    I had to rename .htaccess to htaccess. I was then allowed
   to edit the contents and save it. My website is now back up in the root directory.
 * Still, the message in settings > permalinks did not disappear.
 * Also, the .htaccess file that I originally copied from the wordpress folder, 
   is not longer there.
 *  [Julian](https://wordpress.org/support/users/jm300/)
 * (@jm300)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/lost-website-after-relocation/#post-3298805)
 * Also you could try copying everything in the .htaccess file and make an entire
   new file out of it then upload and rename it to .htaccess.
 *  Anonymous User 9105421
 * (@anonymized-9105421)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/lost-website-after-relocation/#post-3298812)
 * The message in settings > permalinks stays, thats no problem, thats same with
   me.
 * I believe you are on a Mac computer, on Mac files that start with ‘.’ like .htaccess
   are hidden files, perhaps that is why you not see it.
 * Does Mac has a option to show hidden (system) files?
 *  Thread Starter [Oded Ben-Ami](https://wordpress.org/support/users/oded-ben-ami/)
 * (@oded-ben-ami)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/lost-website-after-relocation/#post-3298818)
 * I’m working with Cyberduck, (through a Mac) – I see the .htaccess file in the
   root directory, but I no longer see any .htaccess file in /wordpress. So it is
   not a visibility issue – the .htaccess file that was previously in /wordpress
   is no longer there.
 *  Anonymous User 9105421
 * (@anonymized-9105421)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/lost-website-after-relocation/#post-3298825)
 * OK i thought that you downloaded a copy to your computer.
 * I have no idea how it disappeared from /wordpress directory but its not needed
   there. So no problem when its gone now. You have the .htaccess that is needed
   in the root.
 * Perhaps you ‘cut’ the file instead of ‘copy’.
 *  Thread Starter [Oded Ben-Ami](https://wordpress.org/support/users/oded-ben-ami/)
 * (@oded-ben-ami)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/lost-website-after-relocation/#post-3298826)
 * I dragged/dropped the file – thinking – from past experience anyway, that it 
   copies.
    If you say it’s not needed in /wordpress anymore, so be it.
 * Thank you everyone for the prompt help – losing one’s website on a key-click 
   is an unpleasant experience. Thank you for “bringing me back to life”.
 * Happy Holidays y’all.

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/lost-website-after-relocation/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/lost-website-after-relocation/page/2/?output_format=md)

The topic ‘Lost website after relocation’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 17 replies
 * 4 participants
 * Last reply from: [Julian](https://wordpress.org/support/users/jm300/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/lost-website-after-relocation/page/2/#post-3298832)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
