Posted by: mani7able | February 20, 2012

Day-6 Absolute URLs


Description:

This very simple module causes all of your site’s internal URLs to be rendered as absolute URLs (e.g., “http://mysite/node/whatever”) instead of relative URLs (“/node/whatever”). Some people think this is useful for SEO.

All this does is modify the global base_path variable in an init() hook so that all calls to base_path() will get an absolute URL. So, of course, if you or your module/theme don’t use base_path(), you won’t get the benefit of this.

Download:

http://drupal.org/project/absolute_urls

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Categories

%d bloggers like this: