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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T10:30:42+00:00 2026-06-14T10:30:42+00:00

After searching for many post here, I found no luck they are slightly different

  • 0

After searching for many post here, I found no luck they are slightly different but I can’t handle for now. Please pardon me about this. This are post here I’ve tried:

  • How to Redirect All urls to a new domain in apache, except one
  • .htaccess rule redirect all pages except a few provided ones
  • How to 301 redirect all pages from one domain to one single page on a different domain

Here is what I want to acquired:

  • all url in http://www.olddomain.com permanint redirect to http://www.exampledomain.com/page,
  • and in http://www.olddomain.com have a page that should be redirect to http://www.exampledomain.com/pagesample

Please note: the old olddomain.com have no files except the index and this htaccess, and the http://www.exampledomain.com is a wordpress site.

Thanks in advance

  • 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-06-14T10:30:43+00:00Added an answer on June 14, 2026 at 10:30 am

    I’m a little confused about this sentence:

    http://www.olddomain.com is have a page will be redirect

    I’m assuming you mean http://www.olddomain.com/page redirect to http://www.exampledomain.com/pagesample

    RewriteEngine On
    
    RewriteCond %{HTTP_HOST} .*olddomain\.com$
    RewriteCond %{REQUEST_URI} /page/
    RewriteRule ^ http://www.exampledomain.com/pagesample [L,R=301]
    
    RewriteCond %{HTTP_HOST} .*olddomain\.com$
    RewriteRule ^(.*) http://www.exampledomain.com/page/$1 [L,R=301]
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

First post here, I have tried searching but couldn't find what I'm looking for
I know this is a repetitive question, but after searching for many similar questions
This title has been used many times but after searching around 5-6 examples, I
After one week searching and converting many algorithm from other language into php to
There are a few posts about this, but after hours of searching I still
After many hours spent on reading documentations and searching for some tips on the
I'm no php expert (a mere beginner) but need some help! After hours searching
It's my first time writting there but after reading and searching a lot about
after searching for a while I found the SQL query that gives me the
After searching, can't find the answer to this simple question. Yes, I read 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.