Skip Navigation

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 12:00 – 14:00 12:00 – 14:00 12:00 – 14:00 12:00 – 14:00 12:00 – 14:00 -
- 17:00 – 21:00 17:00 – 21:00 17:00 – 21:00 17:00 – 21:00 17:00 – 21:00 -

Supporter timezone: Europe/Vienna (GMT+02:00)

This topic contains 1 reply, has 2 voices.

Last updated by Bigul 1 year, 10 months ago.

Assisted by: Bigul.

Author Posts
July 12, 2023 at 8:42 pm #14028193

marie-hélène Archambault

I'M always getting 404 error on the site. In my hosting, I'm getting this error message. WPML say that my REST API is not activate... but seems to be.
How can I fix that ?

2023-07-12 15:39:38.280631 [INFO] [21819] [T0] [162.158.126.194:39772:HTTP2-19#APVH_www.societegalion.com:443] File not found [/home/societegalion/domains/societegalion.com/private_html/en/index.php]

2023-07-12 15:39:38.280660 [INFO] [21819] [T0] [162.158.126.194:39772:HTTP2-19#APVH_www.societegalion.com:443] File not found [/home/societegalion/domains/societegalion.com/private_html/404.shtml]

2023-07-12 15:40:17.037581 [INFO] [21819] [T0] [162.158.126.151:11664:HTTP2-3#APVH_www.societegalion.com:443] File not found

July 13, 2023 at 9:03 am #14030075

Bigul
WPML Supporter since 01/2013

Languages: English (English )

Timezone: Europe/Vienna (GMT+02:00)

Hello,

Welcome to the WPML support forum. I will do my best to help you to resolve the issue.

As per the debug information, the REST API is enabled. Please visit WPML>>Support>>WordPress section to make sure it is.

Please visit Settings>>Permalinks and resave the settings. Then check whether the issue is existing or not.

If the issue exists, please share with us the WordPress debug.log(not WPML debug information) for collecting more details on this. Refer to the following pages for instructions

https://wpml.org/documentation/support/debugging-wpml/

https://wordpress.org/documentation/article/debugging-in-wordpress/

To enable the WordPress Debug log, open your wp-config.php file of site root and look for define('WP_DEBUG', false);. Change it to:

// Enable WP_DEBUG mode
define( 'WP_DEBUG', true );
 
// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );
 
// Disable display of errors and warnings 
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );

In this case, the errors will be saved to a debug.log log file inside the */wp-content/* directory. Please do the steps to reproduce the bug and check if you are getting any errors or warnings related to WPML in the log file.

If you can paste your debug.log to http://pastebin.com/index.php and provide me that link it would be great! (This is the cleanest way because sometimes the logs are long and create a complete mess of discussion).

--
Thanks!

Bigul

The topic ‘[Closed] Error 404’ is closed to new replies.