Page 1 of 1

Test Refs

Posted: Fri Aug 19, 2016 8:30 am
by happydg
Hello,

I run a multiniche site with about 6000 visitors last 24 hours. I activated "Redirect incoming hits to niche pages ?
Based on Referer".

When i click on test refs, it loads for a while then just show the table "Keyword|Hits" but without any keywords as results.

Thank you.

Re: Test Refs

Posted: Fri Aug 19, 2016 8:32 am
by admin
"Script will output often repeated words from referers that missed niche redirect."

probably you don't have any non handled refs right now

Re: Test Refs

Posted: Fri Aug 19, 2016 8:53 am
by happydg
When i go to one of my trade and goes to his french category and click on my site it goes to this url:

www.domain.com/category/french/?1&force_lng=fr

In custom niche redirect url i set this url: http://{DOMAIN}/category/{NICHE_NAME}/

How to redirect to www.domain.com/fr/category/category_name/ instead?

Thank you.

Re: Test Refs

Posted: Fri Aug 19, 2016 9:55 am
by admin
Try

http://{DOMAIN}/{LANGUAGE}/category/{NICHE_NAME}/

Re: Test Refs

Posted: Fri Aug 19, 2016 11:32 am
by happydg
Now it goes to

www.domain.com/fr/category/french/?1&force_lng=fr

How to get rid off ?1&force_lng=fr

Re: Test Refs

Posted: Mon Aug 22, 2016 9:37 am
by admin
Sorry, I didn't managed to repeat it at localhost
PM admin area and headers to request a page (and a redirect)

Re: Test Refs

Posted: Mon Aug 22, 2016 9:42 am
by happydg
PM sent.

Re: Test Refs

Posted: Mon Aug 22, 2016 12:00 pm
by admin
I guess you have something like

RewriteRule ^([^/]{2})/(.*)$ $2?force_lng=$1&%{QUERY_STRING} [L]

in .htaccess file

Re: Test Refs

Posted: Mon Aug 22, 2016 12:06 pm
by happydg
Yes because i have multilingual sites: http://smartcj.com/wiki/doku.php?id=multilingual_sites

Is there anyway to remove ?1&force_lng=fr in the url and still have multilingual site?

Re: Test Refs

Posted: Thu Aug 25, 2016 10:36 am
by admin
The fix for this situation has been uploaded.
Please, check it it's what you need.