Menu Content

Support

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

URL without www are redicted to homepage
(1 viewing) (1) Guest
Support forum for users using free edition of JoomSEF 3 (Joomla 1.5 compatible). These forums are mainly for mutual help between users.

Please note that due to our capacity limitations, we do not monitor these forums regularly.
  • Page:
  • 1

TOPIC: URL without www are redicted to homepage

URL without www are redicted to homepage 8 years, 2 months ago #37215

Hello guys,

I am really lost in the issue which appeared on my site in last day and I dont know the reason. I am using joomsef 3.10 and now my urls without www are not working eg I will put tu adress line page.com/something/ and I am not redirect to the article something but to www.page.com.... I tried to turn the domain handle on and of but still no effect or change, could you help? I can provide you more informations if needed.

Marek

Re: URL without www are redicted to homepage 8 years, 1 month ago #37397

  • dajo
  • OFFLINE
  • Posts: 5072
Hi,

Make sure that you don't have any custom RewriteRule set up in your .htaccess file that causes this.
ARTIO Support Team

Re: URL without www are redicted to homepage 8 years, 1 month ago #37414

thank you so much, I really have some custom redirect set in htaccess, because I have old websites which are now part of this main website as subpages, how can I setup those redictions for example if I have rediction set

RewriteCond %{HTTP_HOST} ^olddomain.cz$ [OR]
RewriteCond %{HTTP_HOST} ^olddomain.cz$
RewriteRule ^(.*)$ www.newweb.cz/article-for-old-domain/ [R=301,L]

can you advice me some way for fixing this to make it work?

Thank you so much

Re: URL without www are redicted to homepage 8 years, 1 month ago #37454

  • dajo
  • OFFLINE
  • Posts: 5072
I'm not sure what exactly you want to achieve. So for all the domain.cz/something you want to be redirected to www.newweb.cz/something? In that case just modify your RewriteRule line to:
RewriteRule ^(.*)$ www.newweb.cz/$1 [R=301,L]
ARTIO Support Team
  • Page:
  • 1
User Login Empty