Wordpress URL Redirection?

by 8 replies
10
Hello, I have a wordpress blog. My URLs for Category is like:-

/category/technology

And I have changed the URL to :-

/technology

Now the previous URL is indexed And it is 404 now, how can i redirect the old url to new one ? so it dosent affect my post in the categories
#website design #redirection #url #wordpress
  • There is a plugin called Redirection that looks like what you want.

    It does 401 permanent redirects so you can set it up so that

    http://yourwebsite.com/category/technology redirects to
    http://yourwebsite.com/technology
    • [2] replies
    • Agreed, just use the 301 redirect plugin.
    • Thanks for letting us know. I had no idea about this plugin.
  • Actually you can fix it with the .htacess and just remove /category/ automatically,

    How to: Remove /category/ from your WordPress url
    Check this link =>
  • Reading this thread reminded me of another plugin I saw a little while back called "Permalink Finder". Whilst it's not something that would cure this particular problem I thought it was worth a mention here anyway (because of the reference to 404 errors)...

    "The Permalink Finder Plugin detects when WordPress cannot find a permalink. Before it generates the 404 error it tries to locate any posts with similar words."

    WordPress › Permalink Finder Plugin « WordPress Plugins

    Hope someone finds it useful
  • Add this code in head section of your .htaccess file

    RedirectMatch 301 ^/([^/]+)/([^/]+)$ http://yourwebsite.com/$2

    Don't forget to change yourwebsite.com by Your SITE URL.

    Also try Permalink Finder plugin.
    • [1] reply
    • Pretty link is another redirection plugin, it can be used for aff links and it shows stats.
  • you can use plugin in the wordpress.org site

Next Topics on Trending Feed