Creating an exception when pointing a domain using A record (Shopify)


I am setting up a Shopify site using a custom domain. However, I have old links on that domain that I don't want to break once I point it to Shopify. I also have old parked domains on top of this domain that I don't want to break.

Shopify <a href="http://docs.shopify.com/manual/settings/domains/third-party-domains/popular-providers/godaddy" rel="nofollow">instructs you</a> to set up an A record for the domain (so when I go to www.mydomain.com I see my Shopify store). But I want to set up exceptions such that www.mydomain.com/my-seo-link won't show Shopify, or will allow me to forward to its replacement at Shopify.

An added complication is I also have parked domains on top of my domain that I want to remain pointing to my old server.

Is there such thing as a URI exception to an A record?


Put this code in your DOCUMENT_ROOT/.htaccess file of www.mydomain.com:

RewriteEngine On RewriteCond %{HTTP_HOST} ^www\.mydomain\.com$ [NC] RewriteRule ^my-seo-link http://otherdomain.com%{REQUEST_URI} [NC,R=301,L]


Go through your list of special URL's and use the Shopify built-in redirect mechanism to point all your old content at the new location for it on your Shopify store's domain. The DNS system is old, well understood and you need to use it in this case as you cannot have a Shopify store on a domain AND host that same domain on another server under your control. Use redirects. That is what they are they for.


  • Angular2 set meta title and description
  • How to do a specific condition for escaped_fragment with rewrite rule in .htaccess
  • Can't access index in folder when rewrite engine removes .php and .html
  • Accessing the real file name of a symbolic linked file
  • NetBeans refactor class: java.lang.NoClassDefFoundError
  • C function pointer type compatibility
  • Multiple Layouts Previews for Android in Eclipse
  • Use python dropbox API with django
  • mail server requires authentication when attempting to send to a non-local e-mail address when using
  • NetBeans doesn't see style.css [duplicate]
  • Ability to use Bootstrap 3 grid system to specify width of select element
  • Servlet stops working on Tomcat server after some hits or time
  • Android Google Maps API v2 start navigation
  • System.InvalidCastException: Specified cast is not valid
  • Webgrid not refreshing after delete MVC
  • How to run “Deployd” on port 80 instead of port 5000 in webserver.
  • Jquery UI tool tip close icon
  • Dialing with Intent.ACTION_CALL stopps at # in phone number
  • Ajax Loaded meta Tags
  • MongoDB in PHP using aggregate to group by _id is null not working
  • Debugging ASP.NET on a built-in web server suddenly stops
  • How do I change content of ComboFieldEditor?
  • Optimizing database types to compact database (SQLite)
  • Resize panoramic image to fixed size
  • Volusion's generic SQL folder, functionality
  • Cross-Platform Protobuf Serialization
  • Sending data from AppleScript to FileMaker records
  • Hazelcast - OperationTimeoutException
  • Weird JavaScript statement, what does it mean?
  • Do I've to free mysql result after storing it?
  • Traverse Array and Display in markup
  • SetUp method failed while running tests from teamcity
  • SQL merge duplicate rows and join values that are different
  • KeystoneJS: Relationships in Admin UI not updating
  • AngularJs get employee from factory
  • Load html files in TinyMce
  • How do you join a server to an Active Directory (domain)?
  • coudnt use logback because of log4j
  • Turn off referential integrity in Derby? is it possible?
  • Qt: Run a script BEFORE make