Title: .htaccess problem
Last modified: August 18, 2016

---

# .htaccess problem

 *  [ivorybishop](https://wordpress.org/support/users/ivorybishop/)
 * (@ivorybishop)
 * [19 years, 7 months ago](https://wordpress.org/support/topic/htaccess-problem-5/)
 * Hi all. I recently moved from Drupal to WordPress for my main site and now I 
   have a problem I cannot seem to solve. My site was under Drupal which had a nasty
   habit of making links like this [http://www.site.com/?=somenode](http://www.site.com/?=somenode).
 * After lots of copying these links and posting them arounf the net, I now have
   an issue where I cannot seem to figure out how to redirect them to the new site’s
   node.
 * I am trying to redirect [http://www.site.com/?=somenode](http://www.site.com/?=somenode)
   to subdomain.site.com or to [http://www.site.com/someothernode](http://www.site.com/someothernode).
   For clarity, the old node is now an entirely new site on a subdomain of the old
   domain.
 * Any ideas out there? I have tried dozens of things in .htacces to make this happen
   without any luck. Redirects and rewrite for other pages are working fine for 
   the [http://www.site.com](http://www.site.com) and for the subdomain.site.com.
   It seems to be just the .com/?=somenode part that is causing an issue.
 * Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [seanetcetera](https://wordpress.org/support/users/seanetcetera/)
 * (@seanetcetera)
 * [19 years, 4 months ago](https://wordpress.org/support/topic/htaccess-problem-5/#post-493241)
 * I’m having a similar issue. Any luck so far?
 *  [LostInNetwork](https://wordpress.org/support/users/lostinnetwork/)
 * (@lostinnetwork)
 * [19 years, 4 months ago](https://wordpress.org/support/topic/htaccess-problem-5/#post-493242)
 * Have you tried .htaccess based rewrite rules (and Apache mod_rewrite)?
 * You would probably need to map each and every page to a new address. It might
   be an awfull lot of work… Don’t ask me how. I have not used rewrite rules that
   much. Can’t help. The web is full of documentation.
 *  [seanetcetera](https://wordpress.org/support/users/seanetcetera/)
 * (@seanetcetera)
 * [19 years, 4 months ago](https://wordpress.org/support/topic/htaccess-problem-5/#post-493243)
 * The problem I’m facing is the if I put the following
 * `RewriteRule ^?q=node/95$ http://www.example.com/some_url/`
 * It doesn’t work. I’ve also tried numerous variations. It almost seems like the
   redirecting to index.php that wordpress does is causing an issue. When I use 
   the live header extension for Firefox, access to ?q=node/95 is redirected to ?
   q=node/95.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘.htaccess problem’ is closed to new replies.

## Tags

 * [htaccess](https://wordpress.org/support/topic-tag/htaccess/)
 * [redirect](https://wordpress.org/support/topic-tag/redirect/)
 * [WPadvanced](https://wordpress.org/support/topic-tag/wpadvanced/)

 * In: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
 * 3 replies
 * 3 participants
 * Last reply from: [seanetcetera](https://wordpress.org/support/users/seanetcetera/)
 * Last activity: [19 years, 4 months ago](https://wordpress.org/support/topic/htaccess-problem-5/#post-493243)
 * Status: not a support question

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
