Forums

Google URL for my site isn't directing to my site (3 posts)

  1. eikelben
    Member
    Posted 9 months ago #

    Sorry if this is an easy question, but i'm a newbie to wordpress. When i installed wordpress it placed it in a folder, wordpress. As one would expect my address then was http://www.domainname.com/wordpress. I followed a tutorial on the wordpress site to move that so http://www.domanname.com points to my wordpress home page. Problem is, now when you google my name (to find my website) it still points to http://www.domainname.com/wordpress which lends a <i>page not found</i> error. Is there a simple way to fix this? I was wondering if there is a way to essentially create an alias in http://www.domainname.com/wordpress that would point to the necessary file(s) at http://www.domainname.com

    Thanks in advance for all your help!

    Nate

  2. UseShots
    Member
    Posted 9 months ago #

    You should add the following rule to your .htaccess file

    Redirect permanent /wordpress http://www.domainname.com

  3. eikelben
    Member
    Posted 9 months ago #

    Sorry, i'm very new... where exactly do i add this line of code?

Reply

You must log in to post.

About this Topic