OpenCart SEO URLs -> Links are not rewrited? - 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

Related

Umbraco URL issue with Vorto

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.

How to set Opencart URL category like this www.example.com/category/laptop

How to set Opencart Ver 2.0.3.1 URL category like www.example.com/mycategorykeyword/categoryname?
I also set SEO URL in admin panel and also the .htaccess.
Maybe check this thread about a related question. At this time, different solutions have been proposed, but mainly for the former version of OC (1.x and not 2.x).

ModX: Changed to Friendly Alias URLS but now Wayfinder isnt working

I've used Wayfinder in my template, eg:
[[Wayfinder? &startId=`8` ]]
and it was working fine until I turned on friendly urls (by going: System>>System Settings>>User Friendly URLS)
Now none of my links work. On top of this if I click the 'View' button from a resource page or enter the full url into a browser I get a 404 error.
Am I missing something in this process?
(ps Im using Revo 2.1.3)
Have you configured your .htaccess file? It's required for friendly urls. When you install MODX it's named ht.access, so you'll need to rename it to .htaccess.
If you've installed MODX in a subfolder you'll also need to set it here:
RewriteBase /folder-name
As Sean suggested, you'll also need to clear your cache to have your Wayfinder menu rebuilt.
it's probably your cache - just clear it and you should be fine.

Opencart -> Clean URLS

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 :)

Something wrong with redirects on my Joomla 1.5.18 site

My Joomla 1.5.18 site, I enabled login, when I click login the page I get sent to is NOT styled with CSS. If I login it redirects to the home page and it is not styled anymore either.
It looks like it is recursively appending stuff to the URL incorrectly.
http://www.myjoomlasite.org/index.php/index.php/login
if I click on home page or login links it keeps putting more and more index.php entries in the URL, and sometimes on the end. The following is what I get when I try and go to a JEvents menu item.
http://www.myjoomlasite.org/index.php/index.php/index.php/index.php/upcomingevents/month.calendar/2010/06/09/index.php
Anyone have any idea why this is happening? I don't know what to search for on Google apparently, and none of the Joomla! books I have address this.
I figured it out I had turned on Search Engine Friendly URLs in SEO Settings under Global Configuration. Turning this back off fixed the problem. Now I guess another question will be along the lines on how to get the Search Engine Friendly URL's to work again.
Make sure you link to stylesheets and images using a link that starts with a leading slash and therefore counts from the root.
It is the browser that evaluates the URL for those resources, based on the URL of the currently viewed HTML page. Never use relative links for these resources.

Resources