uos-eee-maj
Forum Replies Created
-
AuthorPosts
-
We have managed to resolve this issue by removing the two statements that define the WordPress Address (URL) and Site Address (URL) in the wp-config file.
This has been resolved and can be closed now.
Thanks for your input.Our hosting company has been helping us with regards getting the SSL and https side of things working and this was achieved by amending the .htaccess file (adding a rewrite condition and rule) and wp-config file (switching https on).
The two fields that you mention in the WP dashboard (settings >> general) are locked and if you try to change them in the wp-config file via: define(‘WP_SITEURL’, ‘http://’ . $_SERVER[‘HTTP_HOST’] . ‘/’); changing to https:// then all pages throw a PHP error relating to geodirectory saying headers already sent.
RE: URL’s: As the site stands at the moment the GD listing page for example is generating the correct URL’s with https: prefix in the body. However the Map >> bubble window title is generating a URL with a http: prefix.
RE: Stylesheets – If you look at the source code generated (any page) you will see that most of the CSS links relating to the GD plugin are being correctly generated (see below).
<link rel=”stylesheet” id=”geodir-core-scss-css” href=”https://www.commnet.ac.uk/wp-content/plugins/geodirectory/geodirectory-assets/css/gd_core_frontend.css?ver=1.5.3″ type=”text/css” media=”all”>
<link rel=”stylesheet” id=”geodir-buddypress-style-css” href=”http://www.commnet.ac.uk/wp-content/plugins/geodir_buddypress/css/gdbuddypress-style.css?ver=1.0.7″ type=”text/css” media=”all”>
So as you can see the GD core style sheet has the correct prefix https: and it’s just the GD BuddyPress styleheet URL that is being incorrectly generated.
Both of these issues point towards it being a slight difference in the way these URL’s are being generated in the GD plugin codex.
Please advise and kind regards,
MarkIt was my bad! I thought I had added the new CPT there but when I checked back the “People” CPT was missing. I have just added and saved it and both links now appear.
Thanks for your help and sorry for wasting your time. -
AuthorPosts