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.

New to Wordpress.

Discussion in 'WordPress' started by Emie., Jun 30, 2008.

  1. #1
    I just downloaded and installed Wordpress 2.5.1. I always create a htaccess file to redirect non www to www and I noticed that in the dashboard I could just change the url in Wordpress to www and now it redirects non www to www. So now there's no need for a 301 redirect in htaccess for this version of Wordpress? Am I right?
     
    Emie., Jun 30, 2008 IP
  2. Nigel Lew

    Nigel Lew Notable Member

    Messages:
    4,642
    Likes Received:
    406
    Best Answers:
    21
    Trophy Points:
    295
    #2
    Yep, in fact, create a blank .htaccess and upload it. Then go to settings>permalinks and select custom and stick this in the space /%postname%/ if you want categories in your url use /%category%/%postname%/

    the former will give you site.com/postname anything www related should get sorted out as well. :)
    hope that helps,
    Nigel
     
    Nigel Lew, Jun 30, 2008 IP
    jkrish41 likes this.
  3. leronford

    leronford Peon

    Messages:
    34
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Here's a link to a WP Redirect Plugin that I think will do the same thing.

    http://scott.yang.id.au/code/permalink-redirect/
     
    leronford, Jun 30, 2008 IP
    jkrish41 likes this.
  4. esidyo

    esidyo Peon

    Messages:
    4,589
    Likes Received:
    316
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Yes, There is no use of that 301 Redirect.

    Just logon to your site acp, http://yoursite.com/wp-admin

    Login and then go to Settings Tab found on the right top corner, Over there you can see something like this.

    [​IMG]

    Over there if you add the non www then your site will be a permanent non www or if you add a www then your site will be permanent www.

    Also create a blank file and name it .htaccess and CHMOD it to 777 if you are in need of better permalinks

    Hope this helps :)
    Esidyo
     
    esidyo, Jul 6, 2008 IP