WordPress.org

Ready to get started?Download WordPress

Forums

want to remove a directory from the url of multi user (1 post)

  1. healingapostle
    Member
    Posted 2 years ago #

    I am in the process of migrating my site form one server to another, I thought this would be a great time to implement the new multi-user capabilities of wordpress, I have 28 blogs for local cities, that all currently have a separate installed version of wordpress, on the new server they are all separate users. The issue I am having is this, under the old setup the urls were like this

    http://www.whatsyourdeal.com/wyddaytona

    because wordpress is not the main part of my site it resides in a subdirectory called blogs so the new url is like this

    http://www.whatswyourdeal.com/blogs/wyddaytona

    the problem is I don't want to lose all of my incoming links, I have tried setting the home field in the DB to http://www.whatsyourdeal.com/wyddaytona but I still get a 404 not found

    I have made several attempts in .htaccess but so far am unsuccessful, my latest attempt looking like this

    RewriteRule ^wyddaytona(.*) /blog/wyddaytona$1

    that is in the .htaccess in the root directory, this brings me to a wordpress page that tells me no posts matched my criteria but if I try to hit the http://www.whatsyourdeal.com/wyddaytona without the rewrite in .htaccess I just get a 404

Topic Closed

This topic has been closed to new replies.

About this Topic

  • RSS feed for this topic
  • Started 2 years ago by healingapostle
  • This topic is not resolved
  • WordPress version: 3.3.1