WordPress.org

Ready to get started?Download WordPress

Forums

Redirect wordpress page to static html home page (6 posts)

  1. valgee
    Member
    Posted 2 years ago #

    I have a static html website with a WordPress blog in a subdirectory. I want to have a link in the WordPress nav menu that goes to my html homepage. I tried to create a new static WordPress page with a 301 redirect but it didn't work. I used:

    Redirect 301 /home-page/ http://www.myhomepage.com

    and I put this above the wordpress entry that was already in my htaccess page, and there are no blank lines or spaces in between. But it doesn't redirect (at least I don't get an error message).

    Is there another/better way to do this? I'm using the Twentyten theme.
    Thanks

  2. valgee
    Member
    Posted 2 years ago #

    I should have added to the above that I also tried to add a custom link via the menu but again, it is not going to http://www.myhomepage.com like I want it to. In fact, WordPress seems extremely slow at updating whenever I make a change, and even when I clear the cache it still shows the old version.

  3. I think that you'll need to provide a link to your site. It's hard to know what's going on without seeing it.

  4. valgee
    Member
    Posted 2 years ago #

    Here is the link to the blog: http:/www.digitalphotos101.com/blog
    I want the "digital photos 101 home" link to go to my html home page http://www.digitalphotos101.com but I can't seem to get it to work, even though I set up a custom page with the correct link. Thanks.

  5. dragonsjaw
    Member
    Posted 2 years ago #

    The link you have in your menu is incorrect, it is pointing to your blog. .. are you using wp custom menus?
    You can use this :
    http://www.digitalphotos101.com/

    in the custom menu part to get the link to go to your home page.

  6. valgee
    Member
    Posted 2 years ago #

    Thanks, I finally got it right.

Topic Closed

This topic has been closed to new replies.

About this Topic