Clean URLs

Trying to get rid of “q?=” generated in dynamic pages, found in sites configuration->clean URLs that the clean URLs option is disabled by default and couldn´t be enabled even though the .htaccess file was properly configured in the root folder. In the Apache web server configuration in my wamp server I enabled the rewrite_module, restarted all services and got drupal to allow me to activate clean URLs, therefore getting now http://localhost/scouts/node/1 instead of previous http://localhost/scouts/q?=node/1

With regards to the pathauto module, I have been trying it with not only newly generated content but also with previously generated one, and it works fine, adding /content/ in the URL, something that may or may not be desirable in some cases. This can be tweaked  in site building-> URL aliases>automated alias settings->node path settings, where patterns can be created for different content types. The default content/[title-raw] can be changed there.

Advertisements

Posted on January 4, 2010, in Uncategorized. Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s

%d bloggers like this: