By james2002 on
I recently install Drupal 6 and then I try to arrange categories by creating links in primary and secondary link menu.
But how do I change ugly "node" into my category name like "news" etc....
Also instead of 1,2,3 , 4 for the post, I like full Html like " I-like-full-link.html" rather than /node/3 .
Wordpress is so easy to arrange categories but drupal is a headache.
How do I do that?
thanks for suggestions
Comments
=-=
evidentally searching at wordpress doesn't come easy or those coming from that platform would already know how to use drupal.org search ; )
use the core path.module and if you want automation use the pathauto.module, which depends on the token.module both of which are contrib modules and can be found in the downloads area.
_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )
easy...
The core module:
Home › Administer › Site building > modules > path
... when enabled, allows you to manually change the name of nodes.
It appears as an option called 'URL path settings' on the 'add content' forms.
However, most people also install the pathauto module: http://drupal.org/project/pathauto
which allows you to set the 'pattern' of the url for each content-type.
It then automatically generates a nice url for you.
Thanks I have put path
Thanks I have put path "on".
But this resulted me to have two pages pointing to same page.
http://sciencelatest.com/gene-regulation
and
http://sciencelatest.com/node/2
they point to same page.
It is not good for SEO as search engine will regard them as duplicated content.
How do I solve this problem , I mean duplicated content.
Best Web Hosting
=-=
use robots.txt to block out the node path if you are that worried.
Note that drupal and google get along really well, just do some searches and you will see this.
_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )
Global redirect will fix
Global redirect will fix that SEO issue for you.
http://drupal.org/project/globalredirect
Thanks
Brilliant!
thanks for your advice
Only that it is not ready for drupal 6 which I am using.
Web Hosting Sites
it's ready
As long as your sites isn't multilingual, the current D6 version of Global Redirect will work fine. I believe there's already an issue about this in the Global Redirect issue queue.
Large Robot
http://www.largerobot.com
> then I try to arrange
> then I try to arrange categories by creating links in primary and secondary link menu
> ... rather than /node/3
Hold on, that doesn't make much sense to me (although I am a noob too).
You create 'categories' as taxonomy terms, and tag your nodes with the terms
when you create/publish them.
Then to display a 'category' (all nodes tagged with a certain taxonomy term), your
menu link should go to /taxonomy/term/[N] *not* /node/[N]
You can make /taxonomy/term/[N] into a nice url using the same methods as explained already.
And you can obtain a much more configurable, advanced display of your 'categories' by installing the
Views module: http://drupal.org/project/views
> Wordpress is so easy to arrange categories but drupal is a headache.
Firstly, it looks like you're not using taxonomy properly, as explained above, which will make
it very difficult (I can't even imagine what it is you're actually doing).
Secondly...
Wordpress and the other CMS are quite fixed. Displaying your content is like buying a ready-made
microwave pizza and just zapping it for 2 minutes. You can change the style of it (ie. slice it or eat
it whole), but you can't change the actual pizza itself or the ingredients.
Drupal only provides a basic pizza base with tomato sauce; you can eat it like that, but it doesn't
taste nice. The modules are a selection of toppings, and you have to choose which toppings and
how much you want of each before you put it in the oven.
Putting all the toppings on takes longer, and sometimes you can't choose exactly which ingredients
are offered to you, but ultimately you have a better quality, more personalised pizza when it comes
out of the oven.
So, yes, Drupal is more of a pain that other CMS in just about every respect, and it has taken me
weeks to understand why it was built like this, but finally I am realising that there is quite a good
reason for it.
I love the pizza analogy!
Hi,
I've found Drupal slower to get to learn too, but now that I've been using it for a little while, I'm starting to really see the benefit.
In terms of duplicate content, my experience is if there's 2 sites with the same content, that's a big problem, but if I have 2 different pages on 1 site with the same content - and one of those pages is well-linked to from the rest of the website, while the other page isn't, Google simply takes the well-linked page into account and ignores the other one. That said, every factor on a site helps, so if there's a solution, it's still worth using it to be on the safe side!
France website design, website promotion and SEO