Title: HTAccess error
Last modified: April 14, 2019

---

# HTAccess error

 *  Resolved [meadows19](https://wordpress.org/support/users/meadows19/)
 * (@meadows19)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/htaccess-error-7/)
 * Just installed this plugin and cloned my site for the first time.
 * I cloned site id 2 into site id 3.
 * If I go to site id 2 or 3 in the dashboard, I see this error:
 * `Warning: file_get_contents(/url_removed/.htaccess): failed to open stream: No
   such file or directory in /url_removed/ns-cloner-site-copier/templates/ns-template-
   preemptive-warnings.php on line 26`
 * `It appears that you have a non-standard (possibly incorrect) .htaccess file 
   for a multisite install. Cloned sites will not work if rewrites are not configured
   correctly. Please check the recommended htaccess settings here and make sure 
   your .htaccess file matches.`
 * Site id 1 (which I didn’t clone) has no error.

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

 *  Thread Starter [meadows19](https://wordpress.org/support/users/meadows19/)
 * (@meadows19)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/htaccess-error-7/#post-11427885)
 * I’m using subfolders for multiuser, and WP is installed in a subdirectory.
 * so:
    example.com/wp <– main blog example.com/wp/site2/ <– side id 2 example.com/
   wp/site3/ <– side id 3
 *  Plugin Author [Never Settle](https://wordpress.org/support/users/neversettle/)
 * (@neversettle)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/htaccess-error-7/#post-11430429)
 * Hi there!
 * Is everything still functioning correctly when you clone? Sometimes that warning
   can hit with a false positive that can be cause by a variety of factors. For 
   example some hosts automatically adjust permissions to folders / files on a schedule
   which can interfere with proper detection. Migrations can also happen behind 
   the scenes on a host which can change things in the background that affect how
   the detection works.
 * If everything is still working ok, you can safely ignore the warning.
 * Best,
    NS
 *  Thread Starter [meadows19](https://wordpress.org/support/users/meadows19/)
 * (@meadows19)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/htaccess-error-7/#post-11430464)
 * Hello
 * Thanks for your reply.
 * Everything seems to be working okay.
 * Is there anything I can check specifically to diagnose if there is a problem?
   Like check permissions for any file?
 * I’m pretty sure its not to do with the host, since I’m running on a droplet on
   Digitalocean, so they don’t manage it at all.
 *  Plugin Author [Never Settle](https://wordpress.org/support/users/neversettle/)
 * (@neversettle)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/htaccess-error-7/#post-11430591)
 * It’s possible you just need to scrub your .htaccess file to make sure everything
   is setup properly.
 * [https://codex.wordpress.org/htaccess#Multisite](https://codex.wordpress.org/htaccess#Multisite)
 *  Thread Starter [meadows19](https://wordpress.org/support/users/meadows19/)
 * (@meadows19)
 * [7 years, 1 month ago](https://wordpress.org/support/topic/htaccess-error-7/#post-11430657)
 * Thanks for the link.
 * My htaccess ( from the `# BEGIN WordPress` to the `# END WordPress`) is exactly
   the same as the example in that link, except for the line:
 * `RewriteBase /`
 * which on mine is
 * `RewriteBase /wpinstalldirectory/`
 * and also on mine, all of it is between these tage:
 *     ```
       <IfModule mod_rewrite.c>
       code as on the linked page
       </IfModule>
       ```
   
 * So the htaccess looks fine.
    In that case, I’m still confused about what error
   the plugin is picking up.

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

The topic ‘HTAccess error’ is closed to new replies.

 * ![](https://ps.w.org/ns-cloner-site-copier/assets/icon-256x256.gif?rev=2323308)
 * [NS Cloner - Site Copier](https://wordpress.org/plugins/ns-cloner-site-copier/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ns-cloner-site-copier/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ns-cloner-site-copier/)
 * [Active Topics](https://wordpress.org/support/plugin/ns-cloner-site-copier/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ns-cloner-site-copier/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ns-cloner-site-copier/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [meadows19](https://wordpress.org/support/users/meadows19/)
 * Last activity: [7 years, 1 month ago](https://wordpress.org/support/topic/htaccess-error-7/#post-11430657)
 * Status: resolved