amirassari2002
Forum Replies Created
-
the Yoast settings page lists all of my attributes (more than 300), leading to the save function not working properly due to the large size and length of the post request. It would be better if an option for individual indexing and no-indexing were available in the attribute edit function. On the settings page, only one selection should be available to enable/disable attribute display on the sitemap, similar to categories, etc.
Regards
- This reply was modified 2 years ago by amirassari2002. Reason: edit grammer
Example when ithemes restricted is active:
domain.com/wp-json/ : open
domain.com/wp-json/wp: restricted
domain.com/wp-json/wp/v2 : open
domain.com/wp-json/wp/v2/user: restrictedhowever if we use customized function to restrict api access it will restrict all w-json rest api path.
add_filter( 'rest_authentication_errors', function( $result ) { if ( true === $result || is_wp_error( $result ) ) { return $result; } if ( ! is_user_logged_in() ) { return new WP_Error( 'rest_not_logged_in', __( 'You are not currently logged in.' ), array( 'status' => 401 ) ); } return $result; });hi
i checked again
it seems routes are open and other sections are restricted.
such as domain.com/wp-json/wp/v2/ is open
domain.com/wp-json/wp/v2/ is restricted.
on old version all path related to wp-json was restricted. it’s changed on new versions?
hi @shalomt
main problem is here, on last version if user not logged in and restricted function is active, all info is shown and there is not below message:
{"code":"itsec_rest_api_access_restricted","message":"You do not have sufficient permission to access this endpoint. Access to REST API requests is restricted by iThemes Security settings.","data":{"status":401}}it seems restricted rest api function did not work in last version. you can test it simple. active restricted rest api and check domain.com/wp-json/wp/v2/users as guest user.
you will not get any 401 error.
Dear Shalom,
You mentioned that the published posts . published posts on the website are publicly available. However, the iThemes restricted feature limits this accessibility and displays the user IDs of the website’s authors and editors, which are not accessible to the general public.
To view the user IDs of the admins and authors on the website, you can go to domain.com/wp-json/wp/v2/users.
This endpoint will provide you with plenty of user id regarding the admins and authors.
Best regards.
Dear Shalom,
and what is Restricted api is doing? it seems all info is same as default rest api mode active.
Same problem…
Hi @mikes41720
is this being flagged by Google Search Console as having a different canonical or it being flagged as a different page? no. there is not problem on google now.
but may it happen and need to check and solve. all Persian slugs are lower cased saved on wordpress. its better that yoast seo output same slug that is saved on wordpress database.Dear Michael,
problem is clear! there is only one page.after page is open. copy url and paste it on new address bar. you will see that unocode characters are lower case.
yoast seo output canonical urls as upper-case incorrect.
if you input uppercase url you will see same output as lowercase url but this is wordpress behavior.problem is yoast canonical output. original url is lowercase. your output canonical as uppercase. why???
thankyou
Dear Michael,
url is on persian language (unicode)
after open the url, goto view source. find canonical tag and copy canonical URl.
paste canonical url on your browser addressbar and you see that converted canonical url is capitalized.converted to:
and othe thing that is better to solve is for redirect section. if you can change view of redirect urls on other languages. for example. persian slugs on redirect section shows as:
“%DA%A9%D8%B3%D8%A8-%D9%86%D8%AA%DB%8C%D8%AC%D9%87-%D8%A8%D9%87%D8%AA%D8%B1-%D8%AF%D8%B1-%D8%A7%D9%85%D8%AA%D8%AD%D8%A7%D9%86-%D8%A7%D8%AF%D8%A8%DB%8C%D8%A7%D8%AA-%D9%88-%D9%86%DA%AF%D8%A7%D8%B1%D8%B4/”
persian words are:
“کسب-نتیجه-بهتر-در-امتحان-ادبیات-و-نگارش”
Tahnkyou
Forum: Plugins
In reply to: [YITH WooCommerce PDF Invoice and Shipping List] RTL supportHi,
Is there new changes about RTL support?
could you use sugested fonts by “Increase SEO” ?thanks for your answer.
have a nice time…