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

  • SEARCH
  • Home
  • 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 6646603
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T00:26:12+00:00 2026-05-26T00:26:12+00:00

I have this address http://www.example.com and have this page http://www.example.com/world . Can I do

  • 0

I have this address http://www.example.com and have this page http://www.example.com/world.
Can I do this with mod_rewrite,to my page become http://world.example.com ?
Any link,tutorial,…,will be nice,if I can do this?
And what will be with these links for example:

  http://www.example.com/world/some-other-page
  http://www.example.com/world/and-second-apge

will these links also be rewritten to :

 http://world.example.com/some-other-page
 http://world.example.com/and-second-apge

Another question,is this good for SEO ?

I’m sorry on my bad English.

  • 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-26T00:26:12+00:00Added an answer on May 26, 2026 at 12:26 am

    Try this:

    RewriteEngine On
    
    RewriteCond %{http_host} ^domain.com [nc]
    RewriteRule ^(.*)$ http://www.domain.com/$1 [R=301,NC]
    
    RewriteCond %{HTTP_HOST} ^www\.domain\.com$ [NC]
    RewriteRule ^world/([a-z0-9\-_\.]+)/?(.*)$ http://$1.domain.com/$2 [QSA,NC,R,L]
    

    so:

    http://www.domain.com/world/page => http://world.domain.com/page
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

For example I have this address: http://www.domain.com/page/ page-name page-name is always changed, by the
I have access to some images that can be gathered like this: http://www.example.com/imageGetter.php?a=0001 If
Background: Suppose I have a website that is hosted on http://www.example.com and the site
I have a website. If I login in the domain of this format http://example.com
addressString = BOOKNO= [1] From= [ 2011-02-28 07:00:52] To= [2011-03-17 07:01:02] Link= [http://www.example.com] SINCE=
I have installed kloxo control panel, this is the address http://173.212.227.142:7778/ . Then I
I have this bit of JavaScript... 15 $('.ajax_edit_address').each(function() { 16 $(this).ajaxForm({ 17 target: $(this).parents('table.address').find('tr.address_header').children(':first'),
I have this webserver that have an IP address xxx.xxx.xx.x, I also have a
Say I have this table: Person table -------------- PersonId Address table ------------ AddressId PersonAddressId
I have a variable that contains a 4 byte, network-order IPv4 address (this was

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.