By aaraj12 on
when I am creating new page in drupal, it shows the URl like : www.example.com/page1 . i am ok with this but I also want when I create another page, URl must be show like this : www.example.com/folder1/page2, means I want to save page2 in a folder1.How is it posssible in drual ??
Comments
There are no actual folders
There are no actual folders to put your content in. Drupal paths are just aliases, but they can look like folders. You can just set the path alias to 'folder1/page2' - it's that simple.
but path alias dose not accept "/"
but path alias dose not accept "/". how I give this...
front page
You mean that you want to have just '/' as the path, in other words, make this node your front page? Go to admin > site configuration > site information, fond the 'default front page' field and enter the path to the page you want to be the front page.
A mix of taxonomy, and
A mix of taxonomy, and pathauto modules might be what you need.
------------------------------------------------------------------------------------------------------------------------------------
Sergata - פיתוח תוכנה
Let's not make this more
Let's not make this more difficult than it is... both taxonomy and pathauto are extremely useful modules, but based on what aaraj12 told us, I think he doesn't need modules, he needs a good understanding of drupal paths.