Anonymous

Topic: Simplifying the permalinks for jobs?

Is it possible to simplify the permalink structure for job listings?

I'm using this in Japanese, and URL gets soooooooo long. Like this...

http://socialpreneur.info/jobboard/job/ … %e3%83%bc/

It's working fine, but doesn't look smart.

Anonymous

Re: Simplifying the permalinks for jobs?

Which file should I edit in order to change the permalink (post-slag) structure of posted jobs?

Tokyoj

Re: Simplifying the permalinks for jobs?

I'd like to know how to do that as well...

---------------
Tokyoj
"You can't build a reputation on what you're going to do." (Henry Ford)
"Insanity is doing the same thing over and over, expecting different results." (Albert Einstein)

Anonymous

Re: Simplifying the permalinks for jobs?

try www.tinyurl.com

Tokyoj

Re: Simplifying the permalinks for jobs?

Isn't 'tinyurl.com' a manual solution? A code based solution would be better.
If there were a way inside Jobberbase to simplify/shorten the URL automatically from what users currently see as
http://www.mydomain.com/urllink/testing … w/adsf?323
to
http://www.mydomain.com/urllink/home
that would be the smoothest.

---------------
Tokyoj
"You can't build a reputation on what you're going to do." (Henry Ford)
"Insanity is doing the same thing over and over, expecting different results." (Albert Einstein)

Anonymous

Re: Simplifying the permalinks for jobs?

To answer the initial question:
Only the ID of the job is required in the URL. The sanitized job title is simply for SEO and readability purposes. So you could just use, for example, *http://socialpreneur.info/jobboard/job/51/* -- it's the same as http://socialpreneur.info/jobboard/job/ … -go-here/.

So what you should do is go into all templates that list jobs (_templates/posts-loop.tpl, home.tpl...) and alter the *href*s of job titles.

Anonymous

Re: Simplifying the permalinks for jobs?

wow...that's so simple lol
didn't know that! thanks!

Anonymous

Re: Simplifying the permalinks for jobs?

I deleted {job.url_title} and it works just fine. It looks the urls beautiful, only if your job titles contain asian characters.

Tokyoj

Re: Simplifying the permalinks for jobs?

Should I keep begging for assistance with this? (because I will... :-) Thanks....

Could someone please explain “alter the *href*s of job titles” for less coding capable users? (that would be me)
For example, an href from my _templates/posts-loop.tpl is
<a href=”{$BASE_URL}job/{$job.id}/{$job.url_title}/” title=”{$job.title}”>{$job.title}</a>

how would that be altered to sanitize the link?

---------------
Tokyoj
"You can't build a reputation on what you're going to do." (Henry Ford)
"Insanity is doing the same thing over and over, expecting different results." (Albert Einstein)

Anonymous

Re: Simplifying the permalinks for jobs?

@TokyoJ

From what the other guys are saying, you should change to have the following

<a href=”{$BASE_URL}job/{$job.id}/” title=”{$job.title}”>{$job.title}</a>

instead of

<a href=”{$BASE_URL}job/{$job.id}/{$job.url_title}/” title=”{$job.title}”>{$job.title}</a>

I hope I understood what you were asking.

dre

Re: Simplifying the permalinks for jobs?

Is there any way to remove the  job ID  from the link ?  It has no SEO or estetic value.

I already tried to remove {$job.id}  from the pages with no result. I now realise that was stupid , i presume that ads are called from that ID.

I want the ad url`s to be like this :   www.mysite.com/ad-category/ad-title

Last edited by dre (2009-11-23 23:39:40)