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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T02:09:07+00:00 2026-05-25T02:09:07+00:00

i had to move a website to a new subdomain. previously it was available

  • 0

i had to move a website to a new subdomain. previously it was available at www.some-domain.com. it has now moved to http://shop.some-domain.com.

there are only some bits of the website which actually use clean urls, for example: http://shop.some-domain.com/en-GB/shop/accessories/Soft-Scarf

and exactly those URLs do not work anymore, i receive an error 404 when trying to open them. other parts of the website which do not use clean urls work fine.

the website files are located in the root folder (/)… the htaccess inside this folder looks like this:

AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php

RewriteEngine On
RewriteCond %{HTTP_HOST} !^www\.some-domain.com [NC]

# i think this line is causing the problem:
RewriteRule ^(.*)$ http://www.some-domain.com/$1 [R=301,L]

ErrorDocument 404 /webEdition/redirectSEOurls.php

tried changing the URL in the line to shop.some-domain.com but it didn’t help

help is much appreciated, thanks

  • 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-25T02:09:08+00:00Added an answer on May 25, 2026 at 2:09 am

    You’re correct about the error source. Just change the two occurrences of www to shop.

    RewriteEngine On
    RewriteCond %{HTTP_HOST} !^shop\.some-domain.com [NC]
    
    RewriteRule ^(.*)$ http://shop.some-domain.com/$1 [R=301,L]
    

    The purpose of the RewriteCond line and subsequent RewriteRule was to force requests like http://some-domain.com to the canonical domain http://www.some-domain.com. You’ve now changed that to shop.some-domain.com and so it’s a simple matter of updating both the condition and the rewrite rule.

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

Sidebar

Related Questions

we had a web application deployed under virtual directory. Now we want to move
http://www.fireviews.com/testing/tabs_and_toggles.html The buttons with + signs are supposed to be drop-down toggles, and the
I had to move my WordPress site over and did some house cleaning of
So today I had to move some tables with data from an MS Access
I had to move a website on a bluehost server, that is in the
in my system, i had to move a big javascript ajax system to seam.
I had never had this error before, and I didn't move any file, or
I've been using the following code to move views around, and never had a
Had a problem with the recursive conflictCheck() method. That seems fine now. I have
Had this working; at one stage. The problem is the following text is now

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.