Clean URLs for applications

gargsuchi - October 9, 2009 - 09:49
Project:Job Posting
Version:6.x-2.x-dev
Component:User interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

Is there any way we can have clean urls for the application pages?? What I mean is that pages like
job/application/node/33
come up as
job/application/php-developer

Suchi

#1

gmarus - October 9, 2009 - 18:12

Probably what you want to do is enable the core module called 'Path'. This will create a new menu item under administration->site building called 'url aliases' which allows you to set custom path names that alias the underlying /node/number format. HTH.

#2

gargsuchi - October 12, 2009 - 07:46

I already have that enabled, and all the paths to other node types are working fine. In fact the single job paga also has the correct alias. But when the user clicks on "submit an application" - that's the page I am talking of.

#3

gmarus - October 14, 2009 - 00:20

Works for me. Did you create an alias for the application page itself? For example, on my test system I did this:
job/application/node/1 -> /apply/test-job-1
After clearing cache and reloading the job_posting node page for 'test-job-1' I get the desired url alias. Kind of tedious for every node but it definitely works here.

 
 

Drupal is a registered trademark of Dries Buytaert.