[Solved]Problem WIth Pretty URLs and cataloger

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
astuke

[Solved]Problem WIth Pretty URLs and cataloger

Post 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?
Last edited by astuke on Mon Jan 27, 2014 11:52 pm, edited 1 time in total.
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: Problem WIth Pretty URLs and cataloger

Post by velden »

Wild guess: already cleared the cache? (Site admin -> System Maintenance -> Cache and Content -> Clear

Same tab: Update routes (you never know)
astuke

Re: Problem WIth Pretty URLs and cataloger

Post by astuke »

Yes, already done that, did it again just for grins, still no pretty URLs
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1974
Joined: Mon Jan 29, 2007 4:47 pm

Re: Problem WIth Pretty URLs and cataloger

Post 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.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
astuke

Re: Problem WIth Pretty URLs and cataloger

Post by astuke »

I just updated it to 11.3 same issue.

Its any page where my content type is set to catalog page
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1974
Joined: Mon Jan 29, 2007 4:47 pm

Re: Problem WIth Pretty URLs and cataloger

Post 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
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
astuke

Re: Problem WIth Pretty URLs and cataloger

Post 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.
User avatar
velden
Dev Team Member
Dev Team Member
Posts: 3497
Joined: Mon Nov 28, 2011 9:29 am

Re: [Solved]Problem WIth Pretty URLs and cataloger

Post 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.
Post Reply

Return to “The Lounge”