Internal links not validating
-
Hi,
Internal links do not validate if front is on different domain than the wordpress admin.
I have my website on a domain like https://website.com and the wordpress on https://wp.website.com/wp-admin. When it validates doesn’t find any links, because they are on different domain.
I can see this on the JS codepublishpress-checklists-pro/vendor/publishpress/publishpress-checklists/modules/checklists/assets/js/meta-box.js:984 984: var count = PP_Checklists.extract_internal_links(content).length;
but the 3rd arg is not passed and always use the window.location.host
publishpress-checklists-pro/vendor/publishpress/publishpress-checklists/modules/checklists/assets/js/meta-box.js:456 456: extract_internal_links: function (content, links = [], website = window.location.host) {
Not sure on the backend what will do also.
Is there a workaround or a way of to use 2 different domains for the checking of internal links?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Internal links not validating’ is closed to new replies.