ignivamanish / wordpress-job-manager

Automatically exported from code.google.com/p/wordpress-job-manager
0 stars 0 forks source link

Pagination Issue #470

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
0.7.20 Job Manager Pagination of job listing does not work with Wordpress 
3.4.1. once page # 2 is clicked then user is redirected to the home page.

Please suggest.

Original issue reported on code.google.com by neeraj....@gmail.com on 14 Aug 2012 at 5:44

GoogleCodeExporter commented 8 years ago
Hi I could solve this issue by doing the following:

Go to settings - > Permalink Settings and from common settings select Default.

Original comment by h...@isaloo.com on 18 Oct 2012 at 5:51

GoogleCodeExporter commented 8 years ago
Okay, but i want to keep the URL SEO friendly like 
http://www.domain.com/products/page2
Do you think if i keep the default Permalinks then the URL would look like this

Original comment by neeraj....@gmail.com on 19 Oct 2012 at 4:17

GoogleCodeExporter commented 8 years ago
Yes, same here, but till now could not find a solution to keep the URL SEO 
friendly,  I will keep trying and will let you know in case I found a suitable 
solution.

Original comment by h...@isaloo.com on 19 Oct 2012 at 8:05

GoogleCodeExporter commented 8 years ago
I added this rule to the array "$new_rules" in file frontend.php line around 66
    "$url/([^/]+)?$" => "index.php?jobman_root_id=$root->ID" .'&page=$matches[1]',

and its working for me.
Thanks,
Amin

Original comment by proje...@qcompsolutions.com on 8 Sep 2013 at 6:12

GoogleCodeExporter commented 8 years ago
I added this: 
"$url/([^/]+)?$" => "index.php?jobman_root_id=$root->ID" .'&page=$matches[1]',

Everything worked except it wouldn't allow me to view each detailed job.

Original comment by bmistry...@gmail.com on 5 Nov 2013 at 12:05

GoogleCodeExporter commented 8 years ago
Fixes one thing and creates another problem. Can someone help here?

Original comment by bmistry...@gmail.com on 5 Nov 2013 at 11:00

GoogleCodeExporter commented 8 years ago
I add this rule

"$url/(\d+)/?$" => "index.php?jobman_root_id=$root->ID" . 
                            '&page=$matches[1]',
and everything worked

Original comment by jose.ber...@gmail.com on 12 Dec 2013 at 2:07