Jump to content
TNG Community

Links don't work when integrated


teylleghin

Recommended Posts

Hi everyone,

I was quiet for a long time, because my website was working properly. But now I had to set up everything by scratch again, and I have some new issues.

I created a subdomain https://test.thieltg.es for testing everything, before doing it live.

There is wordpress installed in https://test.thieltg.es/wordpress and TNG v11 in https://test.thieltg.es/tng.

Both systems are working. Then I installed the wp integration plugin. On my wp-page https://test.thieltg.es/stammbaum/ it shows the TNG index.php correctly. But the links are not working. It always shows me the same page.

When I go directly through the TNG pages, everything works. If I change the adress manualy (e.g. from https://test.thieltg.es/tng/browsemedia.php?mediatypeID=headstones to https://test.thieltg.es/stammbaum/browsemedia.php?mediatypeID=headstones), it doesn't work either.

Has somebody an idea?

I imagine, that I had this issue some years ago, but I don't now the solution. I'm not able to compare my current setup to the old one.

Thanks for help and kind regards,

Andreas

 

Link to comment
Share on other sites

There was a similar post here a week or two ago - it seems like no matter what URL you try to access it is getting rewritten to be the index.php file for the site.

One question though - why doesn't

https://test.thieltg.es/wordpress/

redirect to 

https://test.thieltg.es/

Did you follow the instructions particularly Step 2 here

https://tng.lythgoes.net/wiki/index.php?title=Using_TNG_and_WordPress_with_the_tng-wordpress-plugin#WordPress

to move a copy of the index file out of WordPress to the site's root?

Roger

Link to comment
Share on other sites

Hi Roger,

Thanks for the hint. I read the other post.

I also followed the steps in https://tng.lythgoes.net/wiki/index.php?title=Using_TNG_and_WordPress_with_the_tng-wordpress-plugin#WordPress . But I don't know why  https://test.thieltg.es/wordpress/ is not redirect. Maybe something's wrong with the .htaccess. Currently I'm not able to log the rewrites. Both .htaccess files (root and wordpress folder) look like this:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

But this should be WP standard.

Do I need a rewrite rule for the tng folder?

__

Andreas

Link to comment
Share on other sites

Try changing the WordPress Permalink settings to some other setting, and then change them back again - this will force a rewrite of the WordPress part of the .htaccess file.

If you want to send me an eMail to rogerkiwi@aol.com with

1 - details to log in to your WordPress Admin area
2 - details to log in to your site by FTP
3 - details to log in to your TNG Admin

and I'll take a look and see if I can see something amiss.

Roger

Link to comment
Share on other sites

Hm..

I changed the permalink structure to numeric (not very pretty). Then it shows me the tng content with the links from the tng index.php above. And the headers are missing?! Just like in this post from rbirkey.

Changing it back to postname results in my first incident.

Although, you got mail :-D

__

Andreas

Link to comment
Share on other sites

I've sent back an eMail - things that were wrong most notable was the Genealogy URL - you had http but your site is using https and so none of the css files and js files were loading.

I also changed the Permalinks to Year and Month.

So now it's working, but you need to find a theme that supports wide page width.

Roger

Link to comment
Share on other sites

  • 1 month later...

I too am having problems with the WordPress plugin. When activated, I get a blank white screen on the genealogy page, and the login redirects back to the login page without ever logging in properly - this effectively disables access to the WordPress dashboard, so I have the plugin deactivated for now.

The domain I am working on is http://tobagofamilytree.com/. What steps should I take to troubleshoot this?

Thanks,

Bryan

Link to comment
Share on other sites

21 hours ago, bsl20b50 said:

I too am having problems with the WordPress plugin. When activated, I get a blank white screen on the genealogy page, and the login redirects back to the login page without ever logging in properly - this effectively disables access to the WordPress dashboard, so I have the plugin deactivated for now.

The major issue with the plugin since about TNG version 9 is that it won't work with the checkbox for Intergrated Logins checked - it throws a white page error if this box is checked.

@HeatherFeuer had a meta plugin that somehow worked around this - but I don't know of it's current status.

Roger

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...