• Home
  • Get help
  • Ask a question
Last post 4 min ago
Posts last week 94
Average response time last week 34 min
All time posts 67884
All time tickets 10493
All time avg. posts per day 20

Helpdesk is open from Monday through Friday CET

Please create an (free) account to post any question in the support area.
Please check the development versions area. Look at the changelog, maybe your specific problem has been resolved already!
All tickets are private and they cannot be viewed by anyone. We have made public only a few tickets that we found helpful, after removing private information from them.

#1497 – Problem with bracket in url parameter

Posted in ‘sh404SEF’
This is a public ticket. Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.
Monday, 07 December 2015 10:42 UTC
weballiance
 Hello,


I try to do a sef url with a link like this one :
index.php?option=com_neorecruit&view=search&jform[location]=antibes&Itemid=585

When i go to the rewrite url, i got no result. I shout have result on that search page.

Can you tell me if the problem is the [ ] and how to resolve it ?

Regards
Monday, 07 December 2015 14:39 UTC
wb_weeblr
Hi

1 - WHich versions of Joomla and sh404SEF?

2 -
I try to do a sef url
How and where are you trying to do this link? as a programmer in PHP? in joomla menu item? inside an article?
If in article, using whid editor?

3 -
When i go to the rewrite url, i
What do you mean? do you get a SEF URL or not? if yes, what is the SEF URL exactly, and what's the non-sef URL registered in the database (in the URL manager)

4 - What is this neorecruit component? does it have a router.php file for joomla? WHat are the SEF URLs for that link when Joomla SEF is used?

Rgds
 
Monday, 07 December 2015 15:05 UTC
weballiance
1- Joomla! 3.4.5 and SH404SEF 4.7.1

2 - I go to the menu composant > SH404SEF > add new SEF URL

3 - The SEF URL work but the page should return a list of results (its a search form page)

SEF URL is : toutes-les-offres/alpes-maritimes
NON SEF URL is : index.php?option=com_neorecruit&jform[location]=06&lang=fr&view=search

The NON SEF url work, when i go it show me the page with a list of result.

Important info maybe, /toutes-les-offres is the URL of an article

4 - Neorecruit : http://extensions.joomla.org/extension/neorecruit
They don't have SEF for "search form". When i choose some option, parameter will appear in the URL.

You can see it in action with there demo :
http://demo.neojoomla.com/neorecruit/job-search.html?jform[catid]=0&jform[location]=paris&option=com_neorecruit&view=search&Itemid=140&filter_order=&filter_order_Dir=

I try to do SEF url for specific search.


Regards
Monday, 07 December 2015 15:27 UTC
wb_weeblr
Hi

Their demo is not useful, we can only talk about your own site. We'll need to review the settings and do some testing on that component. Could you please provide us with superadmin credentials to your website. You can create a temporary account, and delete it afterwards, but it must have superuser level.

Thanks and regards


 
Monday, 07 December 2015 15:38 UTC
weballiance
Ok,

The website is not accessible directly, you have to change your hosts file to see it :
xxxx www2.xxxx.fr

Here is the super admin for you :

id: xxxx
pass: xxxx


Regards
Monday, 07 December 2015 16:02 UTC
wb_weeblr
Hi

I am a bit confused by how the site is working. As usual in this type of case, I have started with disabling sh404SEF to see how Joomla SEF work.

So I tried to access the Toutes les offres > Alpes maritimes menu item, but I got a 404.

I looked up that menu item, and I realized you have hardcoded there the SEF URL, instead of using the regular non-sef (that's how links should be created in Joomla).

So I changed the link in that menu item to :
index.php?option=com_neorecruit&jform[location]=06&lang=fr&view=search 

The SEF link becomes:
/component/neorecruit/?jform[location]=06&lang=fr&Itemid=126
and I'm prompted to login to "admin job offers" (I cannot just see the job offers).

Anyway, after playing a bit with it, I found that this feature of NeoRecruit only seems to work if you include the Itemid in the non-sef URL. So the actual non-sef URL is:
index.php?option=com_neorecruit&Itemid=126&view=search&lang=fr&jform[location]=06


This seems to provide the desired result, but I'm not entirely sure. Please double-check.

Rdgs
 
Monday, 07 December 2015 16:37 UTC
weballiance
Hi,

Ok It seems to work.

I got it now.

Thanks very much!

Regards
Monday, 07 December 2015 18:35 UTC
wb_weeblr
Hi

OK, I'll leave this ticket open for now, it will auto-close in 2 weeks if no further message is posted to it.

Rgds
 
This ticket is closed, therefore read-only. You can no longer reply to it. If you need to provide more information, please open a new ticket and mention this ticket's number.