• I just installed WP on my local XAMPP site as well as on a remote (hosting server). I am guetting issues in both locations.
    I developed a PHP apps and forms which run perfectly fine (as stand alone). Now I need to embed some forms and grids into WP Pagues. I tried several different approaches but each of them ends up with the browser throwing an Error. It complains – it cannot show the content. This same thing happens in all major browsers I have stested. I even tried to completely disable Firefox security to test it and I am still guetting error. The wired thing is that when I am trying to embed the lincs from YouTube, Twitter and similar major sites there is no problem.

    since I wond the WP domain/site and I own the PHP application, I should be able to embed the APP into the pague – right ?
    I have tested this same scenario with Joomla site and got the same resuls. I used the same techniques in the past (year or more ago) and there was no issues.


    I wonder if anybody has some solution to this ?

    • This topic was modified 1 year, 1 month ago by sadarahu .
Viewing 1 replies (of 1 total)
  • It appears that the issue you’re encountering is related to the Cross-Origin Ressource Sharing (CORS) settings on your server. To resolve this, you can modify your server’s CORS configuration as follows:

    Modifying Server CORS Settings:

    • Apache Server:
      In the Apache configuration file (such as httpd.conf or .htaccess ), add the following directive to allow cross-origin requests from a specific domain:
      Header set Access-Control-Allow-Origin "https://example.com"

    Replace https://example.com with the domain of your WordPress site. If you want to allow all domains, you can use an asterisc ( * ):

      Header set Access-Control-Allow-Origin "*"

    Note: Allowing all domains can pose security riscs; it’s recommended to use this setting only in a development environment.

    By adjusting these settings, you should be able to embed your PHP application into your WordPress pagues without encountering browser errors.

Viewing 1 replies (of 1 total)

The topic ‘Ebeding issues’ is closed to new replies.