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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T08:58:29+00:00 2026-05-16T08:58:29+00:00

I am creating a website which is located in /shop/ on my webserver. It

  • 0

I am creating a website which is located in /shop/ on my webserver. It has a seperate domain.

Now, I want to change every request that comes in.

http://techinf.de/shop/ shall become http://holzwerkstatt-osel.de/ and
http://www.techinf.de/shop/ shall become http://www.holzwerkstatt-osel.de/

the actual request, like product.php?id=2 must be the same.

  • 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-16T08:58:30+00:00Added an answer on May 16, 2026 at 8:58 am

    Since you want to persist the www (or lackthereof), you likely do need to use mod_rewrite for this. The following should work:

    RewriteEngine On
    
    RewriteCond %{HTTP_HOST} ^(www\.)?technif\.de$
    RewriteRule ^shop/(.*)$ http://%1holzwerkstatt-osel.de/$1 [R=301,L]
    

    Edit: If you don’t care about the whole www thing, just using mod_alias on technif.de should work:

    Redirect permanent /shop http://holzwerkstatt-osel.de
    

    This takes everything after /shop and appends it to the redirection URL, then redirects. So /shop/product.php?id=2 becomes http://holzwerkstatt-osel.de/product.php?id=2, etc.

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

Sidebar

Related Questions

I'm creating a website in IIS 7.5 (with Windows 7) that needs to be
I'm creating a PHP website which involves users signing up, and I'm wondering about
I'm creating a website in which I will be managing users and their permissions.
I am new to ASP.NET. I am creating a website in which i have
I am working on creating a website in Django which consists of two parts:
I'm creating an ASP.net website which handles thousands of requests and it all stems
The Question: What is the best way to calculate inverse distance weighted (IDW) interpolation
I am a Java programmer looking to learn .NET, particularly C# and F#, to
I may not be asking this in the best way possible but i will
Okay, I know I'm doing something wrong - but can't figure out a better

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.