How to set up URL Frame in cPanel
Url frame works similar to URL redirect except that instead of redirecting the visitor to your web page, the web page will be fetched from the other server and displayed in a frame. The difference is that after redirection, the browser's address bar will continue to display your domain name.
Unfortunately, there is no tool in cPanel which would automatically set up URL frame. However, you are still able to do that using certain HTML tags in your site index file.
The
Site Title
Site Title
NOTE 2: Both tags are used to frame static websites mostly. There is no way to guarantee a proper performance if you set URL frame for a non-static website.
To edit the index file for the domain, do the following:
3. Move to the document root option for your domain you need to set up URL frame for.
If it is the main domain for your hosting account, you need to go to public_html folder. If it is an addon domain, the folder will be public_html/addondomain.com.
We have public_html in our case:
4. Once you are in the root directory of your domain, create an index.html file by clicking on File :
5. Right-click on the file and select Edit:
6. Insert the code for setting up URL Frame and Save Changes:
That's it!
Unfortunately, there is no tool in cPanel which would automatically set up URL frame. However, you are still able to do that using certain HTML tags in your site index file.
The
To set up URL frame using this tag, insert the following code into your main index file and save the changes (make sure example.com is replaced with the destination domain and Site Title with the actual site name you wish to be displayed in the browser tab):
The element holds one or more elements, each element can hold a separate document, so there will be multiple pages fetched into your index page.
To set up URL frame using the tag, insert the following code into your main index file and save the changes (make sure example.com is replaced with the destination domain and Site Title with the actual site name you wish to be displayed in the browser tab):
NOTE 1: tags are not supported in HTML5. Starting from it, only
NOTE 2: Both tags are used to frame static websites mostly. There is no way to guarantee a proper performance if you set URL frame for a non-static website.
1. Log into cPanel.
2. Navigate to the section Files > File Manager menu:
3. Move to the document root option for your domain you need to set up URL frame for.
If it is the main domain for your hosting account, you need to go to public_html folder. If it is an addon domain, the folder will be public_html/addondomain.com.
We have public_html in our case:
4. Once you are in the root directory of your domain, create an index.html file by clicking on File :
5. Right-click on the file and select Edit:
6. Insert the code for setting up URL Frame and Save Changes:
That's it!
"Our guide will help you understand the underlying principles of WordPress optimization"
Rasalina Willamson
Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur Quis autem vel eum iure reprehenderit qui in ea voluptate velit esse quam nihil molestiae
Share this Post
Trusted By
900+
Client World wide
24x7x365
Professional Technical Support
Providing Cloud
Services
Since 2008
Network Uptime
99.9%
Server Uptime