Results 1 to 8 of 8

Thread: How to insert a new page?

  1. #1
    Join Date
    Aug 2006
    Posts
    19

    Default How to insert a new page?

    I want to insert a new page, called "imprint". So I need a imprint.php and a imprint.html.

    How does the imprint.php have to look like?

  2. #2
    Join Date
    Nov 2004
    Posts
    1,822

    Default

    Quote Originally Posted by enrico View Post
    I want to insert a new page, called "imprint". So I need a imprint.php and a imprint.html.

    How does the imprint.php have to look like?
    nope, if your using any version from 5.1 > 5.3 then you can look in your tempaltes folder and find one page called custom_page_template.html. use this as a template to create your new page. Once you have finished save and upload it. If you called it imprint.html then link to

    www.yourdomain.com/page.php?id=imprint
    Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )

  3. #3
    Join Date
    Aug 2006
    Posts
    19

    Default

    works
    Thanks a lot!

  4. #4
    Join Date
    Sep 2005
    Location
    Poland - Warsaw
    Posts
    342

    Default

    Do I need to modify .htaccess to make such link SEO Friendly ?

  5. #5
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,732

    Default

    Yes. But in admin panel you can easily change the url pattern. Go to admin panel > option > mod-rewrite

  6. #6
    Join Date
    May 2004
    Location
    New Zealand
    Posts
    600

    Default

    Quote Originally Posted by dody View Post
    Yes. But in admin panel you can easily change the url pattern. Go to admin panel > option > mod-rewrite

    Dody does that work for even custom pages?

  7. #7
    Join Date
    Aug 2001
    Location
    Indonesia
    Posts
    3,732

    Default

    For the custom page you need to change .htaccess manually. In nicecoder.com we use the following codes

    Code:
    RewriteRule ^products.html page.php?id=products
    RewriteRule ^custom.html page.php?id=custom
    RewriteRule ^order.html page.php?id=order
    RewriteRule ^contact.html page.php?id=contact
    RewriteRule ^download.html page.php?id=download
    RewriteRule ^overview.html page.php?id=overview
    RewriteRule ^features.html page.php?id=features
    RewriteRule ^demo.html page.php?id=demo
    RewriteRule ^premium-templates.html page.php?id=premium-templates
    RewriteRule ^MODs-and-AddOn.html page.php?id=MODs-and-AddOn

  8. #8
    Join Date
    May 2004
    Location
    New Zealand
    Posts
    600

    Default

    Quote Originally Posted by dody View Post
    For the custom page you need to change .htaccess manually. In nicecoder.com we use the following codes

    Code:
    RewriteRule ^products.html page.php?id=products
    RewriteRule ^custom.html page.php?id=custom
    RewriteRule ^order.html page.php?id=order
    RewriteRule ^contact.html page.php?id=contact
    RewriteRule ^download.html page.php?id=download
    RewriteRule ^overview.html page.php?id=overview
    RewriteRule ^features.html page.php?id=features
    RewriteRule ^demo.html page.php?id=demo
    RewriteRule ^premium-templates.html page.php?id=premium-templates
    RewriteRule ^MODs-and-AddOn.html page.php?id=MODs-and-AddOn
    Is there no way to take the word after the id= and the put that in front of the .html... like a wildcard?

    also another question.. can the custom pages have underscores in their file name?

    so that it would be.... for example page.php?id=indexu_v10_features
    if we could some how combine those two features i think it would work well

Similar Threads

  1. Direct insert to MYSQL
    By linksor.com in forum Pre-Sales Questions
    Replies: 3
    Last Post: 05-26-2006, 11:42 AM
  2. Insert Flash contents???
    By cabesoul in forum Tutorials, Hints & Tips
    Replies: 7
    Last Post: 04-30-2006, 01:23 AM
  3. insert tabel in mysql
    By landuyt in forum v3.2
    Replies: 7
    Last Post: 10-18-2005, 09:11 AM
  4. How do i edit add link insert
    By morgankd in forum v5.x
    Replies: 2
    Last Post: 02-17-2005, 03:31 PM
  5. Insert ads between links
    By esm in forum v3.2
    Replies: 31
    Last Post: 09-16-2003, 10:22 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •