I want to add another page. But when I placed the link into the main.html it didn't work.
I did this:
<li><a href="<TMPL_VAR site_url>/?op=new_page">New_Pag</a></li>
I uplaoded new_page.html to Templates folder.When I click on this link it just shows my website and the upload page.
Anyone can show me how to add a new page?
XFileSharing Pro - How to add a page?
hello,
first you need to put
put any .html pages in Templates/Pages/LANGUAGE/ folder and access them via URL: http://YOURSITE.com/pages/NEWPAGE.html where NEWPAGE.html is your file.
if you want to redirect http://YOURSITE.com/NEWPAGE.html
go to .htaccess in main server
RewriteRule ^NEWPAGE\.html$ /cgi-bin/index.cgi?op=page&tmpl=NEWPAGE [L]
first you need to put
put any .html pages in Templates/Pages/LANGUAGE/ folder and access them via URL: http://YOURSITE.com/pages/NEWPAGE.html where NEWPAGE.html is your file.
if you want to redirect http://YOURSITE.com/NEWPAGE.html
go to .htaccess in main server
RewriteRule ^NEWPAGE\.html$ /cgi-bin/index.cgi?op=page&tmpl=NEWPAGE [L]
Thanks will try this.
Edit: Works perfectly thanks for the guide.
Edit: Works perfectly thanks for the guide.
kunc86 wrote:hello,
first you need to put
put any .html pages in Templates/Pages/LANGUAGE/ folder and access them via URL: http://YOURSITE.com/pages/NEWPAGE.html where NEWPAGE.html is your file.
if you want to redirect http://YOURSITE.com/NEWPAGE.html
go to .htaccess in main server
RewriteRule ^NEWPAGE\.html$ /cgi-bin/index.cgi?op=page&tmpl=NEWPAGE [L]