WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] What is this code in htaccess doing?

[Resolved] What is this code in htaccess doing?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Chris_K
    Member

    @handysolo

    It’s exactly what WP created on your behalf when you visited Options -> Permalinks and changed them from the “Default” option.

    Thanks! I am trying to learn more about the whole Google cannonicalization thing, 301 redirects etc. but it is a bit confusing.

    Now a follow up. Someone named Otto, (maybe the Otto42 from here?) posted the quote below on another site. I have the .htaccess file referenced above in my wordpress directory, which is right below the root directory of my domain. Ie: mysite.com/wordpress. Do I make the revision to that file or do I need another .htaccess file in the root directory?

    “While this plugin and other like it will indeed work, I really recommend using the .htaccess method instead, if you can get it to work.

    It’s actually very simple to do. Go to no-www org and scroll down the page until you find the post titled “Make your site Class B”. Copy that htaccess code into the .htaccess file at the root of your webpage. Change the “domain” to your own, obviously.

    Done and done.”

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] What is this code in htaccess doing?’ is closed to new replies.