By QuickGold on
I've just re-installed Drupal on my site and I tried to change the name of the 'node' to something else but it doesn't work.
Is it possible to change the name of the node to anything such as 'index' or what so ever so my address will become mysite.com/index/add instead of mysite.com/node/add?
Comments
---
investigate the path.module (part of core) & the pathauto.module available in the downloads area. After these are running, take a look at the help text in administer -> help for more instruction.
so I can only generate
so I can only generate alias? is it possible to change the name itself without using alias?
thanks,
QG
---
generating a url alias is how its done. pathauto helps automate this and provides batch conversion.
yes, you can do without path or pathauto alias
This is somewhere in the drupal handbooks and it works also for me ( tested in 4.7x )
Add the following code to your settings.php without the php closing or opening tags [ sites/default/settings.php ]
replace whatever_name_you_want_for_node with the name you want instead of node.
Best regards
---
neat trick, like a manual path.module rather than one controlled in the admin area.
thank you
Thank you so much :) This is what I'm looking for and it work on 5.1
wait a minute.. the main page work but not in the Administration Page. looks like there is something needed to be fix. But I don't know what :P
the name "node" is so ugly
i've been trying everything to change the name "node" to something else, why isn't the default something like "page" or "content" or anything else!!
i love drupal, everything is working perfectly but this node thing is annoying me, it's just not friendly.
if you gonna make something this important (as to the address of pages) make it flexible to customizable changes.
=-=
drupal is node based, hence "node" and you have two options to change it just in this post, as well as a probable way to change it in .htaccess if you really wanted to investigate that method.
One mans trash is another mans treasure.
will this code work on 5.7 ?
will this code work on 5.7 ?
edit - Yep, works fine for 5.7 too
some one know the way to do
some one know the way to do this on drupal 6 please
=-=