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.

Can someone help me with 301 redirection code ?

Discussion in 'Apache' started by sourcer, Oct 29, 2006.

Thread Status:
Not open for further replies.
  1. #1
    I tried to add 301 to my website for ( sourcer.org to www.sourcer.org and index.php to www.sourcer.org ) and here is what i got :
    Here is the code that i put in .htaccess

    What is wrong ?

    Notice that i am using WP
    sourcer, Oct 29, 2006 IP
  2. e_hippie

    e_hippie Guest

    Likes Received:
    Best Answers:
    Trophy Points:
    Well, I may not 100% be the person to ask, as I ended up with similar results when trying to perform the same index.php redirect. But first off, I notice that you have duplicate code in repeating the "Options +FollowSymLinks" and
    "RewriteEngine on" commands. In any case, try dropping the content below the "RewriteRule ^(.*)$ http://www.sourcer.org/$1 [L, R=301]" line and I'll bet you at least get a site that always redirects to the www. version.
    e_hippie, Oct 30, 2006 IP
Thread Status:
Not open for further replies.