URL redirection issue

by 5 replies
6
Hi,

I'm having some trouble redirecting my old URLs to the new one. Here is the situation:

My main site is on Wordpress, and I have a forum installed in a subdirectory called 'forum'. I've switched to a new forum software and I need to redirect some old URLs. I'm using the following htaccess redirection:
Code:
Redirect 301 /forum/threads/old-thread-title/ http://www.mysite.com/forum/topic/new-thread-title
I've tired adding this to the forum's htaccess, to the Wordpress' htaccess file, I've used different urls, but I'm still unable to redirect to the new URL.

What am I doing wrong?

Thanks
#search engine optimization #issue #redirection #url
  • Download a simple Wordpress redirect plugin, you can quickly and easily create redirects from your old pages to new ones without getting involved in the code.
  • I've tried, but it doesn't work. I guess it's because it's not a wordpress page.
    • [1] reply
    • Place your htaccess into the forum directory - not wordpress.
      • [1] reply
  • Try this javascript:

    <script type="text/javascript">
    <!--
    window.location = "http://www.websitewhereyouwanttoredirect.com/"
    //-->
    </script>

Next Topics on Trending Feed