Jump to content



Welcome to KnowledgeSutra - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
- - - - -

Nodes Question Onf Drupal (not Joomla!, But Still... :( :( :()


7 replies to this topic

#1 Nameless_

    Loving the net

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPip
  • 1,030 posts
  • Gender:Not Telling
  • Interests:Philosophy
    Science
    Art
    Maths
    Rowing
    Spirituality
    Psionics
  • myCENT:65.88

Posted 15 November 2009 - 10:11 AM

Heya, this is a quick question on the nodes of Drupal... in case you don't know, each item of content in drupal is called a node... and the problem is this:

Question:
Whenever I make new content like a page on Drupal, the URL of the webpage is always www.example.com/node, and after that, when I make a new one, it becomes www.example.com/node2, and so on and so on. So even if I make a "project" page or a "content" page, it will come out as www.example.com/node and www.example.com/node2... which is really annoying because I want it to be something like this:

www.example.com/project or www.example.com/content

Does anyone have any idea how to do this and sort my problem out?

Thanks for any advice and information that I get. I appreciate that... :) That is the only reason why I haven't created a "about" page, a "project" page or a "contact" page yet. It is holding me back and I don't like that... :D :( :D

#2 FouGilang

    Super Member

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 381 posts
  • Gender:Male
  • Location:Majenang, Indonesia
  • Interests:woman, duh
  • myCENT:24.68

Posted 15 November 2009 - 10:27 AM

ok
assuming that drupal is a CMS like joomla, joomla has a free extension called "sh404SEF". it was supposedly to make more Search Engine Friendly urls, but it can also be used to make your own custom url (because for some reason, joomla's default urls are... BAD). so if drupal has some extensions too, maybe there are some extensions that let you to make your own custom url too :)

#3 rvalkass

    apt-get moo

  • [MODERATOR]
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 3,107 posts
  • Gender:Male
  • Location:Devon, England
  • Interests:At the moment, Physics mainly!
  • myCENT:69.42
  • Spam Patrol

Posted 15 November 2009 - 07:57 PM

The PathAuto module is what you're looking for. You will also have to add the Token module to get PathAuto to work. When installed you will realise that PathAuto is very flexible in allowing you to define SEO-friendly and human-readable URLs automatically for all your pages (such as based on the page title, date, etc.).

#4 xpress

    XPRESSing the XPRESSion

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 709 posts
  • Gender:Male
  • Location:X Universe
  • Interests:Computer Security
    Java and PHP
    Music
  • myCENT:93.53
  • Spam Patrol

Posted 15 November 2009 - 10:51 PM

Drupal support clean url's. You can assign whatever name you wanted for a page. After creating a page or story just enter your desired name for that page at URL path settings which is located at the bottom of the page.

For example enter "contacts" for your contacts page. There after the page will show www.yoursite/contacts instead of www.yoursite/node/4 or something.
If you have already created some pages, just edit the page to rename your urls to something you prefer....
You can also rename your urls through URL aliases located at Administer -> Site Building -> URL aliases. Go there and edit url you want to rename.

If URL path settings option is not appearing when creating or editing content , then go to Modules section and enable Path module..

#5 Nameless_

    Loving the net

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPip
  • 1,030 posts
  • Gender:Not Telling
  • Interests:Philosophy
    Science
    Art
    Maths
    Rowing
    Spirituality
    Psionics
  • myCENT:65.88

Posted 16 November 2009 - 12:21 PM

View Postxpress, on Nov 16 2009, 09:51 AM, said:

Drupal support clean url's. You can assign whatever name you wanted for a page. After creating a page or story just enter your desired name for that page at URL path settings which is located at the bottom of the page.

For example enter "contacts" for your contacts page. There after the page will show www.yoursite/contacts instead of www.yoursite/node/4 or something.
If you have already created some pages, just edit the page to rename your urls to something you prefer....
You can also rename your urls through URL aliases located at Administer -> Site Building -> URL aliases. Go there and edit url you want to rename.

If URL path settings option is not appearing when creating or editing content , then go to Modules section and enable Path module..

Hmm... thanks for the information.... I can now edit my links now... but I have a problem. Say that I will be creating blog posts like, every two days when I start, am I meant to write that in the URL path settings every time, or should I follow rvalkass's advice and do what he suggests?

Also, if I am to write the name of the URL into the URL path settings, do you think I should leave a space in between the words or just put them together? I know that Trap17 has a hyphen in between the links though... which one do you think would be best for SEO?

Thanks for you advice... Nameless.

View Postrvalkass, on Nov 16 2009, 06:57 AM, said:

The PathAuto module is what you're looking for. You will also have to add the Token module to get PathAuto to work. When installed you will realise that PathAuto is very flexible in allowing you to define SEO-friendly and human-readable URLs automatically for all your pages (such as based on the page title, date, etc.).

Yeah, I can see that, but I don't like the fact that there is a date in the URL as well... though I am not sure what to do with my blog or anything, and what method would be best for SEO. If you have any reccomendations, please say them to me... :) Thanks...

I mean, I don't mind writing something in the URL Path Settings thingy everytime I post something, but I also wouldn't mind if that module does the same thing or make better SEO results for me...

What do you think?

#6 xpress

    XPRESSing the XPRESSion

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 709 posts
  • Gender:Male
  • Location:X Universe
  • Interests:Computer Security
    Java and PHP
    Music
  • myCENT:93.53
  • Spam Patrol

Posted 16 November 2009 - 01:34 PM

View PostNameless_, on Nov 16 2009, 05:51 PM, said:

Hmm... thanks for the information.... I can now edit my links now... but I have a problem. Say that I will be creating blog posts like, every two days when I start, am I meant to write that in the URL path settings every time, or should I follow rvalkass's advice and do what he suggests?

You're welcome buddy... You have to write url path settings only if you create a new page.. If you create a new page or story every two days then you need to write the url path settings for that page. If you update old pages no need to write that.

I haven't tried that Pathauto module. If you want to generate url names automatically, then try that module. That's very helpful. I will try it and will tell you...


Quote

Also, if I am to write the name of the URL into the URL path settings, do you think I should leave a space in between the words or just put them together? I know that Trap17 has a hyphen in between the links though... which one do you think would be best for SEO?

You can use space between words.. For example, you can use "help page" as your url alias....but don't mix words... thats bad for seo...

#7 rvalkass

    apt-get moo

  • [MODERATOR]
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 3,107 posts
  • Gender:Male
  • Location:Devon, England
  • Interests:At the moment, Physics mainly!
  • myCENT:69.42
  • Spam Patrol

Posted 16 November 2009 - 06:48 PM

View PostNameless_, on Nov 16 2009, 12:21 PM, said:

Yeah, I can see that, but I don't like the fact that there is a date in the URL as well... though I am not sure what to do with my blog or anything, and what method would be best for SEO. If you have any reccomendations, please say them to me... :) Thanks...

Log in to your administration panel, select Administer > Site Building > URL Aliases > Automated alias settings. In there you can change the general settings, along with the URL patterns for each content type. So, for example, you can change the pattern to content/[title] or articles/[author-name]/[title] or whatever to change the URLs that get automatically generated for each content type.

#8 Nameless_

    Loving the net

  • Kontributors
  • PipPipPipPipPipPipPipPipPipPipPip
  • 1,030 posts
  • Gender:Not Telling
  • Interests:Philosophy
    Science
    Art
    Maths
    Rowing
    Spirituality
    Psionics
  • myCENT:65.88

Posted 20 November 2009 - 10:28 AM

Yes!!! I found the thread that I was looking for that I made in my own profile... :) I'm sorry I haven't been able to reply earlier... A big thank you to both xpress and rvalkass for giving me the options!!! I am now using xpress's method to create my static pages, like content, and about, and yet I will be using rvalkass's for my blog posts, so I won' t have to write in a path everytime I make a post.... :o

Thank you very much!!! If I have any more problems on this, I will post up here again... :D Thanks...




Reply to this topic


This post will need approval from a moderator before this post is shown.

  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users