I moved my wordpress site from local host to a live server. The problem is that all links from my nav won’t work as the home button.
live site url: http://iulian.cablevision.ro
broken link example: http://iulian.cablevision.ro/about/
this is the error that i get:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, root@localhost 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.
Apache/2.2.27 (CentOS) Server at iulian.cablevision.ro Port 80
I tried to use the a comand in SQL on my database to update urls:
UPDATE wp_posts SET post_content = REPLACE(post_content, 'localhost/wordpres/', 'www.iulian.cablevision.ro/');
And I also tried to use the Velvet Blues pluginbut that didn’t work as well… Is the another way to manipulate the database so my links will work properly?
I folowed the tutorial from http://www.wpbeginner.com/wp-tutorials/how-to-move-wordpress-from-local-server-to-live-site/ but seams to not work for me… Wher is my mistake?
first go to files and rename the htaccess file and then check your live site .it will help you surely.and if you have any issue regarding please descibe in detail
For fixing all links after database migration, I use this tool. After downloading, rename folder for example searchandreplace, add this folder to the root of WP site, access it http://www.yoursite.com/searchandreplace, and then enter the old site name and in replace input write your new one, but be sure that they both use same convention wording, if you write old site name http://www.oldsite.com, then new one should be http://www.newsite.com too, not http://* or something else added. Hope this helps if the problem still persists.
Your old server is not only in the
WP_POSTS
table, but also in other tables. See here how to move your wordpress site:http://codex.wordpress.org/Moving_WordPress
First you need a .htaccess if you are using permalink other than default structure copy from here
Now that you have .htaccess try this
I finaly found the solution. It was the .htacces file the problem… The first mistake I did was that when I was uploading the .htacces file to the server it uploaded as simpe .txt file and the conversion to htacces file type didn’t turn. So what I did:
After that my links worked flawless.
Thanks for the suport you guys gave me btw.