Page 1 of 1

[Solved]Problem WIth Pretty URLs and cataloger

Posted: Sun Jan 26, 2014 9:43 pm
by astuke
Using CMSMS 1.11.9
Cataloger 0.11.1
Apache server
Used the .htaccess file from docs
change the config file.

I have pretty urls working on the regular pages that are set up as a catalog page. eg. http://www.starrtech.net/products/computers

But it does not work with pretty URLs on pages that are set as catalog. eg.

http://www.starrtech.net/index.php?page=support



Can someone please tell me how to get the pretty URLs to work with cataloger?

Re: Problem WIth Pretty URLs and cataloger

Posted: Sun Jan 26, 2014 10:01 pm
by velden
Wild guess: already cleared the cache? (Site admin -> System Maintenance -> Cache and Content -> Clear

Same tab: Update routes (you never know)

Re: Problem WIth Pretty URLs and cataloger

Posted: Sun Jan 26, 2014 10:04 pm
by astuke
Yes, already done that, did it again just for grins, still no pretty URLs

Re: Problem WIth Pretty URLs and cataloger

Posted: Sun Jan 26, 2014 10:47 pm
by Jo Morg
astuke wrote:I have pretty urls working on the regular pages that are set up as a catalog page. eg. http://www.starrtech.net/products/computers

But it does not work with pretty URLs on pages that are set as catalog. eg.

http://www.starrtech.net/index.php?page=support



Can someone please tell me how to get the pretty URLs to work with cataloger?
I don't quite understand what you mean by "regular pages that are set up as a catalog page", and you should explain how did you set up pretty URL's in config.php. I just tested on my test installation and the menu shows pretty URL's on ALL pages, including all types of Cataloger pages. How are those links generated on your site? Menu Manager (i.e. {menu} tag)? And btw, you should update Cataloger... it's already V 0.11.3.

Re: Problem WIth Pretty URLs and cataloger

Posted: Mon Jan 27, 2014 2:54 am
by astuke
I just updated it to 11.3 same issue.

Its any page where my content type is set to catalog page

Re: Problem WIth Pretty URLs and cataloger

Posted: Mon Jan 27, 2014 12:56 pm
by Jo Morg
It works for me and you are not providing enough data for me to try to reproduce it.
How To Submit a Question So You'll Actually Get Help

Re: Problem WIth Pretty URLs and cataloger

Posted: Mon Jan 27, 2014 11:51 pm
by astuke
I figured it out, it's in my template, the links on my buttons are going to <a href="index.php?page=products"

when it should just say /products.

Sorry, I didn't create this site, I'm trying to work my way through it.

I'm hoping that fixes my SEO data also.

Re: [Solved]Problem WIth Pretty URLs and cataloger

Posted: Tue Jan 28, 2014 8:12 am
by velden
You should not hardcode those urls

Use {cms_selflink href='products'}

That way it will automatically work in any situation as long as the alias is 'products'.

By the way, I would expect that Menu Manager is used for a menu.