Joomla pagination not working with alias url - joomla

I am working on joomla application. I am using SEO url for accessing application page, but some of page use alias. When I use pagination on alias pages it will give page not found error, but with SEO url it's working fine. Anybody have any suggestion for use pagination on joomla alias page.
SEO url: http://example.com/community/inbox
Alias url: http://example.com/inbox.html
Thanks

You should always use the non-url-safe notation in your code and add JRoute to it. This might look like this:
$link = JRoute::_(JURI::base()."index.php?option=com_yourcomponent&view=yourcomponent&Itemid=1&limitstart=20");
Above is a link to the second page in a component view, when displaying 20 items a page. Hope it helps.

Related

how to link to other website with codeigniter

I'm new to codeIgniter. Can you tell me, how to link to other website url in codeIgniter?
I tired to do like this:
google
But instead it gives me this
google
It always refers to the base url, even though I don't echo base_url(); on the href.
Thanks
When creating links to external pages, you must prefix the URL with either http:// or https:// , like this:
google
Technically this has little to do with CodeIgniter, but a difference between relative and absolute URLs.
If you did want to use CodeIgniter to generate the link, do this:
$this->load->helper('url');
echo anchor('http://www.google.com', 'Google');

Page Links in Magento 2

I have created a About us page from backend and trying to link that page to the About-us at the footer. I am using:
After clicking on About Us It's working. URL: http://localhost/magento2/about-us but there is a blank page, no header and footer.
you can do it by using Mage:
About Us
Use this code to call your page in cms content to call URL directly
{{store direct_url=about-us}}

Category Blog Pagination URL Rewriting in Joomla 3.X

I have facing two issues in the Joomla 3.X regarding the rewrite the URL of Category Blog pagination.
Problem 1. "?start=6 OR ?limitstart=6" to "/page/6"
Problem 2: By default in category blog pagination url it uses limit value for eg. if i have to set 5 articles in a page then on page 2 the url is ?start=6, I want the URL is /page/2.
Early response is highly appreciated.
Joomla! cannot do this out of the box. You will need an SEO plugin to accomplish this. sh404sef should be able to handle it.

Wrong url in magento paging

I have a problem regarding paging of the custom module. When i click on the next page the it take the url as localhost/magento/fme-support/index/index/url/BC/?p=1, but this url doesn't work properly, the correct URL is localhost/magento/fme-support/category/BC/?p=1.
Please suggest me how and i change this url.
Thanks.
Try making url rewrites off
If it doesn't work there is some issue with your extension you have installed
Check for redirect in your extension
The "index" in the URL means you are calling the index controller of the module.
Magento module URLs work like this
http://magento_installation.com/(storeview)/moduleMame/controllerName/functionName/

Get the SEF URLs for articles in Joomla

I use 'No Editor' in Joomla with SEF URLs enabled. With no SEF enabled it's easy to know the URL by just getting the ID of the article. Something like:
Article 1 would be:
http://www.abc.com/j15/index.php?option=com_content&view=article&id=1&Itemid=1
Now if I have SEF switched on, I would get URLs that look like:
http://www.abc.com/j15/the-content.html
Is there a way inside Joomla where I can find out what the SEF URL for a particular page is?
Currently I add these articles to a menu, then from the front-end I get the SEF URL and then use it. I know the process is a little dumb, but I want to find out if there is a better way inside Joomla where you can get the SEF URL (using 'No Editor').
Upload a component, sh404sef or ARTIOsef, to the administrator panel. Here you can manage SEF URLs as well as the old URL and what new name you want to give it.

Resources