Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

wordpress not displaying pages

Posted on 2012-04-02
1
Medium Priority
?
418 Views
Last Modified: 2012-04-03
I transferred my wp to a new host , now it is showing
"
Error 404 - Not found

Your browser can't find the document corresponding to the URL you typed in.
"

I have taken care of changing paths in db , i can see all pages in the wp-admin.

urgent, pls help.
0
Comment
Question by:codeoxygen
1 Comment
 
LVL 10

Accepted Solution

by:
Tobias earned 2000 total points
ID: 37795968
Dear,

You have only changed the path in the configuration or also on all posts ?

If not, redo :

UPDATE wp_options SET option_value = replace(option_value, 'http://www.old-site.com', 'http://www.new-site.com') WHERE option_name = 'home' OR option_name = 'siteurl';

UPDATE wp_posts SET guid = replace(guid, 'http://www.old-site.com','http://www.new-site.com');

UPDATE wp_posts SET post_content = replace(post_content, 'http://www.old-site.com', 'http://www.new-site.com');

Regards
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
It’s a season to be thankful, and we’re thankful for users like you who engage on site, solve technology problems, and network with others in the industry. What tech are we most thankful for? Keep reading.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
Suggested Courses

886 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question