[html module] how to make a neat url... and more pages.?

gangavalli
gangavalli's picture

Joined: 2006-03-18
Posts: 20
Posted: Wed, 2006-03-29 00:17

I have a few questions on this html page module...:
http://gallery.menalto.com/node/28570?from=50#comment-174305

Lets say this is my page: http://www.mydomain.com/main.php?g2_view=html.HtmlPage
how do i make this to "http://www.mydomain.com/about" or "http://www.mydomain.com/about.php"
or can i create a about.php page and simply show http://www.mydomain.com/main.php?g2_view=html.HtmlPage where the url remain the same. i mean without redirecting..!
My intension us having a searching friendly URL and easy to read url.
Please let me know how this can be done.

if the above is impossible now, atleastl; http://www.mydomain.com/main.php?g2_view=info.about

And also, how can i create more static pages? i have read other posts in the forum about this, but i couldnt create another page except the default page which came along with the module.

To me, html pages are important and also the URLs. will be waiting to try this again.

 
mindless
mindless's picture

Joined: 2004-01-04
Posts: 8601
Posted: Wed, 2006-03-29 02:49

Make as many *.inc files with matching templates/*.tpl files in modules/html as you like. The module just comes with one as an example.
To change the URLs, download the Updates module from User Contributions.. this is a good example of a simple rewrite rule (in module.inc). You can do the same to define a rewrite rule for your page, then activate it in URL Rewrite site admin.