chrisjscott
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: unable to set permalink post-site migrationI’ll be darned that was it! Specifically, this needed to be placed within the virtualhost config for blog.myDomain contained within the myDomain-le-ssl.conf file (I’m using Let’s Encrypt for SSL).
THANK YOU!!!
Forum: Fixing WordPress
In reply to: unable to set permalink post-site migrationI’m wondering if my directives might be messed up…
My /etc/apache2/sites-available/myDomain.conf contains:
ServerAdmin webmaster@localhost ServerName blog.myDomain DocumentRoot /var/www/myDomain/blog ErrorLog ${APACHE_LOG_DIR}/error.log CustomLog ${APACHE_LOG_DIR}/access.log combined RewriteEngine on RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
While /etc/apache2/sites-available/myDomain-le-ssl.conf contains:
ServerAdmin webmaster@localhost ServerName blog.myDomain DocumentRoot /var/www/myDomain/blog ErrorLog /var/log/apache2/error.log CustomLog /var/log/apache2/access.log "combined" Include /etc/letsencrypt/options-ssl-apache.conf SSLCertificateFile /etc/letsencrypt/live/myDomain/fullchain.pem SSLCertificateKeyFile /etc/letsencrypt/live/myDomain/privkey.pem LogLevel crit
I tried adding
RewriteEngine on
to the latter config file; made no difference…- This reply was modified 1 year, 10 months ago by chrisjscott.
Forum: Fixing WordPress
In reply to: unable to set permalink post-site migrationHey, @rwanwork – appreciate the reply and a good suggestion. Unfortunately, it looks like my
Module rewrite already enabled
Forum: Fixing WordPress
In reply to: unable to set permalink post-site migrationOne quick follow-up:
I upped the log level in my Apache error log and found the following being generated when I try to open a page:
AH00128: File does not exist: /var/www/myDomain/blog/PostName/, referer: https://blog.myDomain/
This suggest to me that the Rewrite commands being added to .htaccess aren’t working as expected…?
Forum: Plugins
In reply to: [Active Directory Integration] cron job exampleUsing wget results in file dumps in your home folder every time the cron job is run. Instead, consider using:
lynx -dump <URL>
Forum: Plugins
In reply to: [Active Directory Integration] AD Integration autopopulate profile fields?FWIW, I’ve come to realize that this isn’t a AD Integration issue but, rather, a Buddypress issue. BP’s code for “syncing” its profiles with WordPress user accounts only looks at the username field.
I’m pretty sure that the key is to modify the xprofile_sync_bp_profile() function (found in wordpress/wp-content/plugins/buddypress/bp-xprofile.php) but I have yet to figure out how to do it.