webmasterpcsb
Forum Replies Created
-
Try this link: Permalinks
Here’s the screenshot:
permalink settingsAfter further investigation, it would appear that it might be a WordPress problem relaying the post name from the get_permalink() function. This would be the type of configuration we are trying to obtain:
$permalink1 = get_permalink( $post->ID ); $permalink1 = substr($permalink1, 0, strpos($permalink1, "?")) . $post->post_name; $message = str_replace( '[permalink]', $permalink1, $message );By editing the /includes/engine/class-bnfw-engine.php with the snippet above, the format we were trying to achieve works.
This is not the best way to do this. Do you have any recommendations?
I not sure if it would apply, but we are using a multi-site configuration for WordPress. We use a nginx web server and this is our current configuration:
server { listen 80; server_name subdomain.example.com www.subdomain.example.com; root /var/www/wordpress/public; index index.php; access_log /var/log/nginx/access.log; error_log /var/log/nginx/error.log; if (!-e $request_filename) { rewrite /wp-admin$ $scheme://$host$uri/ permanent; rewrite ^(/[^/]+)?(/wp-.*) $2 last; rewrite ^(/[^/]+)?(/.*\.php) $2 last; } location / { try_files $uri $uri/ /index.php?$args; } location ~ \.php$ { include snippets/fastcgi-php.conf; fastcgi_pass unix:/run/php/php7.0-fpm.sock; } }Is there any information that I can provide to verify this issue?
I will look into this. I’m not sure what it could be either.
I too would like to be notified of new releases but cannot figure out how/where to make that happen. I dont really understand the previous resolution.