WordPress.org

Ready to get started?Download WordPress

Forums

Permalinks using just %postname% and 404s. (2 posts)

  1. lucasmcdonnell
    Member
    Posted 7 years ago #

    Hi all,

    I've changed my permalink structure to Custom -> /%postname% (I know there are suggestions against this, but I'd still like to use just /%postname% or possibly /%category%/%postname%.

    However, when accessing links to my site that reside on another site, they show up as 404s. I've tried setting up redirects by adding the following line to my .htaccess file without any luck(of course the one below is just an example):

    redirect 301 /old/old.htm http://www.you.com/new.htm

    I don't mind creating redirects for all the pages, but am at a loss as to how to get this to actually work. I am I doing something wrong? Any help would be greatly appreciated.

  2. kservik
    Member
    Posted 7 years ago #

    Try with capital R.

    Redirect 301 /old-page.php http://www.site.com/new-page.php

Topic Closed

This topic has been closed to new replies.

About this Topic