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

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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T19:38:12+00:00 2026-06-13T19:38:12+00:00

how do I redirect urls from old url to new url? Here is the

  • 0

how do I redirect urls from old url to new url? Here is the case:

http://www.lorem.com/ipsum/dolor/sit -> http://www.lorem.com/ipsum/dolor/amet
http://www.lorem.com/ipsum/dolor/sit/lipsum -> http://www.lorem.com/ipsum/dolor/amet/lipsum
http://www.lorem.com/ipsum/dolor/sit/vulvat -> http://www.lorem.com/ipsum/dolor/amet/vulvat
http://www.lorem.com/ipsum/dolor/sit/lol    -> http://www.lorem.com/ipsum/dolor/amet/lol

The customer has renamed sit to amet. Do I have to create one redirect per link, or can I redirect sit to amet and all the pages under sit in one go?

  • 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-13T19:38:13+00:00Added an answer on June 13, 2026 at 7:38 pm

    You will need only one RewriteRule to handle this.

    Enable mod_rewrite and .htaccess through httpd.conf and then put this code in your .htaccess under DOCUMENT_ROOT directory:

    Options +FollowSymLinks -MultiViews
    # Turn mod_rewrite on
    RewriteEngine On
    RewriteBase /
    
    RewriteRule ^(ipsum/dolor)/sit(/.*|)$ $1/amet$2 [L,NC,R=301]
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to update my .htaccess file to redirect permanently all URLs from http://example.com/pages/5604/article/something/?page=299
I would like to translate or 301-redirect urls such as: www.domain.com/example.html to www.domain.com/example Here
I'm trying to use mod_rewrite to redirect URLs from a URL from an old
I found this solution to redirect urls from www.domain.com/example.php to www.domain.com/example successfully but I
Trying to redirect all traffic from www.old-domain.co.uk and old-domain.co.uk to www.new-domain.co.uk on a Wordpress
I need to redirect multiple urls from this format: http://site.com/gallery.php%3Fpage%3D12 (the 12 at the
I've made an extension who's purpose is to redirect urls. I.e: www.google.com becomes: www.mysite.com/?url=www.google.com
I have 2 domains. For the question, I will call them www.old.com and www.new.com.
I have an .htaccess file using mod_rewrite to redirect URLs from the old website
I need to redirect the URLs like this http://mysite.com/store/store-name to http://mysite.com/stores/products/store-id . Note that

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.