Title: Broken links
Last modified: August 22, 2016

---

# Broken links

 *  [Senior123](https://wordpress.org/support/users/senior123/)
 * (@senior123)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/broken-links-45/)
 * Hello,
 * I initially used xampp to design the web site locally before uploading it
    to
   [http://www.meganetsoft.com](http://www.meganetsoft.com)
 * The links are broken. Don’t know why? Only the home page appears.
 * Glad to have any pointers.
 * Best regards,

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

 *  [RossMitchell](https://wordpress.org/support/users/rossmitchell/)
 * (@rossmitchell)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/broken-links-45/#post-5655999)
 * You need to either upload or create the .htaccess file.
 * Most likely the .htaccess file will not be hosting specific, so you can just 
   upload it by FTP
    On the other hand, just login to your administration, then 
   Dashboard > Appearance > Permalinks, choose your permalink style and SAVE, this
   will create the .htaccess file.
 *  Thread Starter [Senior123](https://wordpress.org/support/users/senior123/)
 * (@senior123)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/broken-links-45/#post-5656224)
 * Hello,
 * Thank you for RossMitchell for your response.
 * First I uploaded the .htaccess file. No dice. Then I created a new one and uploaded
   it, still no dice. Wonder what I have done wrong. the home page works perfect,
   but all other pages wouldn’t display. It says ‘page not found’ pointing to the
   localhost ([http://localhost/meganetdb/clients](http://localhost/meganetdb/clients)).
 * Best regards,
 *  [RossMitchell](https://wordpress.org/support/users/rossmitchell/)
 * (@rossmitchell)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/broken-links-45/#post-5656250)
 * Did you follow the “moving WordPress” article ?
    [http://codex.wordpress.org/Moving_WordPress](http://codex.wordpress.org/Moving_WordPress)
 * Changing the site address and WordPress address has some complications, there
   is a plugin called DUPLICATOR which is highly recommended.
 *  [Brian](https://wordpress.org/support/users/briansteeleca/)
 * (@briansteeleca)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/broken-links-45/#post-5656253)
 * Hi Senior123,
 * This is how I move a locally developed WordPress site to a webhost – maybe it
   will be of some help to you:
 * The first step is to [**back up your database**](http://codex.wordpress.org/Backing_Up_Your_Database).
   You may as well backup all your files while you’re at it – just make a copy of
   the web site folder.
 * The next step (which I believe you’ve already done) is to [install WordPress](http://codex.wordpress.org/Installing_WordPress)
   on your web host.
 * Once you’ve created the database on your web host, you can use phpMyAdmin to 
   import the SQL file that you exported from your local database.
 * I then upload a tool called [Database Search And Replace Script In Php](https://interconnectit.com/products/search-and-replace-for-wordpress-databases/)
   so I can update the domain in the remote database. For example, if my local domain
   is example.local, I’ll replace **example.local** with **example.com**. I won’t
   go into details on how to use it because they’ve done an excellent job of that
   on their page. I’ve used it hundreds of times and never had a problem.
 * **Important:** After updating your database with the new domain name, always 
   go into your WordPress admin panel, then go to Settings > Permalinks and click
   the Save button to clear the cache, otherwise you’ll rip your hair out trying
   to figure out why your links aren’t working properly!
 * As long as you back things up first and know things can be restored to the initial
   state, you won’t have to worry about doing something wrong.
 *  Thread Starter [Senior123](https://wordpress.org/support/users/senior123/)
 * (@senior123)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/broken-links-45/#post-5656305)
 * Hello Guys,
 * Sorry for the late response. My network has been acting up lately.
 * Hi RossMitchell,
 * >>Did you follow the “moving WordPress” article ?
    [http://codex.wordpress.org/Moving_WordPress](http://codex.wordpress.org/Moving_WordPress)
 * Yes, I have. Gone through it before I uploaded the website. I have installed 
   the DUPLICATOR. I would use it to see how it goes.
 * Hi Brian,
 * I did pretty much the same thing, except backup my site before uploading.
 * Thank you and best regards,
 *  Thread Starter [Senior123](https://wordpress.org/support/users/senior123/)
 * (@senior123)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/broken-links-45/#post-5656306)
 * Hello,
 * I used DUPLICATOR like I said I would. In the process I created an empty folder
   called EMPTY. Now the links are all working but I would have go this way. [http://meganetsoft.com/Empty/](http://meganetsoft.com/Empty/)
 * I need to remove the EMPTY Folder so I could go to the site using:
 * [http://meganetsoft.com/](http://meganetsoft.com/)
 * Would copying the files in the EMPTY to my /public_html/ do the trick?
 * Best regards,
 *  [RossMitchell](https://wordpress.org/support/users/rossmitchell/)
 * (@rossmitchell)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/broken-links-45/#post-5656307)
 * Instead of moving the files you could use the technique “Giving WordPress its
   own directory”, this way you can hide the “Empty” from public view.
    [http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory](http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory)
 * OR you could do the “Moving WordPress” procedure again.
 *  Thread Starter [Senior123](https://wordpress.org/support/users/senior123/)
 * (@senior123)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/broken-links-45/#post-5656312)
 * Hello,
 * Thank you RossMitchell for your assistance.
 * Would take a look at that link.
 * Best regards,
 *  Thread Starter [Senior123](https://wordpress.org/support/users/senior123/)
 * (@senior123)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/broken-links-45/#post-5656318)
 * Hello,
 * Hi RossMitchell,
 * I used “Giving WordPress its own directory”.
 * I got the error.
 * Warning: require_once(/home/meganets/public_html/Wordpress/wp-content/plugins/
   contact-form-7/includes/functions.php): failed to open stream: No such file or
   directory in /home/meganets/public_html/Wordpress/wp-content/plugins/contact-
   form-7/settings.php on line 3
 * Fatal error: require_once(): Failed opening required ‘/home/meganets/public_html/
   Wordpress/wp-content/plugins/contact-form-7/includes/functions.php’ (include_path
   =’.:/usr/lib/php:/usr/local/lib/php’) in /home/meganets/public_html/Wordpress/
   wp-content/plugins/contact-form-7/settings.php on line 3
 * How do I fix this?
 * Best regards,
 *  Thread Starter [Senior123](https://wordpress.org/support/users/senior123/)
 * (@senior123)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/broken-links-45/#post-5656319)
 * I get the same error going to the:
 * [http://meganetsoft.com/wordpress/wp-admin/](http://meganetsoft.com/wordpress/wp-admin/)

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

The topic ‘Broken links’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 10 replies
 * 3 participants
 * Last reply from: [Senior123](https://wordpress.org/support/users/senior123/)
 * Last activity: [11 years, 5 months ago](https://wordpress.org/support/topic/broken-links-45/#post-5656319)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
