1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Joomla Redirection

Discussion in 'Joomla' started by Ritu yadav, Apr 17, 2013.

?

How can I redirect without www (domain.com) to with www (www.domain.com) in jooma?

  1. how to use redirect manager in joomla

    1 vote(s)
    100.0%
  2. home page redirection in joomla

    0 vote(s)
    0.0%
Multiple votes are allowed.
  1. #1
    How can I redirect without www (domain.com) to with www (www.domain.com) in joomla?
     
    Ritu yadav, Apr 17, 2013 IP
  2. MilesWeb

    MilesWeb Well-Known Member

    Messages:
    869
    Likes Received:
    35
    Best Answers:
    7
    Trophy Points:
    173
    #2
    Typically this works when inserted into the .htaccess file.
    Let me know if it works.
     
    MilesWeb, Apr 17, 2013 IP
  3. Ritu yadav

    Ritu yadav Member

    Messages:
    17
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    31
    #3
    Hello miles,
    Ya I am aware about this code, and i hv added this code in htaccess file but its not working. There is any other way to redirection in Joomla.
     
    Ritu yadav, Apr 18, 2013 IP
  4. MilesWeb

    MilesWeb Well-Known Member

    Messages:
    869
    Likes Received:
    35
    Best Answers:
    7
    Trophy Points:
    173
    #4
    Add the code below in .htaccess file under the root directory of the domain. Should work as expected.

    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^domain.com$
    RewriteRule ^(.*)$ "http\:\/\/www\.domain\.com\/$1" [R=301,L]
     
    MilesWeb, Apr 18, 2013 IP
  5. Maestroc

    Maestroc Well-Known Member

    Messages:
    124
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    123
    #5
    Are you using a third party SEF component like JoomSEF or 404sef? If so it is possible that one of those components could override the htaccess code fix suggested above. Or, if need be, try installing one of them and turn on that setting in the component's control panel.
     
    Maestroc, Apr 18, 2013 IP