• I have a CMS wordpress website and a separate wp blog website.
    I would like to create a wordpress page called blog which immediately re-directs to the real blog on another website. I am trying to use .htaccess to do this.
    My permalinks are postname only (/%postname%/).
    my .htaccess, after setting up the permalinks, contains:

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /wp/
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /wp/index.php [L]
    </IfModule>

    # END WordPress

    I thought that by adding after the End statement:

    Redirect 301 /blog/ http://www.wholelifegardening.com/blog/index.php

    it might work, but it isn’t, it just displays the “dummy” wp page which should be redirected. I’m not sure the correct way to refer to the wp pages. I haven’t found quite this issue on other forum topics.

    my wordpress files are in mysite.com/wp.

    Any suggestions?

    The reason I’m doing this is so that I can intermingle pages created in wordpress with links to other pages (html), and have them all on the same list, in the order I want them, not as separate lists for links and pages. If there is a better way to do it than creating a dummy page and redirecting it to the html page, I’m open to suggestions. This is my first wp site.

    Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi!

    Have you tried plugins like this one?
    Quick Page/Post Redirect

    Thread Starter capelady7

    (@capelady7)

    Thanks! I’ll try the first one first and see how it goes.

    Thread Starter capelady7

    (@capelady7)

    I’ve tried the page-links-to, and that seems to work. Do I need to be concerned at all about how it does it? I didn’t see anything in .htaccess that looked like it was changed there, at least not specifically for that redirected page. I just want to make sure it’s done in a way that makes the search engines happy. I noticed in some forum topics that there are preferred ways of redirecting, as far as search engines are concerned. Or is this a question for the creator of the plugin?
    Thanks so much for your help! I thought I had searched the plugins but hadn’t seen exactly what I needed. I can, at least temporarily, and at least for this issue, stop figuratively pulling my hair out!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘redirect wp page to html page’ is closed to new replies.