Page of "http://localhost/wordpress/" gives Error "404" for install of Wordpress.
I did following steps from https://premium.wpmudev.org/blog/setting-up-xampp/?npl=b&utm_expid=3606929-89.qobzZlXrS1uV61bna13Vlw.1&utm_referrer=https%3A%2F%2Fwww.google.com%2F#ref site: "1.These lines of code define the login details for your database:
2.Replace“database_name_here” with the name of your database, which in my case is “WP” Replace “username_here” with “root” and leave “password_here” blank 3.Save the file and close it" But when i search "localhost/wp" in Browser gives Error 404.
Can you help me?
Thanks.
Page open with click on the "Admin" button according to the following foto:
if you are using xampp then url could be http://localhost/wp. Try this open xampp control panel then start the apache server and mysql, after doing this you can check if http://localhost gives any error, and there is wp or wordpress folder xampp htdocs. Then go to http://localhost/wp or http://localhost/wordpress.
Related
error :The server does not have ImageMagick or GD installed and/or enabled! Any of these libraries are required for WordPress to be able to resize images. Please contact your server administrator to enable this before continuing.
please tell me if you know this problem
Open xampp control panel.
Start apache and mysql.
Click on config option of apache.
Click on php.ini and open it.
Press Ctrl+F and search "extension=" or "extension=fileinfo".
On the next line to "extension=fileinfo", add "extension=gd".
Save the file.
Stop apache and restart it.
in some cases there is "extension=gd" already given. but commented with a ";". You need the romove the ";" to uncomment it. Then your problem should be solved.
I'm having problems removing pages from a fresh Silverstripe installation (version 4.2.1).
What I'm doing is:
Press batch action
Select the page I want to remove
Choose "Unpublish and archive" in the dropdown
Press go button
The result is a popup saying "Internal Server error".
I have tested this on multiple installations with the same error.
It is probably something wrong with my setup (I'm using MAMP 4.5).
But viewing the logs doesn't reveal any problems. I have checked the following logs:
apache_error.log
mysql_error.log
php_error.log
I have also set the SS_ENVIRONMENT_TYPE = "dev" in .env file.
Is there somewhere else where I can get a more explaining error message so I can find out what the problem is?
This is a bug in Silverstripe: https://github.com/silverstripe/silverstripe-admin/issues/579
I copied my wordress site to an AWS instance. My home page is working fine, but the pages are not working properly. It is giving me a 404 error.
Not Found
The requested URL /some-page/ was not found on this server.
Apache/2.2.31 (Amazon) Server at example.com Port 80
Does anyone know why this is?
There can be multiple reasons,
First check if the site is copied properly, compare the size of the website on both source and AWS.
Check if the permissions are same as source.
Check the error logs, u can share logs
I have found the solution to my problem. In case it will help someone, here it is.
By default the Allowoveride is set to None.
1) Open /etc/httpd/conf/httpd.conf
2) Locate "AllowOverride None" inside ''
3) Change "AllowOverride None" to "AllowOverride All"
4) Restart apache server
I have this site and I need to test it out locally to see if there is an issue with my php settings, anyways I tried to navigate to localhost with the port number localhost:portnumber
and that worked fine, but then I tried to navigate to my site localhost:portnumber/mysite and I get a 404 error and the in the the address i navigate to changes to localhost:portnumber/mysite
Why is this happening and what can I do to fix it?
Thanks
Because you are getting a 404 error, your server seems to be running but make sure the server is the one you have setup.
1st, have you tried using a simple html file? example: blabla.html on root, and typing: localhost:portnumber/blabla.html
If this is working, that means your server is running fine, you can also try with an Hello world php file if you wish.
In the case of wordpress, there is sometime a .htaccess file that uses url rewrite and it may remove your port number, you could try to test with a clean wordpress install first.
I just migrated a Drupal site from a ISP
to a dedicated Linux CentOS server.
MySQL Database is configured and generates front page without error.
Problem is that only the home page works.
All other pages show "404 Page Not Found Error".
So mysite.com/ works
but mySite.com/node/1 does not work.
I checked some obvious places:
LoadModule rewrite_module modules/mod_rewrite.so
is enabled in httpd.conf
Any ideas?
I've had this happen before. It could be because your new Linux Centos OS server isn't configured for clean URLs yet.
Try to access the site as follows. To login:
http://example.com/?q=user/login
Login as admin and submit the form. You'll get access denied 404 page again after submission but still login.
Now manually type and go to http://example.com/?q=admin/settings/clean-urls
On this page turn off clean-urls and save and you should be able to access your site normally on the new server. Just configure it for clean-urls and then turn it back on when it's ready.
thanks Kevin,
mysite.com/?q=node/1? gives me a 404.
.htaccess was indeed missing. I copied in a generic version from a
vanilla install into root directory (same directory as index.html) and this does not help.
(I don't have access to old site. We did not modify .htaccess - so I assume vanilla copy will do)
Another possibility: If it's a new server, make sure that Apache has mod_rewrite installed. Happened to me.
If you have drupal 7 or higher use this for the clean-url config page:
mysite.com/?q=admin/config/search/clean-urls
Check to see that the .htaccess file made it through the migration. Usually the culprit here. Can you get to mysite.com/?q=node/1?