Joomla 3.9 replaces CAPITALS in URL variables - url

I have website on Joomla 3.9 which repaces all letters in url to lowercase. It is good for SEO, But it is bad for Google Analytics, cause it cant find it's variable, cause Joomla made it lowercase.
I want Joomla made all to lower case except Get variables, coming after "?" sign in the URL
Now Url
domain.name/china?gclid=EAIaIQobChMIpejpq_7L_AIVRu translates to
domain.name/china?gclid=eaiaiqobchmipejpq_7l_aivru
which causes an error in Google Analytics.
Does anyone has an idea how to fix it?
I tried to edit .htaccess file - but no success. It is Joomla router makes this replace

Related

Joomla base URL incorrectly formulated

Somehow my Joomla after an upgrade from 3.4.7 to 3.4.8 is not formulating the base URL properly. The base is supposed to be "www.domain.com/en-us/" for the English version of the site. It renders the following as the base url "www.domain.comhttp://www.domain.com/en-us/www.domain.com/"
further rendering the following url for resources, such as for "green_leaf.png": "www.domain.comhttp://www.domain.com/en-us/www.domain.com/images/green_leaf.png". Consequently, the pages full missing page elements.
SEF is enabled. Multi Language Filter Plugin is enabled. Any ideas what could be the cause of this besides, the configuration and the htaccess files? Those file are pretty standard.
The first things I would confirm are
- in system > global configuration > site -- is URL rewriting set to yes and have you renamed htaccess to .htaccess?
- if yes then ftp to your site, open configuration.php in a text editor, locate the line setting the $live_site variable and change to
public $live_site = 'http://www.domain.com';
Good luck!
I have tried your suggestion, to specify the $live_site variable in the configuration.php file as you indicate, even though I have also been recommended to leave it empty. The results were the same, the issue remains.
Here is the latest on this matter:
I have created a local copy of the site on my machine from a backup that was still Joomla 3.4.7. The same issue appears. I have reverted back to an earlier backup with Joomla 3.4.6 version of the site, and the site's page was restored to normal. This is with the same exact .htaccess and configuration.php across the 3 Joomla versions.
I have also tried with "Options +FollowSymLinks" commented out in the .htaccess file that came with J3.4.8. On both the live hosted site and a locally hosted copy, same exact results, namely:
Using Google Chrome (with Language Filter Enabled and set to Remove URL Language Code)
On the live hosted site:
www.domain . comhttp://www.domain.com/www.domain.com/
On the localhost copy of the site: localhost/domainfolder/localhost/domainfolder/http://localhost/domainfolder/localhost/domainfolder/domainfolder
So this issue might be pertaining to Joomla versions 3.4.7 and 3.4.8. The challenge is that 3.4.6 also has critical security vulnerabilities.
Also tried with Language Filter Disabled - Same result (Base URL formulated as above) with the difference that all the languages are displayed at the same time on the home page with the resources that are not found because of the faulty base url.

OpenCart SEO URLs -> Links are not rewrited?

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

Drupal 6 - How to fix combination Dutch domain - English URI

In Google Webmaster Tools I have 60 non-existing combinations of my Dutch domain and the English original blog. Example:
http://website.nl/english-blog
The from English to Dutch translated blog exists.
This problem leads to a degraded customer satisfaction, as Drupal reports the web-page not to be found. What can I do to help Drupal find the correct translation, given the domain language.
I have checked the Global Redirect property to correct this, and automatically replace the English link with the Dutch link. To no avail.
I tried to correct it in Path redirect, but also to no avail. It is not allowed, because the module interprets it as the redirection of an alias, and advises the alias to be corrected. This does not work, because then the English web-page cannot be found.
My questions:
How do I fix this?
Why did I get it in the 1st place?
Thanks for any comment or suggestion.
Drupal up to date; Enabled modules: Global Redirect, Pathauto, Path Redirect.

Joomla Site URL

I have a website on a 1and1 server. I have 2 domains on the package; the default url somenumbers.websitehome.co.uk and my actual URL.
The problem is, Joomla quotes the somoenumbers.websitehome.co.uk in system e-mails instead of my actual URL. They both point to the same directory I just don't want to give a stupid URL to my users.
I think I have narrowed it down to the $siteUrl variable but I'm not sure how to go from here.
Thanks
James
At first I thought this sounded largely like a DNS issue - but then you said you only have 1 Joomla installation and both domains point to that directory.
If they're both pointing to the same directory, then both domains will display the same Joomla installation. That is, unless you're checking to see where they are coming from and having the content display dynamically based upon how they got to your site - but from your comments I doubt you're doing that. How your domains are behaving is the expected response if you're pointing them both to the same directory.
If you want 2 sites on the same hosting? Setup 2 databases (or apply different prefix for each site and use 1 database) and set up each website in it's own directory.
Adjust the DNS of each domain name (and subdomain name) to point the appropriate directory.
From there, use the .htaccess file and SEF URL's to get rid of any indicator of the directory so that it displays the same as if the site was in the root directory.
That is the best way to accomplish what you're after - because from the sounds of it Joomla is doing exactly as it should, displaying correctly what is in the directory since both domain names point to the same directory.
$siteUrl should be left blank.

How to redirect dynamic URLs to a static url?

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.

Resources