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 7651007
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T11:23:52+00:00 2026-05-31T11:23:52+00:00

Edited: To better explain what i want. We want to move our frontpage http://www.example.com

  • 0

Edited: To better explain what i want.

We want to move our frontpage http://www.example.com, to a subpage http://www.example.com/sub-page.

So in order to keep our SEO ranking we need to write a 301 permanently moved. And we would like the sub-page URL to be displayed in the browser.
This should be displayed http://www.example.com/sub-page/

So the result will be if you try to enter http://www.example.com, your url will be rewritten to http://www.example.com/sub-page/ with a 301 redirect.

But every other page should not be redirected!
E.g. http://www.example.com/contact/ should still be the same.

And it should also take care of every variations of the root-domain.
With and without trailing slashes (example.com/ vs example.com)
With and without www (www.example.com vs example.com)

  • 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-31T11:23:54+00:00Added an answer on May 31, 2026 at 11:23 am
    1. Enable mod_rewrite and .htaccess. 
    2. Create and deploy your new home page as `/sub-page`
    3. Then put this code in your .htaccess file under DOCUMENT_ROOT:
    
    Options +FollowSymLinks -MultiViews
    # Turn mod_rewrite on
    RewriteEngine On
    RewriteBase /
    
    # reqest to example.com/ will be forwarded to example.com/sub-page
    RewriteRule ^$ sub-page [L,R=301]
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

(Edited to try to explain better) We have an agent, written in C++ for
Edited to better explain my problem I am trying to perform a zoom operation
Edited: I want to get the actual with of the document with JS. I
EDITED I'm using Twitter Bootstrap and need to move navbar right( not float:right, but
Edited with a SSCCE and a workaround I want to programmatically change the location
EDITED FOR BETTER UNDERSTANDING I made a custom control with propertise for some global
Note: i edited my Q (in the title) so that it better reflects what
(edited to give a better description of the answer I gave) I have created
I want my 2D sprites move just along some given paths(provided both position and
Edit: I've edited the sample to better resemble the problem I have, now the

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.