Skip to content
Advertisement

Broken links after moving wordpress site

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?

Advertisement

Answer

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:

  • crated a simple text document with no name and uploaded to server
  • after i uploaded the file i changed the name into .htacces so then the file conersion kicked in.

After that my links worked flawless. Thanks for the suport you guys gave me btw.

User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement