Title: Permalinks problem after moving wordpress
Last modified: August 24, 2016

---

# Permalinks problem after moving wordpress

 *  Resolved [oRonnyo](https://wordpress.org/support/users/oronnyo/)
 * (@oronnyo)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/permalinks-problem-after-moving-wordpress/)
 * Greetings Experts,
 * I recently did a transfer of a WordPress website, before doing so, I read multiple
   articles about the topic, and watched numerous tutorials. The HTML and CSS moved
   fine, its the linking to pages in the navigation menu and linking to images in
   the homepage slideshow gallery that i’m having trouble with. Also, the back-end
   WordPress login to website doesn’t work, it redirects to a blank page. I noticed
   in my wp-options in phpmyadmin the blog url & site url are set to “[http://example.com&#8221](http://example.com&#8221);
   and when i correct the values, they always revert back to “[http://example.com&#8221](http://example.com&#8221);
   why is that? I tried calling godaddy support and they have no clue either.
 * Website link: [http://jtsi.net/](http://jtsi.net/)

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

 *  [chrispink](https://wordpress.org/support/users/chrispink/)
 * (@chrispink)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/permalinks-problem-after-moving-wordpress/#post-6160150)
 * Use this SQL query in phpMyAdmin, it will change all references in posts as well
   as the site. Do it as the first thing you do when you move a site.
 *     ```
       UPDATE wp_options SET option_value = replace(option_value, 'http://oldsite.com', 'http://newsite.com') WHERE option_name = 'home' OR option_name = 'siteurl';
   
       UPDATE wp_posts SET guid = replace(guid, 'http://oldsite.com','http://newsite.com');
   
       UPDATE wp_posts SET post_content = replace(post_content, 'http://oldsite.com', 'http://newsite.com');
   
       UPDATE wp_postmeta SET meta_value = replace(meta_value, 'http://oldsite.com', 'http://newsite.com');
       ```
   
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [10 years, 11 months ago](https://wordpress.org/support/topic/permalinks-problem-after-moving-wordpress/#post-6160162)
 * Give this a read, it’s a little more comprehensive.
 * [http://codex.wordpress.org/Moving_WordPress#Changing_Your_Domain_Name_and_URLs](http://codex.wordpress.org/Moving_WordPress#Changing_Your_Domain_Name_and_URLs)
 * Make sure you have a full file and database backup off of your webserver before
   you try this.
 *  Thread Starter [oRonnyo](https://wordpress.org/support/users/oronnyo/)
 * (@oronnyo)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/permalinks-problem-after-moving-wordpress/#post-6160228)
 * Update:
 * Still no fix. I’ve tried the query & even a search and replace on the DB SQL 
   file [@chrispink](https://wordpress.org/support/users/chrispink/).
 * Thanks for the link, I did it step by step but my permalinks still seem to be
   broken [@jandembowski](https://wordpress.org/support/users/jandembowski/)
 *  [chrispink](https://wordpress.org/support/users/chrispink/)
 * (@chrispink)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/permalinks-problem-after-moving-wordpress/#post-6160230)
 * even?!! that’s the standard technique for moving the site.
 * does the site work with pretty permalinks turned off ? ie /?p=123? and have you
   deleted the .htaccess file before remaking it with the permalink settings? do
   you have any language plugins? these can mess with permalinks.
 *  Thread Starter [oRonnyo](https://wordpress.org/support/users/oronnyo/)
 * (@oronnyo)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/permalinks-problem-after-moving-wordpress/#post-6160279)
 * [@chrispink](https://wordpress.org/support/users/chrispink/),
 * No I haven’t messed with .htacess file, and how do i turn off pretty permalinks
   when i cant access the /wp-admin of my website.
 *  Thread Starter [oRonnyo](https://wordpress.org/support/users/oronnyo/)
 * (@oronnyo)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/permalinks-problem-after-moving-wordpress/#post-6160285)
 * All is well, I have fixed the problem. Thank you all for your help.
 *  [rickdickinson](https://wordpress.org/support/users/rickdickinson/)
 * (@rickdickinson)
 * [10 years, 11 months ago](https://wordpress.org/support/topic/permalinks-problem-after-moving-wordpress/#post-6160419)
 * How did you fix it?

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

The topic ‘Permalinks problem after moving wordpress’ is closed to new replies.

## Tags

 * [moving](https://wordpress.org/support/topic-tag/moving/)
 * [pages](https://wordpress.org/support/topic-tag/pages/)
 * [permalinks](https://wordpress.org/support/topic-tag/permalinks/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 4 participants
 * Last reply from: [rickdickinson](https://wordpress.org/support/users/rickdickinson/)
 * Last activity: [10 years, 11 months ago](https://wordpress.org/support/topic/permalinks-problem-after-moving-wordpress/#post-6160419)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
