Test Refs

Post Reply
happydg
Posts: 412
Joined: Mon Jul 08, 2013 2:22 pm

Test Refs

Post 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.
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: Test Refs

Post 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
Don't forget to run script update
happydg
Posts: 412
Joined: Mon Jul 08, 2013 2:22 pm

Re: Test Refs

Post 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.
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: Test Refs

Post by admin »

Try

http://{DOMAIN}/{LANGUAGE}/category/{NICHE_NAME}/
Don't forget to run script update
happydg
Posts: 412
Joined: Mon Jul 08, 2013 2:22 pm

Re: Test Refs

Post 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
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: Test Refs

Post by admin »

Sorry, I didn't managed to repeat it at localhost
PM admin area and headers to request a page (and a redirect)
Don't forget to run script update
happydg
Posts: 412
Joined: Mon Jul 08, 2013 2:22 pm

Re: Test Refs

Post by happydg »

PM sent.
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: Test Refs

Post by admin »

I guess you have something like

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

in .htaccess file
Don't forget to run script update
happydg
Posts: 412
Joined: Mon Jul 08, 2013 2:22 pm

Re: Test Refs

Post 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?
admin
Site Admin
Posts: 38004
Joined: Wed Sep 10, 2008 11:43 am

Re: Test Refs

Post by admin »

The fix for this situation has been uploaded.
Please, check it it's what you need.
Don't forget to run script update
Post Reply