Hello guys,
I trie create a new static page test.html in the template folder.
I open the link http://mypage.com/?op=test but it redirects me to index.
Is there any option to create a new static page like faq.html?
I need the header and footer same as main.html.
Thank you
XFileSharing Pro - add custom page - same footer header
Yes you can ...
Go to ( .htaccess ) in public_html ... open it by any text editor and add the following code in a new line :
The new page should work now ...
Go to ( .htaccess ) in public_html ... open it by any text editor and add the following code in a new line :
Code: Select all
RewriteRule ^test\.html$
/cgi-bin/index.cgi?op=page&tmpl=test [L]
you welcome ...isset1988 wrote:Thank you Steve!
I did that and is working.
which page ?isset1988 wrote: Now, when i edit the upload_form.html and other files, and upload them to the server, the page remain as before. I dont see the changes of any document.
Any help?
It's better if you edit the files online, by FTP or Cpanel ... but if you prefer to download them, then editing, then uploading them again, make sure you replace them with the old ones ...
If the change didn't appear ... make sure to clear the cache of your browser then open the filehost again ...
The test page working on link www.my-page.com/test.html
when i download another html file from template folder and upload/replace this to server, i cant see the changes.
Maybe something goes wrong in my htaccess.
when i download another html file from template folder and upload/replace this to server, i cant see the changes.
Maybe something goes wrong in my htaccess.
That's good ...isset1988 wrote:i make the upload/replace the file via cpanel and now working.
when i upload the file from ftp nothing change in my browser.
Thanks Again!
You are very helpful!
FTP is usually better than Cpanel for uploading/downloading files/folders to/from the filehost .... but Cpanel is better for the live editing of pages ...