Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

fake domains not redirected to real domain
(1 viewing) (1) Guest
Support forum for customers who have purchased JoomSEF 4 (Joomla 1.6/1.7/2.5+ compatible). Archive only, no new post can be added.

NOTE: This category has been locked. If you have purchased paid version, please, use our Support Ticket system instead. If you are using free edition, please see the Community Support section.
  • Page:
  • 1
  • 2

TOPIC: fake domains not redirected to real domain

fake domains not redirected to real domain 10 years, 3 months ago #45206

  • Slayer
Hi,
I have strange problem.
See example.
real domain: www.site.com/category/article
Anybody type in such as: wwwsite.site.com/category/article and it see same arcticle as www.site.com/category/article but with adress wwwsite.site.com/category/article. I want that doing forward for all this urls to real domain.
I use file cache in Joomla 2.5.22
The topic has been locked.

Re: fake domains not redirected to real domain 10 years, 3 months ago #45208

  • dajo
  • OFFLINE
  • Posts: 5069
Hi,

You need to set up a manual RewriteRule in your .htaccess file to achieve this.
I've found a page that could help: dense13.com/blog/2008/02/27/redirecting-...o-www-with-htaccess/
For mod_rewrite documentation please see: httpd.apache.org/docs/current/mod/mod_rewrite.html
ARTIO Support Team
The topic has been locked.

Re: fake domains not redirected to real domain 10 years, 3 months ago #45209

  • Slayer
I use standart Joomla htaccess file.
Early i don't have this trouble.

About your links:
1. redirect fom site.com to www.site.com
2. Docs is cool but not solution for working with JoomSEF.

You think i first man with this trouble?
Maybe you have complete solution for this issue?
Thanks.
The topic has been locked.

Re: fake domains not redirected to real domain 10 years, 3 months ago #45210

  • Slayer
I found partial solution
RewriteCond %{HTTP_HOST} !^www.site.org$ [NC]
RewriteCond %{HTTP_HOST} site.org$ [NC]
RewriteRule ^(.*)$ www.site.org/$1 [R=301,L]

It redirect from all fake domains but not save full url after domain name.
But it must. ;)
This is strange.
The topic has been locked.

Re: fake domains not redirected to real domain 10 years, 3 months ago #45211

  • Slayer
On server side we use nginx as frontend and apache as backend.
The topic has been locked.

Re: fake domains not redirected to real domain 10 years, 3 months ago #45212

  • dajo
  • OFFLINE
  • Posts: 5069
Hi,

You can try setting the "www and non-www domain handling" option to "Always use www domain" in JoomSEF's Configuration. Other than that, redirecting from a non-existent sub-domain is not a feature supported by JoomSEF.
ARTIO Support Team
The topic has been locked.
  • Page:
  • 1
  • 2
User Login Empty