Pascal
Forum Replies Created
-
Forum: Plugins
In reply to: [Smart Slider 3] Smart Slider crashes on ipadthanks for your quick reply!
you are loading images with too big file sizes
I’ve reduced the size of the pictures and it works now
🙂
Forum: Installing WordPress
In reply to: give domain to local wordpressA summarize of the how to, to get WordPress on a server and a reverse proxy on another
(I didn’t do it so directly, but it should work like this)1/ Install a LAMP server with WordPress (lamp1) w/o ssl
2/ Create or import your site locally (lamp1)
3/ Set you domain to the reverse proxy with https (’web1.blabla.com’; port 443)
4/ On the reverse proxy set the destination to lamp1 with 80
5/ In WP rename all lamp1 to web1.blabla.com with a plugin like Search & Replace
At that stage except the web1.blabla.com should be in https, the site should work with a security issue (no valid certificate)6/ add this at the very start of your wp-config.php
define(‘FORCE_SSL_ADMIN’, true);
if ($_SERVER[‘HTTP_X_FORWARDED_PROTO’] == ‘https’)
$_SERVER[‘HTTPS’]=’on’;7/ add the following at the very end of your wp-config.php
define(‘WP_HOME’,’web1.blabla.com’);
define(‘WP_SITEURL’,’web1.blabla.com’);8/ with apache:
In /etc/apache2/sites-available, add your site configuration
web1.blabla.com.conf
with the line ServerName web1.blabla.comI added also in apache2.conf to avoid the following message, but don’t know if it’s the best practice
AH00558: apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1. Set the ‘ServerName’ directive globally to suppress this messagesudo a2ensite web1.blabla.com
sudo apache2ctl configtest
=> Syntax OK
systemctl reload apache2From
https://ww.wp.xz.cn/support/topic/issue-with-ssl-when-using-nginx-reverse-proxy/
And with the help of George 😊- This reply was modified 3 years, 6 months ago by Pascal.
Forum: Installing WordPress
In reply to: give domain to local wordpressGeorge, thanks again 🙂
Forum: Installing WordPress
In reply to: give domain to local wordpressA stupid question, as I’m not an html guy (I think you’ve already guess it!)
Is it normal to see the “public page’s HTML source” or do have I do something to secure my site?- This reply was modified 3 years, 6 months ago by Pascal.
Forum: Installing WordPress
In reply to: give domain to local wordpressThanks!
huge progress…
“Better Search and Replace” gave an error
I already had “Search & Replace” but I’ve used it bad before
I re did it no more lamp1wp
and it seems I’m got almost everything, except the menu
I’m going to do some checking…Forum: Installing WordPress
In reply to: give domain to local wordpressThanks George for your reply 🙂
I think I have no longer https://lamp1wp/ but I need to double check…
Where do you think I could have let one of those url?
Note that both WordPrss URL and Site URL must be publicly accessible on the Internet
ok, I have set https://atelier3.bris.fr/ for both
Forum: Installing WordPress
In reply to: give domain to local wordpresssome progress but 🙁
I can reach the site https://atelier3.bris.fr/
but it’s not beautiful 🙁
When I’m on a page https://atelier3.bris.fr/mon-atelier/
and I click Edit Page I go to a blank page
https://atelier3.bris.fr/wp-admin/post.php?post=103&action=edit
with a wrong link as if the Permalinks where lost
Most of the admin menu are not working: Site health, media (empty), Smart Slider (not longer my slider)- This reply was modified 3 years, 6 months ago by Pascal.
Hi @thelmachido
thanks for your reply
Yes it is better now even though I’d like to have the menu higherForum: Installing WordPress
In reply to: give domain to local wordpressthe address for the new site is
https://atelier3.bris.fr/
accessible
the reverse proxy give it to wp on the server and after wp set the local server name
So an errorForum: Installing WordPress
In reply to: give domain to local wordpressGeorge
thanks for your reply!
my answers“you want to point my.blabla.fr to your computer and host your website locally”
=> YES” you need to map my.blabla.fr to the public IP address of whatever server is hosting the WordPress website”
=> sure, already done for other app hosted locally
for instance here for the first version of my site https://atelier.bris.fr/
(on Synology, all integrated, not good response time, but that’s show I can map my domain name to a local server) and I had some issues when changing the domain name ☹
So I’ve done again my site on another server and want to map it with my domain nameI’m not sure it’s just a reverse proxy subject, do I have to do things on the WordPress config? I’ll do it on another domain name to see what happens w/o any change on WordPress
Forum: Installing WordPress
In reply to: give domain to local wordpressThanks Ritesh for your reply,
2 questions
`1. Upload your site files to the server (if its Cpanel then put all files in public_html directory)</blockquote>
Q1> If I have already the wp up and running on the target server do I have to create another one to do this 1. step?
<blockquote>4. upload this utility to the root directory (public_html) where it will ask for the database connection details and search url and replace url
For eg. search url will be your local url like http://localhost/demo
and replace url will be your server url like https://my.blabla.fr`Q2> if I change all the local url to the my.blabla.fr url, I’ll also change the “WordPress Address (URL)”. Do I have to understand that the “WordPress Address (URL)” is always on the web?
Forum: Installing WordPress
In reply to: give domain to local wordpressooop’s!!! too early this morning for me!
my mistake the site will be like my.blabla.fr
I should have written:
I have a wordpress installed locally (mylocalsite) and I’d like to put it on the web (my.blabla.fr)
Hi @zoonini
thanks for your answer.Have you edited the theme files directly?
=> NO!
– reinstalling a fresh copy of Twenty Twenty-One, and
– temporarily deactivating all your plugins?I was on a synology install.
I going to change to anotherMeanwhile, I have remove the line under the header so it’s better
- This reply was modified 3 years, 6 months ago by Pascal.