By bitshift on
Trying to decide if I need to define a different view or customize the front page view. Im currently using the default setting that shows a node list on the front page. The paths for each post is the "node path" such as /q=something something. I'd rather this be the alias, so that both my google sitemap and what google picks up to index is the alias path(s).
When I hover over a article post on the front page, I see the url as .../?q=my_alias_here
How can I get this to be .../my_alias_here and no query parameter?
Its the former link that gets indexed in google it seems, because that is where the google robot sees the links from and follows them.
Suggestions?
Comments
activate your Clean URLs. its
activate your Clean URLs. its core module..
ꦱꦠꦽꦶꦪ
I think you mean the Path
I think you mean the Path module? If so, that is already enabled. Now when I go into
Configuration >> Clean URL's there is really nothing to do there, I only see a button labeled "Run the clean url test", which does nothing when I click it.
If I click "Configure" for the Path module, I get a list of aliases but it is not complete. I have more nodes with aliases that this. Ive ran cron and cleared my cache too.
Also, when I click on one of the aliases to edit, I get options to change it
Existing system path * - this is the node path
Path alias * - this is my alias path, but the"?q=" is hard set
I've had this problem in the past
You need to edit part of the .htaccess file in your root folder. I "think" this is what you change:
Many people have mentioned this problem, there's some other ideas if that doesn't work here: http://drupal.org/node/15958
Thank you, that is where I
Thank you, that is where I was headed next after reading this part of the clean urls doc
Automatic Path
As bawoor mentions you need to enable Clean-urls and install http://drupal.org/project/pathauto to make your life simpler.
Thanks all, I found a
Thanks all, I found the cause of the problem with your help. The whole time I had been accessing my admin area under https, which on my web hosting account, requires me to use my account name in the path. That was causing a conflict with clean urls. The module was checked/enabled, but the settings were not enabled on the "clean urls" page, if that makes sense. Once I got out from under the sub directory in the url I was able to see the (un-checked) checkbox on the clean urls page, checked it and wha-la, clean urls are now working.