You are here:  » Problem Page


Problem Page

Submitted by Tobix on Wed, 2020-03-25 17:02 in

I have a pagination problem. If I look for a washing machine type product and scroll the pages everything works. If instead I go to the washing machine category, first page ok if I click the second page directs me to the category page instead. What could it be?

Submitted by support on Thu, 2020-03-26 12:41

Hello Tobix,

Just to confirm, so browsing a category page 1 e.g.:

http://www.example.com/category/Washing-Machines/

...and then click to go to page 2, instead it goes to

http://www.example.com/category/

Thanks
David.
--
PriceTapestry.com

Submitted by Tobix on Thu, 2020-03-26 19:57

Yes!

Submitted by support on Fri, 2020-03-27 07:20

Hi Tobix,

I want to check whether the link is wrong, or for some reason a redirect is happening. From the working page 1;

http://www.example.com/category/Washing-Machines/

...can you manually edit the URL and put 2.html on the end making the page 2 URL:

http://www.example.com/category/Washing-Machines/2.html

Does that work and show page 2, or does it redirect to the main category page?

Thanks,
David.
--
PriceTapestry.com

Submitted by Tobix on Fri, 2020-03-27 08:28

I noticed that putting "product rating" instead of "relevance" everything works.

You can view it yourself if you want: {link saved}

Submitted by support on Fri, 2020-03-27 10:47

Hi Tobix,

I couldn't find a page showing the problem sorry - please could you post a link to a category page where the page 2 link doesn't work...

Thanks,
David.
--
PriceTapestry.com

Submitted by Tobix on Fri, 2020-03-27 12:10

{link saved}

Submitted by support on Fri, 2020-03-27 13:22

Hi Tobix,

It looks like the html/navigation.php of your template is not basing the non-rewritten subsequent pages with search.php instead basing on the existing script (categories.php in this case).

If you check that file, see if you can find 4 instance of just:

"?q="

If so, REPLACE each with:

"search.php?q="

That might be all it is - let me know if that does the trick I'll let the theme developer know; otherwise I'll check it out further with you...

Cheers,
David.
--
PriceTapestry.com

Submitted by Tobix on Fri, 2020-03-27 14:16

Solved I changed all "? Q =" to "search.php? Q ="

Great :)