Joomla 2.5 Display Category Page Only via Menu - joomla

I want to display the Category page in Joomla 2.5 only via links in the menu.
Is there a way to disable the display of a Category page by taking the id and the name of the category from the url? For e.g., if the Animals category's id is 3, http://example.com/animals/cat/3-animals will load the Animals Category page, resulting in dublicate content with http://example.com/animals!

You can't disable the Joomla long URLs without messing up the rest of the site. What you can do rather than disabling it is to use 301 redirects on any pages that are indexed in Google so that the listings get updated and no longer appear in Google's index. Just google site:example.com to see everything they have indexed.

Related

Suggestion for designing product page in Wordpress

I have a wordpress website and I am looking for the plugin suggestions for my Products page. I want that when user clicks on any company name on the Products page, a page like SubProducts should open up. On the 'SubProducts' page, there is a sidebar on the left. When user will click on 'Drills' in the sidebar, content should load in the 'Main Content' on the SubProducts page.
When user clicks on next product, it's content should load in the Main Content. I vaguely know that AJAX is useful for such purposes when we don't want to reload the page again.
Is there any plugin for this requirement. I don't want ecommerce plugins as I am not selling the products here.
I am also looking for some resources for implementing this in AJAX, I have found some pages but they are not doing what I want.
Please suggest.

Joomla extension/feature for adding articles to other sites

Is there a way for articles on joomla to be on another website without that user logging in to see it? The user should just see the article content and nothing else. This would be like a front end side version of articles for public users. How would I go about this?
You can publish your articles through RSS. In fact, just adding ?format=feed to the end of the URL of any menu item of type "Category Blog" (or of type "Featured Articles") will generate the RSS page for that particular URL. All you need to do is to retrieve the RSS content on the other website (there are many tools to do that that are available in any CMS).

Magento translation and url key

I have a Magento website with some pages linked to main navigation.
For example, in my default view (Italian) I have www.example.com/italian-url-key
Then I created another page for English view with url www.example.com/english-url-key
So, when I am on the italian version of the page and try to switch to english version, this is the url that magento generate: http://www.example.com/italian-url-key/?___store=english&store=&___from_store=default and on click it gives me 404 page.
How can I fix it? I need that this 2 pages should be linked, also if url key is different.
Many thanks!
Out of the box Magento does not support URL Translation, both pages need the same URL key. Check instructions from the Magento Docs on how to translate CMS pages.
To translate a CMS page, you must create a new page that has the same
URL Key as the original, but assigned to the specific store view.
So you will either have to stick to one languages for your URLs or develop/acquire a module to do this for you. The magento-language-roots or CMSRewrites modules both look like they will achieve this for you.
You may also want to consider adding Hreflang tags to your head.phtml as you have a multi-lingual site.

How to forward all the 404 pages to the front page?

I have a simple question...I had an old store and people bookmarked specific product pages in their browsers as well as Google search points to some specific pages. I have now installed a new version of Magento (1.9.1) and some of these URLs will not longer work (they will show the standard 404 not found Magento page).
What would be the best way to forward all these hits to the front page?
Thank you for any suggestions!
Allysin :-*
Login to the admin, go to System>Configuration>Web and change the drop-down value for CMS No Route Page in the Default Pages section. You should be able to select your CMS Home Page.
Here is a reference with images
If manual setting doesnt help,you can try this.

Why is Joomla 1.5 creating different URLs for the same articles on different pages?

I'm trying to understand the way Joomla (1.5) creates article URLs.
I created a module to display news. The module displays all the news, with correct URLs on the homepage mysite/component/content/article/xxxxxxxx.
I created a module to display the last article on the homepage and a button, see all news, linking to a menu item displaying a page with all the articles. The url is: mysite/news.
The problem is the URLs to the article are generated incorrectly as mysite/news/xxxxxxxx and they give a 404. How can I get the URLs to be the same as on the homepage?
Update: The new URL doesn't give a 404, it points to the same page as the menu, I mean mysite/news/ is the same as mysite/news/xxxxxxxx, it shows the list of all the articles and not the article itself
To create proper SEF URLs, two steps are needed:
Be sure to have a menu entry for each article in the list. You don't have to display that menu, it just has to exist. The menu entry's alias is used to build the SEF URL.
When creating links to such an article, be sure to include the parameter Itemid=n in the URL, with n being the id of the menu item. In article texts, use this structure:
index.php?option=com_content&view=article&id=23&Itemid=125
Joomla! will convert that into a SEF URL automatically, and it will still work, when you for some reason turn SEF off.
If you generate links in a module, the URL is not converted automatically. You have to call JRoute::_() for that:
echo JRoute::_('index.php?option=com_content&view=article&id=23&Itemid=125');

Resources