Permalink's should link to an actual permanent link

bsherwood - May 31, 2009 - 19:53
Project:Newswire
Version:6.x-3.2
Component:Miscellaneous
Category:task
Priority:normal
Assigned:Unassigned
Status:active
Description

The permalink links are not really permanent since they link to the actual URL alias. I would say the permalink option should use Drupal's internal paths (i.e /node/1, /node/2, etc...).

Currently if a user decides to change any of the paths URL structure, the permalink will break.

#1

Jeff Burnz - May 31, 2009 - 21:40

Yes, I know its not the permalink but I wonder if site owners really want the internal URL pointing back at their nodes, I was tending to think its better for SEO if the URL alias was used, unless the site has global redirect installed.

Thoughts? Get rid of it altogether maybe (thats my thinking).

#2

bsherwood - June 1, 2009 - 16:25

My thoughts on this are:

1. If your going to have a permalink in the theme, then it should at least be permanent.

2. Other sites (mostly blogs) have a permalink that points to an internal URL and not a SEO alias.

3. This feature should not rely on other contrib modules (e.g global redirect).

Other ideas?

#3

Jeff Burnz - June 1, 2009 - 16:46

Not really, I think we should get rid of it in the next version.

#4

JaclynMcKewan - June 20, 2009 - 23:39

I'd like to see the permalink gone as well. Is there a way I can get rid of it myself by editing one of the theme files? (Sorry, I'm still a bit new to Drupal.)

#5

Jeff Burnz - June 21, 2009 - 08:03

Yes, just remove it from node.tpl.php

#6

bsherwood - June 22, 2009 - 14:01

The code you should remove from node.tpl.php is:

<?php if ($page == 1): ?>
<h5 class="permalink"><a href="<?php print $node_url; ?>" rel="bookmark"><?php print t('Permalink'); ?></a></h5>
<?php endif; ?>

#7

JaclynMcKewan - June 22, 2009 - 22:01

Thanks!

 
 

Drupal is a registered trademark of Dries Buytaert.