Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 204071
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T17:26:06+00:00 2026-05-11T17:26:06+00:00

Any recommendations or best practices for mapping a subdomain to a WordPress page: http://my-page.mydomain.com

  • 0

Any recommendations or best practices for mapping a subdomain to a WordPress page:

http://my-page.mydomain.com -> http://mydomain.com/my-page

I don’t want to do a redirect either, just keep the original subdomain URL until a different link is click, and then the subdomain is removed.

I’m using Apache 2 with mod_rewrite, wordpress 2.7 with pretty-urls, and php 5.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-11T17:26:06+00:00Added an answer on May 11, 2026 at 5:26 pm

    As already mentioned I would use mod_rewrite to get this done. Something like the following should work in the my-page.mydomain.com virtual host

      RewriteEngine on
      RewriteRule (.*)  http://mydomain.com/my-page$1 [P,L]
    

    This will require you to enable mod_proxy. Please read the security implications of doing this on the Apache website http://httpd.apache.org/docs/2.2/mod/mod_proxy.html

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Any best practices/recommendations on the installation folder for the Android SDK? Following http://developer.android.com/sdk/installing.html on
I've been searching google for recommendations on conventions or best practices when it comes
I'm wondering if there are any recommendations, best practises or top-tips for integrating a
What are the best practices and recommendations for using explicit del statement in python?
What are the best sites/books for learning Apache from scratch? Any recommendations?
Any recommendations on what UIView to use on the iPhone to create a listed
Does anyone have any recommendations of resources for learning ASP.NET specifically? I have a
Does anyone have any recommendations for applications or browser plugins that make browsing and
Does anyone have any recommendations for tools that you can add to Eclipse, Netbeans
Do any libraries exist with this functionality? Any recommendations would be useful. Thanks.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.