Server ip address not redirect to domain

Keywords: WordPress - AWS - Technical issue - Domain Name (DNS)

bndiagnostic ID: b416d4cc-ddd7-78ff-2138-454d9cd34b2f

bndiagnostic output:

? Apache: Found possible issues
? Wordpress: Found possible issues
https://docs.bitnami.com/general/apps/wordpress/troubleshooting/debug-errors-apache/

bndiagnostic failure reason: The documentation did not make any significant change

Description:
I read many documents on your forum. I found those 3 things i need to update pages. I updated everything but still having problem.

those examples are not redirect to domain:
http://xx.xxx.xxx.xxx/articles/wet-lab/12-future-trends-for-forensic-testing-labs//articles/manufacturing/supply-chain-disruptions-causing-companies-to-reshore-manufacturing-operations-back-to-usa/
https://xx.xxx.xxx.xxx/articles/wet-lab/12-future-trends-for-forensic-testing-labs/
http://xx.xxx.xxx.xxx/articles/wet-lab/nature-versus-plastic-a-view-from-the-science-lab/
https://xx.xxx.xxx.xxx/articles/workplace-bulletin/making-the-office-a-more-creative-place-to-work/

but some ips are redirect to domain properly.
https://xx.xxx.xxx.xxx/articles/manufacturing/how-manufacturing-companies-can-reduce-shipping-costs/

I have no idea why some of them works fine but most of others are not working. Could someone help me to redirect those ips to domain?

Hi @bayansuren,

You need to configure the WordPress domain:

https://docs.bitnami.com/installer/apps/wordpress/administration/configure-domain/

Regards,
Michiel

Its already in the wp-config file

define( ‘WP_HOME’, ‘https://example.com/’ );
define( ‘WP_SITEURL’, ‘https://example.com/’ );

I saw regular http://xxx.xxx.xxx.xxx and https://xxx.xxx.xxx.xxx ips address redirect to domain.
when there is sub category and post it does not redirect.

Hi @bayansuren,

What doe you mean with sub category? A subdomain? In any case I recommend asking in the official WordPress forum.

Regards,
Michiel

We dont have any sub domain. I was thinking about some categories redirect fine but most of them not.
its like those ip/articles/CATEGORY/POST-SLUG.

But I just checked some ip/articles/manufacturing/POST-slug but most of them are not redirect.

I want to force redirect when it includes ip address. I am thinking about my apache setup has to redirect them but not working. I have no idea how should I redirect them. Any advice?

Hi @bayansuren,

You need to change example.com to your actual domain.

Regards,
Michiel

thanks for the reply. actually its on my domain name. i was trying to protect my domain and gave the example.com

image

Hi @bayansuren,

Ok, I checked the bndiagnostic information and it was example.com there. In any case, I recommend asking in the official WordPress forum, the configuration seems ok. They might be able to help you better with this particular issue.

Regards,
Michiel

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.