Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
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

Re: fake domains not redirected to real domain 10 years, 4 months ago #45213

  • Slayer
dajo wrote:
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.

This optios is enabled.
The topic has been locked.

Re: fake domains not redirected to real domain 10 years, 4 months ago #45214

  • dajo
  • OFFLINE
  • Posts: 5069
What versions of Joomla and JoomSEF do you use?
ARTIO Support Team
The topic has been locked.

Re: fake domains not redirected to real domain 10 years, 4 months ago #45215

  • Slayer
dajo wrote:
What versions of Joomla and JoomSEF do you use?

2.5.22
4.5.2
The topic has been locked.

Re: fake domains not redirected to real domain 10 years, 4 months ago #45220

  • dajo
  • OFFLINE
  • Posts: 5069
Hi,

The "Always use www domain" option in JoomSEF should be working, I've just tested it on our server. Redirecting from wwwsite.domain.com to www.domain.com works correclty.
Please note that if the original URL is www.site.site.com (with the dot after www) the redirect won't occur.

You can try adding the QSA flag to your RewriteRule in .htaccess to preserve the query string, like this:
RewriteRule ^(.*)$ www.site.org/$1 [R=301,L,QSA]

Other than that I can only offer you our paid support service to check the problem directly on your web server. For pricing please see: www.artio.net/e-shop/support-services/joomla-support-1h
ARTIO Support Team
The topic has been locked.

Re: fake domains not redirected to real domain 10 years, 4 months ago #45224

  • Slayer
dajo wrote:
Hi,
The "Always use www domain" option in JoomSEF should be working, I've just tested it on our server. Redirecting from wwwsite.domain.com to www.domain.com works correclty.
Please note that if the original URL is www.site.site.com (with the dot after www) the redirect won't occur.

Ok

dajo wrote:

You can try adding the QSA flag to your RewriteRule in .htaccess to preserve the query string, like this:
RewriteRule ^(.*)$ www.site.org/$1 [R=301,L,QSA]

This construction need http:// or not working, if you don't know. ;)


dajo wrote:

Other than that I can only offer you our paid support service to check the problem directly on your web server. For pricing please see: www.artio.net/e-shop/support-services/joomla-support-1h

No, thanks. ;)

Now, i disable redirect in nginx, JoomSEF - only redirect in htaccess now stay, but still cutting full url for redirection.
The topic has been locked.

Re: fake domains not redirected to real domain 10 years, 4 months ago #45227

  • Slayer
I found Solution!

Rewrite rules must be placed in section
## Begin - Custom redirects
#
# If you need to redirect some pages, or set a canonical non-www to
# www redirect (or vice versa), place that code here. Ensure those
# redirects use the correct RewriteRule syntax and the [R=301,L] flags.
#
RewriteCond %{HTTP_HOST} !^www.host.com$ [NC] ## will match any domain that's not our main domain
RewriteRule ^(.*)$ www.host.com/$1 [R=301,L]
## End - Custom redirects
The topic has been locked.
  • Page:
  • 1
  • 2
Přihlášení uživatele Prázdný