One option is /var/www/wordpress and put everything (for both websites) in there. Alternatively, I could put two subdirectories under wordpress (one for each site), or I could have two subdirectories under /var/www (one for each site) in which case I dont know where to install wordpress.
Finally, during installation, I do not believe that multisite is an option and that multisite can’t be setup until after installation. If that’s not true, and there is an option to choose multisite during installation, please let me know.
Any help would be greatly appreciated.
]]>Though, I’m using a block editor theme (Twenty Twenty Three) on the local install (I’m going to switch themes on the live site later).
The error message in Site health:
REST API-endepunkt: https://localhost/xxxx/wp-json/wp/v2/types/post?context=edit
REST API-respons: (404) Not Found
I tried to google for solutions, but couldn’t find anything to that worked. I’ve ruled out:
So I guess it has something to do with my setup (LAMP with Manjaro Linux). I found a post where someone changed the configuration for the web directory in Apache (DocumentRoot) to “AllowOverride All”, but that didn’t help. I also tried to change permissions for .htaccess, but that didn’t help either.
Anyone who can help?
]]>I have hosted WordPress on a Local Server with VirtualMin.
I would like to know if there any recommended settings where I can optimize WordPress performance, make it much more faster, especially for the Administration Panel. I use Woocommerce and sometimes I have to change a lot of products and WordPress becomes slow.
The Local Server also has a dedicated Internet Connection at around 1 Gbit Full Duplex (Internet Speed)
By settings I mean, settings like:
-Maximum PHP script run time
-PHP script execution mode (CGI Wrapper, FCGID, FPM, etc)
-Recommended PHP version
-Post Size in MBs
-Maximum memory allocation
-Maximum file upload size
-Maximum input parsing time
-Maximum HTTP POST size
-Maximum execution time
Thanks a lot
]]>I am trying to connect to a wordpress blog that is running on a RaspberryPi from the internet. I don’t yet have a domain or a dyndns service. From my admittedly basic understanding of the internet this should be possible regardless. (I understand that as soon as the ISP changes my ip address i have to connect to a new one but this is just a test setup) I have installed a typical lamp stack following one of the many identical tutorials and I can reach the wordpress site from the local network using http:my.local.ip.address
I have configured port forwarding in the router of port 80 to the static local raspberry IP address.
(I think portforwarding works because when I call something like this https://my.global.ip.adress/somemadeupsubdir I get a Not found message generated by the apache server on the raspberry. so the router must have forwarded the request.)
The problem, I think, is that because I do not have a domain, wordpress points to my local ip as WordPress Address (URL) and Site Address (URL) i.e https://192.168.x.x
so when i connect from the internet (by typing https://myip.igot.from.myisp), the browser arrives at the router, gets forwarded to the raspberry pi and then tries to load that local ip (192.168.x.x), which is of course is not possible because that computer isn’t in the local network.
I have tried modifying the wp-config.php file in multiple permutations of local and global ip and others and also tried to change etc/hosts file to make an address like site.local point to localhost on the pi and to the global ip on the connecting computer all to no avail. when I connect via the internet it goes looking for that 192.168.x.x address and after a while times out. In the address bar it actually then shows the local ip….
I tried to google this basically the whole day but haven’t found the solution yet. Could it be a weird non standard function of the router or something?
Am I trying to do something impossible or intensely stupid? Does WordPress only work with a registered domain? What am I not getting?
Thanks a lot for helping a newbie along if possible.
Sven
]]>I tried to work with developer and opened a support case, but then he stopped responding.
Why would I buy the PRO version? So developer can just disappear and not answer support cases?
]]>It appears like the address below:
https://35.225.65.226/wp-content/uploads/2020/03/Futura-Bold-font.ttf
as compared to:
https://yellowgreenservices.com/wp-content/uploads/2020/03/Futura-Bold-font.ttf
How can I fix this? Thank you
]]>I have recently decided to turn off my hosting services and get a local server up and running on my own.
Running Ubuntu 20.04 LTS Server
LAMP
Wordpress 5.4.1
PHPMYADMIN
So everything went well up to the part where I copied and moved my files from the hosting service and tried to get the site back up. The testing all works for apache, mysql, phpmyadmin etc.
I’ve even been able to get bits and pieces of the site to load different ways and experience different errors each direction.
I have an SSL certificate and I think this maybe the BIG ISSUE here???
So I can type in my site https://simplystitchez.com and it loads GREAT right ? well then I click on Account to login – then its BROKE!!
Not Found
The requested URL was not found on this server
Apache/ 2.4.41 (Ubuntu) Server at simplystitchez.com port 443
If I try to go to nonsecure (this was kinda working I’ve broke it more)
simplystitchez.com – it loads the default apache page
Any help is greatly appreciated from all the really smart folks out there
I’ve loaded and changed default-ssl.conf, wordpress.conf
I’ve uploaded the SSL certificate to the server and loaded those settings to the SSL file above.
I’ve created a user/database on mysql – granted permissions to the database name in which I imported.
I’ve granted permissions to the www-data chown -R command
I’ve changed the etc/hosts file to reflect the local ip and the site name
secure/nonsecure with WWW and without
I’ve attempted to do something with a file called .htaccess its in the documentroot directory with the rest of the html / wordpress / php stuff
Thanks again
]]>Again, same thing when I tried it on Window s and WAMP. On the WAMP I tried messing with Virtual Hosts which didn’t solve it and I prefer not to for simplicity sake get involve with virtual hosts, just simplest necessary configs. So if you followed me here, how do I solve this? Thanks.
]]>Apache seems to be working
service apache2 status
● apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2020-05-08 14:26:24 IST; 3min 5s ago
Docs: https://httpd.apache.org/docs/2.4/
Process: 14530 ExecStart=/usr/sbin/apachectl start (code=exited, status=0/SUCCESS)
Main PID: 14534 (apache2)
Tasks: 6 (limit: 4915)
Memory: 13.6M
CGroup: /system.slice/apache2.service
├─14534 /usr/sbin/apache2 -k start
├─14535 /usr/sbin/apache2 -k start
├─14536 /usr/sbin/apache2 -k start
├─14537 /usr/sbin/apache2 -k start
├─14538 /usr/sbin/apache2 -k start
└─14539 /usr/sbin/apache2 -k start
May 08 14:26:24 dara-HP-Pavilion-Notebook-15-bc5xxx systemd[1]: Starting The Apache HTTP Server...
May 08 14:26:24 dara-HP-Pavilion-Notebook-15-bc5xxx apachectl[14530]: AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directi
May 08 14:26:24 dara-HP-Pavilion-Notebook-15-bc5xxx systemd[1]: Started The Apache HTTP Server.
mysqld is listening on port 3306, or at least something is listening on 3306. I have bind_address = 127.0.0.1 in the mysql conf file …
ss -ln | grep 3306
dara@dara-HP-Pavilion-Notebook-15-bc5xxx:/var/log/apache2$ ss -ln | grep 3306
tcp LISTEN 0 128 127.0.0.1:3306 0.0.0.0:*
tcp LISTEN 0 70 *:33060 *:*
I have the wordpress site enabled on apache …
dara@dara-HP-Pavilion-Notebook-15-bc5xxx:/var/log/apache2$ sudo a2ensite mysite
Site mysite already enabled
The error log for apache2 shows nothing … same for the access log
dara@dara-HP-Pavilion-Notebook-15-bc5xxx:/var/log/apache2$ tail error.log
[Fri May 08 12:26:06.911405 2020] [mpm_prefork:notice] [pid 935] AH00163: Apache/2.4.41 (Ubuntu) configured -- resuming normal operations
[Fri May 08 12:26:06.911448 2020] [core:notice] [pid 935] AH00094: Command line: '/usr/sbin/apache2'
[Fri May 08 14:26:24.225766 2020] [mpm_prefork:notice] [pid 935] AH00169: caught SIGTERM, shutting down
[Fri May 08 14:26:24.277930 2020] [mpm_prefork:notice] [pid 14534] AH00163: Apache/2.4.41 (Ubuntu) configured -- resuming normal operations
[Fri May 08 14:26:24.277965 2020] [core:notice] [pid 14534] AH00094: Command line: '/usr/sbin/apache2'
I know php is running because I can access the page localhost/wp-admin/install.php
Already Installed
You appear to have already installed WordPress. To reinstall please clear your old database tables first.
But the root index.php gives me
This site can’t be reached localhost refused to connect.
Try:
Checking the connection
Checking the proxy and the firewall
ERR_CONNECTION_REFUSED
installed phpmyadmin successfully but can’t access anything at localhost/phpmyadmin either
sort of running out of ideas …
Thanks in advance
]]>