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.
Related
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
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.
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.
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 :)
I have many sites that run on a hosted rails 3 application on apache.
They can be multi-lingual and the domains are in this format www.example1.com/en , www.example2.com/de/pages/about-us , example3.hosted_sites.com/it/products/cars/hondas
The problem is that each domain has a www.example1.com domain as well that just uses the english local. This means that there is duplicate content on the 2 version ed www.example1.com and www.example1.com/en etc
What is the best way to add the /en into the requested url if a local is not specified ?
does anyone know a apache rule to do this ? i have many sites so its got to be generic / dynamic as cant look for a certain url in the url.
Or is this best done in my rails 3 app via a before filter ? anyone know how ?
Thanks alot
Rick
I have a similar scenario and use this plugin. It handles your translated routes with one default, eg
domain/someid --> english
domain/es/someid --> spanish
domain/de/someid --> german
https://github.com/raul/translate_routes