PvanAchterberg Posted August 30, 2020 Report Share Posted August 30, 2020 I did follow the steps as mentioned in this guide. I have 2 sub folders: I have the following diagnostics: see image attached: Aantekening 2020-08-30 200509.png I followed all the steps and when I open the adress https://www.paulvanachterberg.nl/genealogie/ it leaves all blank. I also added the TNG pugin options. See the image TNG Plugin options. I also added Site Design and Definition. See the image Desing and setting. Any ideas what I might have missed? Quote Link to comment Share on other sites More sharing options...
theKiwi Posted August 31, 2020 Report Share Posted August 31, 2020 Have you tried a different theme? Have you changed the permalink settings to something that isn't the default? If so, try changing them to something else and then back to what you had - this will force a rewrite of the contents of the .htaccess file. Try unchecking the "Replace TNG Home page with WordPress page" option. Have you tried deactivating all of the installed plugins? Something else seems to be wrong too - once I'm at the empty page of https://www.paulvanachterberg.nl/genealogie/ and then try to view say https://www.paulvanachterberg.nl/genealogie/surnames.php it redirects back to https://www.paulvanachterberg.nl/genealogie/ same for trying https://www.paulvanachterberg.nl/genealogie/places.php What is causing this redirect? Interestingly this one https://www.paulvanachterberg.nl/genealogie/browsemedia.php?mediatypeID=photos does load "a" page (not the right one) but the URL is rewritten to https://www.paulvanachterberg.nl/genealogie/?mediatypeID=photos So something is rewriting your URLs that shouldn't be. Roger Quote Link to comment Share on other sites More sharing options...
PvanAchterberg Posted September 1, 2020 Author Report Share Posted September 1, 2020 Hi Roger, Thank you for your tips. Unchecking the box did the trick. I still need to customize some things, because it doesn't look pretty. The other hints I need to look after. Thank you! Best regards, Paul Quote Link to comment Share on other sites More sharing options...
PvanAchterberg Posted September 1, 2020 Author Report Share Posted September 1, 2020 On 8/31/2020 at 4:21 PM, theKiwi said: So something is rewriting your URLs that shouldn't be. I have been trying some options. When I moved my wordpress installation to a sub folder the htacces was changed to: <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{HTTP_HOST} ^(www.)?paulvanachterberg.nl$ RewriteCond %{REQUEST_URI} !^/wp/ RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /wp/$1 RewriteCond %{HTTP_HOST} ^(www.)?paulvanachterberg.nl$ RewriteRule ^(/)?$ wp/index.php [L] </IfModule> This isn't a copy of the htacces file in de sub folder: # BEGIN WordPress # De richtlijnen (regels) tussen `BEGIN WordPress` and `END WordPress` worden # dynamisch aangemaakt en zouden enkel aangepast mogen worden via WordPress filters. # Elke wijziging aan deze richtlijnen tussen deze markeringen worden overschreven. <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] </IfModule> # END WordPress There are 700 more rules of code, but they disappear when I turn off my security plugin. When I do so the website is still working, but nog the genealogy page. When I add the index.php to the root my site is not reachable. I tried different thems. When I deactivate all my plugins my site isnt working anymore. So something should be there but I don't know where to look. Quote Link to comment Share on other sites More sharing options...
theKiwi Posted September 3, 2020 Report Share Posted September 3, 2020 Try removing this blocks of code from all of the .htaccess files you can find and then go to WordPress Admin. I think at that point it offers to fix the .htaccess file - see which one it fixes - that will tell you which one is in effect - certainly there should be only one, not multiple ones. Roger Quote Link to comment Share on other sites More sharing options...
PvanAchterberg Posted September 19, 2020 Author Report Share Posted September 19, 2020 Hi there Roger, I am experiencing a lot of troubles trying to make Wordpress work with TNG. And I can't find what I am doing wrong. I registered a new domain: familievanachterberg.eu to have a fresh clean start. I even have chosen the advertised provider on the TNG website. I did a new Wordpress install in the wp folder as instructed. I did a new install of TNG which is working. Except not in Wordpress. I have attached new screen shots of my setting as well the code from the .htaccess files and index files. Hopefully you can give me more insight. Quote Link to comment Share on other sites More sharing options...
fluffy82 Posted September 19, 2020 Report Share Posted September 19, 2020 I never succeeded in making the plugin work either. I started using the "Kloosterman method", have you ever considered that? It looks overwhelming to get it right, but it's actually really easy. Once everything installed, it works like a charm. Quote Link to comment Share on other sites More sharing options...
klooster Posted September 20, 2020 Report Share Posted September 20, 2020 If you are interested, read my WP-TNG integration instructions here: How I made my WP_TNG website Quote Link to comment Share on other sites More sharing options...
theKiwi Posted September 20, 2020 Report Share Posted September 20, 2020 On 9/19/2020 at 4:34 PM, PvanAchterberg said: Hi there Roger, I am experiencing a lot of troubles trying to make Wordpress work with TNG. And I can't find what I am doing wrong. I registered a new domain: familievanachterberg.eu to have a fresh clean start. I even have chosen the advertised provider on the TNG website. I did a new Wordpress install in the wp folder as instructed. I did a new install of TNG which is working. Except not in Wordpress. I have attached new screen shots of my setting as well the code from the .htaccess files and index files. Hopefully you can give me more insight. You should only need one .htaccess file - the one in the wp directory is redundant I think. If you want me to take a look send an eMail to rogerkiwi@aol.com containing FTP loginID and password WordPress Admin loginID and password TNG Admin loginID and password. Roger Quote Link to comment Share on other sites More sharing options...
theKiwi Posted September 20, 2020 Report Share Posted September 20, 2020 Actually I just took a look at your home page, and see that TNG is actually almost working on the "sample page" page. So make sure that you've identified the correct page for TNG to appear on in the WordPress Admin ------> TNG screen - to tell it TNG is to appear on genealogie not on sample-page Roger Quote Link to comment Share on other sites More sharing options...
PvanAchterberg Posted September 21, 2020 Author Report Share Posted September 21, 2020 23 hours ago, klooster said: If you are interested, read my WP-TNG integration instructions here: How I made my WP_TNG website Your website looks really nice. I will have look into that. Quote Link to comment Share on other sites More sharing options...
PvanAchterberg Posted September 21, 2020 Author Report Share Posted September 21, 2020 6 hours ago, theKiwi said: Actually I just took a look at your home page, and see that TNG is actually almost working on the "sample page" page. So make sure that you've identified the correct page for TNG to appear on in the WordPress Admin ------> TNG screen - to tell it TNG is to appear on genealogie not on sample-page Roger That was not correct indeed. So it appears to be working now? The only thing left is to customize the page. I will have another into that. Quote Link to comment Share on other sites More sharing options...
PvanAchterberg Posted September 21, 2020 Author Report Share Posted September 21, 2020 I want to thank everyone for helping me out. Today I tried the Kloosteman method and it finally worked on my wordpress site. Many many thanks. Now it's time to focus on getting everything nice. Best regards, Paul Quote Link to comment Share on other sites More sharing options...
Steepv Posted March 31, 2021 Report Share Posted March 31, 2021 I am also trying to get the plugin working - I have had a little success (thanks Roger, I missed that tick in the box about the home page twice!) I have a multisite as my main site, so to try and isolate the issue I have made a sub- site - http://nfopstest.dands.uk/. Wordpress is installed in the root and TNG in a subdirectory called "TNG". I now have the main page with the menu displaying on my /tng-test page (progress :-)) If I search for a surname that I know is in the database "Allen" I get the page with the expected 3 entries listed If I click on one of the names I get returned to the /tng-test page If I choose one of the menu items (say "surnames") then I am immediately returned to the main page As a comparison I have added a link directly to the menu to the surnames.php page, but that works as expected - takes me to the non-Wordpress page with the normal TNG surname lists page. Any advice would be much appreciated Quote Link to comment Share on other sites More sharing options...
theKiwi Posted March 31, 2021 Report Share Posted March 31, 2021 4 hours ago, Steepv said: I am also trying to get the plugin working - I have had a little success (thanks Roger, I missed that tick in the box about the home page twice!) I have a multisite as my main site, so to try and isolate the issue I have made a sub- site - http://nfopstest.dands.uk/. Wordpress is installed in the root and TNG in a subdirectory called "TNG". I now have the main page with the menu displaying on my /tng-test page (progress :-)) If I search for a surname that I know is in the database "Allen" I get the page with the expected 3 entries listed If I click on one of the names I get returned to the /tng-test page If I choose one of the menu items (say "surnames") then I am immediately returned to the main page As a comparison I have added a link directly to the menu to the surnames.php page, but that works as expected - takes me to the non-Wordpress page with the normal TNG surname lists page. Any advice would be much appreciated I've seen this problem before, but of course can't remember what the fix turned out to be. Things to check... What is the Genealogy URL set in TNG Admin ------> Setup ------> Site Design and Definition? Is the path to the TNG files identified correctly in WordPress Admin ------> TNG? Do you have one of the recommended permalink settings chosen in WordPress Admin ------> Permalinks? Change the setting, Save it, and then change it again back to what it was if you do have the recommended setting - that will force a rewrite of the .htacess file that might be causing a problem. Roger Quote Link to comment Share on other sites More sharing options...
Steepv Posted April 1, 2021 Report Share Posted April 1, 2021 Thanks Roger - I hadn't checked the genealogy setting in TNG (it was set correctly) However I think I may have spotted my schoolboy error. I have confused the two solutions (plugin and Kloosterman) and a very important difference in the setup (doh!). I should have installed WordPress in it's own directory whereas I have it in the root. I will re-install the test site following the instructions more carefully.... Quote Link to comment Share on other sites More sharing options...
theKiwi Posted April 1, 2021 Report Share Posted April 1, 2021 3 hours ago, Steepv said: However I think I may have spotted my schoolboy error. I have confused the two solutions (plugin and Kloosterman) and a very important difference in the setup (doh!). I should have installed WordPress in it's own directory whereas I have it in the root. Yes - I don't know if that's a critical part of this or not - I've always had the wp and tng directories "parallel" so don't know if when it doesn't work that is a factor or not. Roger Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.