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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T22:51:07+00:00 2026-05-26T22:51:07+00:00

I have spreadsheet which has column of 404 error link and its respective 301

  • 0

I have spreadsheet which has column of 404 error link and its respective 301 redirects.
for e.g)

404 error page                    301 redirect      

http://www.abc.com/1.php          http://www.abc/com/2.php
..............                    ............

The spreadsheet has around 1000+ links.

Is there any way in apache config or htaccess where can I handle bulk 301 redirects?

  • 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-26T22:51:08+00:00Added an answer on May 26, 2026 at 10:51 pm

    The best way for a Bulk setting is the RewriteMap directive in mod-rewrite. Note that this will not work in a .htaccess file. You’ll need to edit it in a real apache configuration file (and the good news is that will be really faster than a .htaccess dynamic configuration).

    Check the txt: keyword first.

    May be something like that:

    RewriteMap myredirects txt:/path/to/my/txt/map.txt 
    RewriteCond ${myredirects:$1} ^/.+
    RewriteRule ^(.+)$ %0 [R=302]
    

    When you’ll get it working well transform the 302 in 301, and convert the txt file to an faster hashmap with the dbm: keyword (and a httxt2dbm command, but that’s explained in the linked doc).

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

Sidebar

Related Questions

I have one spreadsheet which has 5 sheets All the sheets share the same
I have an Excel spreadsheet which has a pivot table on it. The data
I have a spreadsheet that has a small number of inputs, which drive a
Alright, I have a column named id which has 2000 ids in them, and
I have one Excel spreadsheet which has the following columns: Surname / First Name
I have a spreadsheet that I am sorting based on an item number column.
I have an Excel spreadsheet with 1 column, 700 rows. I care about every
I have an xml resultset which has to be converted using XSL for display
I have an object Project which has a number of fields, one of which
I have a ScrolledComposite which is a bit like an spreadsheet. It works mostly

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.