Title: HT Access file
Last modified: August 30, 2016

---

# HT Access file

 *  [mcaravaglia](https://wordpress.org/support/users/mcaravaglia/)
 * (@mcaravaglia)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/ht-access-file-1/)
 * I am trying to learn to successfully move a website to a new server and change
   the URL to a new domain. While there are a number of plugins that claim to be
   able to seamlessly do this, I have yet to find one that works with a modestly
   large site. The website I am trying to move is approaching one Gigabyte and the
   4 plugins I tried all failed.
 * I have manually moved a test site (angiecaravalia.com) and the home page comes
   up perfectly (almost). Unfortunately, if you click on any posts, page links, 
   etc. the result is a 404 page not found error. Someone told me the HT Access 
   file is missing and/or corrupt, so I removed and recreated it as a basic wordpress
   HT Access file, but the result it the same.
 * If anyone has any insight into what I may be overlooking, I would be most appreciative.
   Thank you.

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

 *  [Axel13](https://wordpress.org/support/users/axel13/)
 * (@axel13)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/ht-access-file-1/#post-6224713)
 * Hey mcaravaglia, have you tried to [debug](https://codex.wordpress.org/Editing_wp-config.php#Debug),
   or to [allow repair of the database](https://codex.wordpress.org/Editing_wp-config.php#Automatic_Database_Optimizing)?
   
   GL!
 *  Thread Starter [mcaravaglia](https://wordpress.org/support/users/mcaravaglia/)
 * (@mcaravaglia)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/ht-access-file-1/#post-6224719)
 * Thank you for responding Axel. I am unable to log into the WordPress Admin Page,
   because I get the same 404 error when I try to go to [http://angiecaravaglia/wp-admin](http://angiecaravaglia/wp-admin).
   Other than the home page, not one link works.
 * About the only thing I can do is access the Cpanel, but I cannot find anything
   wrong and the htaccess file is present in the root folder.
 *  [Axel13](https://wordpress.org/support/users/axel13/)
 * (@axel13)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/ht-access-file-1/#post-6224770)
 * You’re welcome, mcaravaglia. I see you did not manage to solve this yet. Still
   I think allowing WordPress to repair your database could help. You do not need
   to access wp-admin for this. It can be done with [CPanel’s File Manager](https://documentation.cpanel.net/display/ALD/File+Manager)
   or with an FTP-program like [FileZilla](https://filezilla-project.org/).
 * 01. Open the folder where your WordPress is installed.
    02. Download “wp-config.
   php” to your computer. 03. Open “wp-config.php” in a text editor, f.ex. Notepad,
   [Notepad++](https://notepad-plus-plus.org/) (Windows) or [Sublime Text](http://www.sublimetext.com/)(
   Mac) 04. Scroll down to where you see: “/* That’s all, stop editing! Happy blogging.*/”
   05. Paste the following before that line: `define( 'WP_ALLOW_REPAIR', true );`
   06. Save. 07. Upload it to the folder where WordPress is installed (overwriting
   the old). 08. Visit [http://angiecaravaglia/wp-admin/maint/repair.php](http://angiecaravaglia/wp-admin/maint/repair.php)
 * You should see a screen with the WordPress logo, 2 buttons and some explanation.
 * 09. Click “Repair and optimise database”.
    10. In wp-config.php replace the ‘
   true’ in define( ‘WP_ALLOW_REPAIR’, true ); with ‘false’ or delete the entire
   line. 11. Upload it again.
 * Hopefully this will solve the problem. It’s most likely a database issue, but
   if data is completely missing, WordPress cannot repair it.
 *  Thread Starter [mcaravaglia](https://wordpress.org/support/users/mcaravaglia/)
 * (@mcaravaglia)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/ht-access-file-1/#post-6224777)
 * Thank you again Axel. I have done as you suggested and the problem still persists.
   I assume something is missing and I will need to look elsewhere for the solution.
 *  [Axel13](https://wordpress.org/support/users/axel13/)
 * (@axel13)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/ht-access-file-1/#post-6224781)
 * I find it weird that your wp-admin is not available. Since you say that you changed
   the URL, perhaps it would help to login to phpMyAdmin and search for the old 
   domain name. You can find phpMyAdmin in CPanel and the search is in the upper
   menu.

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

The topic ‘HT Access file’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 2 participants
 * Last reply from: [Axel13](https://wordpress.org/support/users/axel13/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/ht-access-file-1/#post-6224781)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
