• Home
  • Get help
  • Ask a question
Last post 4 hours 53 min ago
Posts last week 82
Average response time last week 34 min
All time posts 68046
All time tickets 10515
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.

#1576 – Newbie sh404SEF Question

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, 21 December 2015 22:13 UTC
3wd8ws3m4gsAq
 
Hi

I purchased sh404SEF because I noticed inconsistencies in the URLs of some of the components that I recently installed, and I was hoping sh404SEF could help. Specifically, I am using a variety of components by TechJoomla. One of those components is called, Quick2Cart. I am using Quick2Cart with a JReviews integration, which means that members can create listings via JReviews and display a Quick2Cart "Add to Cart" button in their respective listings. To complicate matters further, I am also using EasySocial, which I currently have integrated with JReviews.

Under this configuration, members create listings in JReviews, those listings contain Quick2Cart "Add to Cart" button, and those listings, along with the Quick2Cart "Buy Now" button are displayed on the member's EasySocial profile page. This makes it easy for users to browse products from within member profiles and make purchases in just a few steps.

Against this background, when the user clicks a "Buy Now" button the checkout process begins and after placing the order the user is automatically taken to a Cart Checkout page at the following URL:

mysite/cartcheckout?view=cartcheckout

When created my menu items for the Quick2Cart component, I created a Quick2Cart menu item of the "Cart Checkout" type which displays the Cart Checkout page. I generated a module for the Quick2Cart menu, and the URL for the Cart Checkout menu item creates a nice URL, as follows:

mysite/cart-checkout

QUESTION: Since both of the URLs described above go to the same Cart Checkout page view, how do I make the first one (mysite/cartcheckout?view=cartcheckout) look like the second one (mysite/cart-checkout), using sh404SEF? If you could point me in the right direction I would greatly appreciate it!

Thank you

P.S. I am still testing locally on localhost, so unfortunately there is no site to visit.
Tuesday, 22 December 2015 01:08 UTC
3wd8ws3m4gsAq

Hi

I'm attaching several screenshots to illustrate my question.

Thank you
Tuesday, 22 December 2015 11:15 UTC
wb_weeblr
Hi

Sorry but we strictly have no control about the URLs created by such a variety of extensions. URLs are created by each extension router.php file (unless some extensions devs provide sh404SEF-specific plugins. StackIdeas do, but not for EasySocial AFAIK).

Looking at your screenshot, it seems to me the problem is not in the SEF URL, but rather in the non-sef URLs (the one created by each extension) not being consistent.

The difference here being that based on the Itemid being used (402 or 403), you get a different SEF URL.

What I would suggest at this stage, is the following:

- delete the cartcheckout URL from the URL manager
- using the "New" button, create a non-sef/SEF pair with the following:

SEF: cart-checkout
non-sef: index.php?option=com_quick2cart&view=checkout&Itemid=402

Rgds
 
Tuesday, 22 December 2015 17:35 UTC
3wd8ws3m4gsAq
Hi

Thank you for the reply. I tried your suggestion, but it didn't seem to have any effect. I'm also having a few other issues with the URLs generated by sh404SEF for Joomla! system menu item aliases linked to hidden menu items. For example, I have a hidden menu with links to my community. In my main menu, I have a Joomla! system menu item alias for one of those hidden menu items. When I enable sh404SEF, the main menu item link becomes mysite/community/dashboard (where "Dashboard" is the EasySocial menu item type). When I disable sh404SEF, the main menu item displays correctly as mysite/community.

Would this type of problem be due to the URLs generated by EasySocial, or would it have to do with the way I'm structuring my menus (i.e., a hidden menu with Joomla! system menu item aliases linked to the hidden menu's items)?

Finally, if most of my components do not have sh404SEF plugins, and if I have to change each URL manually, should I be using sh404SEF, or should I simply rely on the Joomla! SEF plugin? In other words, in the long run, am I better off not tinkering with all these URLs?

Thanks again!





Tuesday, 22 December 2015 19:19 UTC
wb_weeblr
Hi

One very important thing to understand is that your menu structure has absolutely no relation to the URL being produced. That's the whole point. Using menu item to build URL as Joomla (often does) is the #1 cause of duplicate content and we want to avoid that.
So with sh404SEF the URL depends on the target content of a link, not how its accessed through menus.

So your /community/dashboard link is:
- unrelated to any menu structure
- the outcome of EasySocial router.php file

As for your quickcart links, I would then suggest you delete all those URLs, and instead set the quickcart component to "Use Joomla router" under the "By components" tab of sh404SEF configuration.
It seems to produce different URLs based on the Itemid used, and not be consistent with the Itemid it uses, so better leave it at its default behavior.

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.