I face one problem in my Joomla site in specific URL.
My Current URL is http://index.php/beauty-buzz?cat=Skincare , I just want to remove one of part in upper URl that part is ?cat= , and i Just want to replace it with single character /.
I am using Joomla 3.1.
Enable SEF Urls in global settings in admin panel.
If this is your custom component and you have not created router.php for your component, then you will need to create this file for SEF support in your component.
Check this Joomla documentation page, this might be useful: http://docs.joomla.org/Supporting_SEF_URLs_in_your_component
Related
I have implemented friendly URL in WebSphere Portal 7.0. So lets say I have page with friendly URL "test" and a portlet added to the page. When I hit Portal URL /wps/myportal/test, the page is loaded with no junk characters(no state information). But as soon as I click on any button inside portlet(any action call to Portlet) I see that the junk characters comes back.
Is there a way to keep URL friendly all the time? How can we avoid generating junk characters on portlet action/render calls?
Note:- We have different portlets for different pages and they were developed based on different framework (Spring, Struts, JSR 286 etc)..
in 7.0 by default no, the action url is needed to tell portal what portlet to target. What you could do is use the resourceAction and do everything rest based and avoid the action url, or set up a servlet to handle actions for the portlet and handle urls through that as well in a rest manner.
You could also redirect after the action url back to a friendly url in your portlet code
In my joomla project,I have a page which shows a list of stores and on clicking each store, it takes to a detail page and the link to detail page is now as :
http://www.example.com/component/option,com_location/Itemid,201/lang,en/location,1000/
I need my url to look like
http://example.com/stores/1000
I have enabled seo urls and mode rewrite in global settings.Is their any thing I can do with sh404SEF component?
How can I achieve this?I am a beginner in Joomla.Please advice
Probably this component doesn´t have sef urls through filter/search page.
Try to create hidden menu link to one of the stores (with proper alias) and see if redirect goes to sef link.
i've just finished a website with a database for golf-holidays. Now the clue is, i am using joomla internal url-rewrite to generate short urls which is generally great, i like it. The only thing left for SEO optimization would be, if i could point an individual URL to each offer listed in the database. A url to a specific offer looks like this :
http://www.mydomain.com/golfurlaub-mit-greenfee/angebote/urlaubsangebot.html?oid=128
"urlaubsangebot.html" would be the detail site, passed with the parameter "oid" for offerID and then the ID of the offer in my database.
Would it be possible to create a rule / use a tool where i would be agle to assign a custom URL to every offer? For example :
NewURL
http://www.mydomain.com/offers/spain/my-offer-name.html
OldURL
http://www.mydomain.com/golfurlaub-mit-greenfee/angebote/urlaubsangebot.html?oid=128
I tried using tools such as SEF404 and JoomSEF but they rather break my whole structure than help me apply these urls. Any ideas?
Joomla 1.6+ is shipped with Redirect Manager (Components > Redirect). It's designed exactly for this purpose (redirecting old urls to new ones).
Joomla 1.6 will include a new component and plugin called Redirect.
Its main function is to provide a mechanism to record 404 "not found"
errors, and to give the Web site owner the ability to redirect those
to another page if desired.
If there are links to your site that result in error 404, these should be already populated in the list when you open the manager - you just have to add new urls to which to redirect to.
References:
A preview of link redirection in Joomla 1.6
You can use the .htaccess rewrite rules for that:
RewriteEngine On
RewriteRule ^(offers/spain/my-offer-name.html)$ index.php?option=com_mycomponent&oid=128 [L]
I am Using Joomla 2.5, I am using extension Enmass for site, I have make SEO URL from Admin but URL will show like this
http://abc.com/index.php/component/enmasse/deal/view/8/evo_in_line_foldable_scooter_black
I need to rewrite this URL to
http://abc.com/evo_in_line_foldable_scooter_black.html
I had tried to change in .htaccess but i didnt success.
If any one has idea for this please let me know.
You can create a menu item within Joomla for this Enmass view and it will create this URL.
The URL you see is created by the Joomla JRoute class if no menu item (Itemid) is passed together with the raw URL.
Also the extension can set up its own routing rules with the router.php file (/components/com_enmasse/router.php).
How do I set up a subdomain in Joomla 1.5? I have a classifieds component and want to show each category URL as its own subdomain URL. For example, if I select the electronics category then it will show electronics.mysite.com.
I want it to be just like http://www.nintendolife.com
idea 1: Wait for an SEO extension to add it as a feature, like Artio
idea2: You need to wildcard your subdomains in DNS/Apache, then add a full url link to your top level nav in the Joomla menu manager as a link: http://electronics.mysite.com/whatever-it-points-to
[You could also add .htaccess redirects but it won't retain the full URL without the wildcard passthrough above and function normally on subpages]