Hi I am new in joomla and have a question about href tag on custom module.
record1
I have this on my view file and how can i give a link on this href?
the link must be support while i change the url type suppose seo friendly urls by global configuration. I have no idea about it. is link from database or statically? and how?
Take a look at JRoute, simple way to write Joomla URLs. Your urls will be rewritten automatically if you use Joomla SEF urls or 3rd party SEF components like sh404SEF.
Related
I am using vorto plugin in my Umbraco 7 application to achieve the multilingual capability.
I mentioned the URL in hostname as 'localhost/clientname/en'.
Whenever I open login page the URL which is getting form is 'http://localhost/clientname/en/login'.
This is the structure of vorto URL writing.
But can I achieve it like 'http://localhost/clientname/login/en' ???
I want language names at the end of the URL, not in between.
Is it possible ?
Please help....i am badly stuck in my project task !
It sounds like you need a custom URL provider, setting the domain to 'localhost/clientname/en' will mean that the URLs will always get added AFTER the language part as the host is always the first part of the URL.
Have a look at this article on URL providers and content finders: https://24days.in/umbraco-cms/2014/urlprovider-and-contentfinder/ it's quite old, but it should still work. That should give you an idea of how to make it work. Basically you want the URL provider to append the language to the end of the URL, and the content finder to strip the language from the end and then find the actual content. You can also then set the language of the current thread in the content finder so that Vorto and Umbraco are using the correct language based on the URL.
Fresh install of OpenCart, ive tried to enable URL Rewriting (SEO URLs) in the Admin Panel ..
I set up all my .htaccess correctly (but its obvious that this is not the problem)
Because : All links on the website ARE NOT REWRITED and still use $_GET['route'] value in it .. Example, the "My Account" link point to :
http://notjunk.ca/index.php?route=account/account
instead of
http://notjunk.ca/account/
(or something like this, i dunno im new to OpenCart)
I tried to clear the cache in system/cache/* but it doesnt works
How can I have URL without "index.php?route=XY" and instead, the $_GET['route'] contents is the URL itself (usually, like other CMS does) ?
Thanks !
Unfortunately this is not something that is available in OpenCart by default. Only the Products, Categories, Manufacturers and Information pages allow you to customise the urls through the use of their SEO Keyword field
However, there are commercial extensions available to do this such as this one
I would like to convert my existing website to Joomla. However, I need finer control over URLs than I seem to be able to control with Joomla. Assuming that Joomla is installed in the base public_html directory of my user, I would like these pages to keep their URLs:
http://dotancohen.com/howto/rtl_right_to_left.html
http://dotancohen.com/eng/genealogy.php
http://dotancohen.com/heb/contact_info.html
I am aware that I could use a 301 redirect via .htaccess however I would prefer to actually configure the canonical URL of the page. Is this possible in Joomla or with an extension?
Unquestionably, the defacto standard extension is At http://extensions.joomla.org/extensions/site-management/sef/10134. It's highly configurable, well supported, and ver well rated.
In Joomla! 2.5 you can use the built-in Redirect component to catch old URLs and send them to the right content without fiddling with the .htaccess.
You can also create menu's and menu items that will match the old paths then all you need is to place the content of your .html files into suitable articles. Remember you can create a menu (and thus a path to the content) but not display the menu anywhere on the site.
The genealogy.php appears to be a separate application so you can approach that by doing two things, first have a /eng/ directory on your new website with the genealogy.php application in it that way it will have the same URL. Then if you want to create a menu item in a Joomla! menu then you can link to it using a menu item of type 'External Link' - you can read more about the menu types by clicking on the help button in the toolbar.
[EDIT]
For external pages if you want to wrap the external application in your template use a menu item type of Iframe Wrapper this will place them in the main component area of the template. With a good Joomla! 2.5 template you can use a template style specific (i.e. layout settings) for that page.
I am running my site on Apache Sever with Joomla CMS. I need to re-write a dynamic url to keyword rich url.
I am new to url re-writing, I have been trying to solve this, but unable to succeed in this. In the website, i have used the keyword rich url for navigation, but i found this url in yahoo.. Don't know from were this url is coming...
I have the url as www.example.com/keyword-rich-url.html, but other dynamic url is also being indexed by yahoo..
The dynamic url is www.example.com/index.php?option=com_content&view=category&layout=blog&id=61&Itemid=92
I want to re-write it to www.example.com/keyword-rich-url.html and redirect this dynamic url to the url which is used in the website itself, i.e http://www.example.com/keyword-rich-url.html
I tried this code
RewriteRule ^index.php?option=com_content&view=category&layout=blog&id=61&Itemid=92$ http://www.example.com/keyword-rich-url.html [R=301,L]
Any suggestions?
Before posting a question, do your own research and read Joomla documentation.
Check "Global configuration" section in Joomla Administration. There are options for SEO rewriting. Set them properly and make sure you rename htaccess.txt to .htaccess in the web root of your Joomla installation.
I am using Opencart 1.4.9.4 is there a way that I can change my urls from the query string to category/product?
Example:
Current:
index.php?route=product/category&path=57
Wanted:
domain.co.nz/animals/monkey.php
I have tried google but I have been getting mixed answers with the seo_urls.php and .htacess documents.
1.4.X doesn't have a URL class, so unfortunately not. 1.5.X supports this however
OpenCart does support SEO friendly URLs by default. So you don't have to add a module or modify the code for that.
All you need to do is to locate the file .htaccess.txt under the home folder of your website and rename it to .htaccess and also enable the SEO Friendly URLs option from your admin control panel.
After you've done all that, you can set the "SEO Keyword" for your products by editing them.
Indeed, in recent versions it is supported.
But Be aware of default Opencart SEO friendly URLs.
For example, you can have domain.co.nz/animals/monkey.php urls.
But product monkey belongs to several categories. So you have:
- domain.co.nz/animals/monkey.php
- domain.co.nz/primates/monkey.php
And both links point to the same product page. It will produce duplicates in Google. And products HTML doesn't even contain canonical meta tags.
No so friendly URLs :)