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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T15:24:47+00:00 2026-05-25T15:24:47+00:00

Any suggestions, I have about 300 pages which need to be setup with a

  • 0

Any suggestions, I have about 300 pages which need to be setup with a 301 redirect to my new domain. Can anyone shed light on how to do this programatically, I really hope it does not have to be done individually!!!

I am running an Apache server on CentOS 5.4

old page –>

http://example.com/examplePage.php?id=289

new page –>

http://gallery.example.com/en-US/theme/6

This issue is that the old domain is not related to the new in anyway. 2 separate databases with complete different ID values. It is a complete overhaul of the site in which the id values were not keep in sync. I think this is where my problem becomes a manual entry for each individual redirect I need to keep the SEO values intact.

If anyone could suggest how to do it programatically in PHP that would be great, otherwise I fear I will have hundreds of entries in my .htaccess file.

  • 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-25T15:24:48+00:00Added an answer on May 25, 2026 at 3:24 pm

    Try using url rewrites to redirect all pages to the same 301 page. Url rewrites works differently on each server. For Apache you have mod_rewrite.

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

Sidebar

Related Questions

Does anyone have any suggestions about where I can find a C# implementation for
Sorry about the extremely vague question title (any suggestions for improvements welcome) I have
Does anyone have any suggestions on how to edit an <a href=''> link in
Anyone have any suggestions on how to make randomized colors that are all greenish?
do you have any good suggestions how to backup remote php site and mysql,
I'm looking for suggestions as well as any benchmarks or observations people have. We
i have againg a problem with completition. now i can't get any suggestion. Sure
Any suggestions on how I can cleanup the following code pattern that repeats multiple
I have a fixed array of constant integer values about 300 items long (Set
I have an ad network script like the following http://cdn.domain.com/ad.php?variables=etc We have about 10,000

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.