Menu Content

Podpora

> Diskusní fóra, FAQs & placená podpora
Welcome, Guest
Username Password: Remember me

cononical redirect non-www to www
(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: cononical redirect non-www to www

cononical redirect non-www to www 16 years, 10 months ago #3708

I want to redirect anyone who doesn't type in www to be redirect to a www address. So Http://jrdtech.net goes to www.jrdtech.net I found this bit of code for the htaccess

Options +FollowSymlinks
RewriteEngine on
rewritecond %{http_host} ^jrdtech\.net [nc]
rewriterule ^(.*)$ www.jrdtech.net/$1 [r=301,nc]

problem with this is when I type in jrdtech.net/graphics/ its redirected to www.jrdtech.net instead of www.jrdtech.net/graphics/

Is there something I can do in artio to do this or perhaps artio isnt working right with that redirect???

Re:cononical redirect non-www to www 16 years, 10 months ago #3740

  • miun
  • OFFLINE
  • A pesimist is just a well-informed realist.
  • Posts: 563
If jrdtech.net/graphics/ its redirected to www.jrdtech.net instead of www.jrdtech.net/graphics/ then it has nothing to do with JoomSEF. JoomSEF starts where .htaccess and the web-server rewrite engine ends. This seems to be a .htaccess or the rewrite engine problem.

You should be able to find out when debugging on some test URL or with JoomSEF (Joomla SEO) off.
ARTIO Support Team
  • Page:
  • 1
Přihlášení uživatele Prázdný