We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

New Page | Forum

We The People United We Stand

How can I open an external webpage in oxwall.  I tried the below, but its not working.


I think my issue is in line 1.  Can someone clarify?  thxs


Requirements: text editor, FTP client or access to control panel.

  1. Create .html document with the content of your choice. For example, I have created .html document called “custom_page.html”.
  2. Upload the document to the directory where Oxwall is installed via FTP or control panel.
  3. Go to Oxwall's Admin Panel> Pages&Menus> Pages&Menus. Add a new page linking to External URL. Since my custom page is called “custom_page.html”, my URL will be http://mysitename.com/custom_page.html“. Once the page is added new menu item will appear on the front end of your site.
  4. Open .htaccess file located in the folder/directory where your Oxwall is installed. Use FTP client or control panel to access this place.
  5. Add following rewrite condition right before RewriteRule (.*) index.php line.

RewriteCond %{REQUEST_URI} !/custom_page\.html
dave Leader
dave Jun 22 '20

So if you are doing an internal page then you just add the page content to the manage page form and then just select local page.  There is no need to add to htaccess or create a page, the form creates the internal page for you.. and is included in the menu with the proper site css...


However if you want an actual external page such as oxwall.com then you use the external option and it will open that page in a new tab..


The htaccss edit is used to add custom files and folders for example lets say that you have this setup:


Oxwallsite1.com   --  this site has a custom html file

Oxwallsite2.com     --  this site does not


I want to use the html file from site1 and i do not want to copy it to site2 as i only want to edit 1 file.

 I add the htaccess code inside of the site1 htaccess file. This gives permission for that file to execute.

Then i call that html file from setting up an external page in site2... and it works..

The Forum post is edited by dave Jun 22 '20
We The People United We Stand

HEY DAVE,  Hope all is well with you and yours.


Ok when i add it to the pages as an external website and do not check open in a new window it still opens in a new window outside of oxwall.


If i use the local website it opens the website but does not show its content.


What am I doing wrong or not doing correctly?

We The People United We Stand
When you say a new tab you mean a new window?  I want it to open inside oxwall.
The Forum post is edited by We The People United We Stand Jun 23 '20
Senior Developer Leader
Senior Developer Jun 23 '20

You can add your html directly into this page without adding a new html file, or you can add an iframe to load an external URL. 

If you add html into this field and it doesn't show up, check if you have a ckeditor or any other editor working in your website, if so, that may be causing the problem to not adding the correct html, just deactivate it before adding your html into this field.






If you need to add PHP code, you can do it this way too, add the new url to the PHP file into the iframe and it will load inside your Oxwall website.


Senior Developer.

Senior Developer Leader
Senior Developer Jun 23 '20
If you can share screenshots of the same page that I did share, we can help you.


If you do it this way, you don't need to add files into the server, add your html inside the "content" field.


Senior Developer.

We The People United We Stand

Ok I did as you asked.



When I add



It is blank


The Forum post is edited by We The People United We Stand Dec 11 '20
We The People United We Stand
Ok i got it to work it only works with Https.  Is there a way to get it to work with Http?
dave Leader
dave Jun 23 '20
Glad you got it working, would it be easier to just force https ?  would that work for you
We The People United We Stand

Force https?  I do not want it to go to https.  The newpage set up only works with https.


I have a streaming service that does not work with https.

dave Leader
dave Jun 23 '20
are you sure you dont have https in your config file url at the top
Senior Developer Leader
Senior Developer Jun 23 '20
There is a missing " > "


This code should work, copy and paste it:


<iframe src="http://www.wethepeopletyrantwars.com" style="width:100%; height:1000px;"> </iframe>


Senior Developer.

The Forum post is edited by Senior Developer Jun 23 '20
Senior Developer Leader
Senior Developer Jun 23 '20
But I think you just need to copy the html from that page and paste it in this field instead of using a iframe, it would work better.


If you paste the code and it does not work, maybe there is something in the HTML code that needs to be fixed.


Senior Developer.

We The People United We Stand

When I just use the web address, all it show is the text of the web address.


All It will show is https://www.oxwall.com

The Forum post is edited by We The People United We Stand Jun 23 '20
We The People United We Stand
when I enter it like this


It is blank.  It will only work with https. even with oxwall.com

The Forum post is edited by We The People United We Stand Dec 11 '20
dave Leader
dave Jun 23 '20

from stackoverflow..


Note: While this solution may have worked in some browsers when it was written in 2014, it no longer works. Navigating or redirecting to an HTTP URL in an iframe embedded in an HTTPS page is not permitted by modern browsers, even if the frame started out with an HTTPS URL.

The best solution I created is to simply use google as the ssl proxy...

https://stackoverflow.com/questions/18327314/how-to-allow-http-content-within-an-iframe-on-a-https-site


its the 3rd answer 135 votes


We The People United We Stand

Hay Dave tried it and it doesn't seem to work any longer.  Also in the comments it states it will not work with chrome.


thanks for the tip anyway.

dave Leader
dave Jun 26 '20