Support » How-To and Troubleshooting » Redirection : htacess vs WordPress settings

Redirection : htacess vs WordPress settings

  • Hi,

    Currently, I’m redirecting my website from abc.com -> http://www.abc.com via wordpress settings. Is there any difference if I do this via the .htacess file on my domain instead?

    Is this considered a permanent redirection? For example, abc.com will now go to http://www.abc.com, but is it a permanent redirection considering that I did not edit any file and just change it via a setting?

    I’m mainly concerned about how this will affect google pagerank and SEO as I do not want both abc.com and http://www.abc.com to develop their own separate pagerank. Which approach will be the best? Changing via wordpress settings or via .htacess file edit?

Viewing 8 replies - 1 through 8 (of 8 total)
  • whooami



    its impossible for me to tell you whether or not its a perm. 301 since you didnt provide a real url.

    how do you tell if its a perm 301? all connections via abc.com will be changed to http://www.abc.com but currently this is done via wordpress settings, not via my htacess file




    how …

    the same way anyone else would. are you asking me to tell you how to test this? or questioning my reasoning??

    if it couldnt be done, you wouldnt be concerned about whether or not it actually is, right?

    I cant give a “the code does this, therefore..” answer. I can only tell you whats currently going on.

    ok, the link is alternatesam.com




    here, I broke the urls for you.

    HTTP/1.1 301
    Date: Sat, 04 Apr 2009 16:56:12 GMT
    Server: Apache/1.3.41 (Unix) mod_fastcgi/2.4.6 mod_log_bytes/1.2 mod_bwlimited/1.4 mod_auth_passthrough/1.8 FrontPage/ mod_ssl/2.8.31 OpenSSL/0.9.7a
    X-Pingback: http://www. alternatesam. com/xmlrpc.php
    X-Powered-By: PHP/4.4.9
    Location: http://www. alternatesam. com/
    Transfer-Encoding: chunked
    Content-Type: text/html; charset=UTF-8

    thats all you really need to do, but the other alternative would be to send a

    HTTP/1.1 301 Moved Permanently

    Hmmm, I’m not too sure what you mean. so is my current set-up ok, or should I just add this to the htacess file

    Options +FollowSymlinks
    RewriteEngine on
    rewritecond %{http_host} ^alternatesam.com [nc]
    rewriterule ^(.*)$ http://www.alternatesam.com/$1 [r=301,L]

    and change my wordpress setting to default?




    im saying what you are doing is fine.

    Ok, thanks for your help!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Redirection : htacess vs WordPress settings’ is closed to new replies.