I am learning wordpress, I think I have installed it according to the installation instructions, but the result is 404
Download wordpress (ok)
Create a database for WordPress on your web server, and also create a MySQL user with all permissions to enter and modify. (ok?)
Rename the wp-config-sample.php file to wp-config.php.(ok)
Open wp-config.php with your favorite text editor and fill in your database information.(ok?)
Put the WordPress folder on your server where you want to put it(ok?)
Visit wp-admin/install.php in your favorite browser to launch the installer(404)
Why?
Are you using web server to run wordpress site (ex:xampp, wamp v...). Are you change directory of variable DocumentRoot and Directory in httpd.conf point to wordpress directory?
Related
I downloaded the Wordpress Site via FTP, but I can't access in wp-admin, homepage...
If I create a test.html file, show page Blank.
WP_DEBUG is set to TRUE, but not returns a error.
I rename the theme folder, and the plugins folder, but nothing happen, blank page.
If in the index.php file I add this code die(Hello World!); show message, so, it's access to index.php.
It's only happen in localhost, in the production environment it's works fine.
Any solution?
You can follow these steps to get started.
Download the wp-content folder from FTP
Export your MySQL database.(You can find DB name from wp-config.php)
install new WordPress on local
replace the wp-content with your downloaded wp-content
Drop all tables of new WordPress and import your downloaded database on local.
update website URL from wp-option table
update table prefix in wp-config.php file
Now your ready to access the live website on local.
Once you login the website updates the permalinks. I know this process is long but there is no way you get error.
Happy Migration
I can Fix this.
The problem is in the file wp-load.php, I replace this file with another versiĆ³n wordpress.
I'm a complete noob with wordpress and i'm trying to install it on my server.
I'm following the instructions on this site but when I get to step 5 and I go to the http://example.com/direct-admin/install.php I get this error:
Not Found
The requested URL /wp-admin/install.php was not found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
In my folder 'example.com', located in the 'domains' folder, I started with only stats and logs folders. The first time I added the Wordpress files in the 'example.com' folder.
I tried adding a public_html folder and putting the Wordpress files in the public_html folder but that didn't work either.
How can I install wordpress on my website?
What server are you using? There are several ways of installing WordPress, I would strongly recommend using the WordPress CLI to install WordPress. All you have to do is follow these steps:
Download the WordPress CLI using these five steps.
Use now the CLI to download WordPress:
$ wp core download
Create the wp-config.php file
$ wp core config --dbname="your_db_name" --dbuser="your_db_user" --dbpass="your_db_password"
And then you can put your website URL in your browser and continue following the wizard, WordPress will ask you what site name, username and password do you want to use.
If you're having trouble setting up a wordpress installation and you're getting 404 errors or "apache is function normally" then it's possible that your DNS/server settings aren't correct, this was my error.
First try creating a .html file with a simple text editor by copying the html markup below into a new file and then save it as index.html
<!DOCTYPE html>
<html>
<body>
<h1>My First Heading<h1/>
<p>My first paragraph.</p>
</body>
</html>
</code></pre>
And upload that to your server.
If you're still having errors you know it's not the wordpress installation that causes these but it's your server settings.
You should:
check if you are putting it in the right folder (like f.e. public_html)
make sure that your DNS configuration is correct
Check this answer for more information on how to setup your server to view a simple .html file.
I'm using WAMP to try and make a local copy of a rather large wordpress site.
After some struggle with the database i moved all the files from the ftp: to my www/ wamp folder.
Now when i try to open the pages i get:
localhost is currently unable to handle this request.
HTTP ERROR 500
BUT i can open my localhost/wp-admin and see my wordpress dashboard.
Generally, it can happen for many reasons but you can debug it step by step!
Check .htaccess file.
Delete this file or replace it with a fresh one!
Some plugins like wp-cache alters .htaccess file to achieve its purpose. So updating this file may solve your problem.
Update Permalinks to default from WordPress settings.
Replace all WordPress files with fresh WordPress files except wp-content folder. you need to update database again.
Set another theme and check if works and again set your default theme. Sometimes theme also causes this error!
I have a wordpress website on my WAMP server, which I made as a project in Netbeans IDE. Everything was working fine untill I changed the name of my PHP project from 'stickpeg' to 'portfolio'. Now when I try to run my project by clicking the green arrow on the menu tab, it displays me a page saying...
Not Found
The requested URL /wordpress/ was not found on this server.
Apache/2.4.9 (Win64) PHP/5.5.12 Server at localhost Port 80
I'm thinking that the error is something to do with my NetBeansProjects folder, as it's not in my wamp folder at all, but in my documents folder! Plus, the project folder in the NetBeansProjects folder is called 'portfolio', which has 3 other folders inside it called config, public_html and test, which are all empty.
Please help, I just want to be able to see my wordpress website running in my browser again.
You have to put the files in the htdocs directory. Apache (e.g. your WAMP server) can't find the files, since there are in the My Documents folder.
Just move the directory wordpress to C:\wamp\htdocs\wordpress (for example).
Never mind. Sorted it out. Apparently I had to change the Site Address URL and WordPress Address (URL) and then go into netbean's project properties -> run configuration and change the project url.
I am having a wordpress site on my local server on LAMP. and had a virtual host himalaya.com
I have a link himalaya.com/ganga I want to know how this link searches for the required file from the wordpress directory (himalaya.com).
In the respose headers i found some link himalaya.com/?p=763 and when i opened it, it shows the same link as himalaya.com
Then i tried to search for the file ?p=763, but there is no such file in the directory himalaya.com. So I am confused how apache is getting the file.