-
Recently Browsing 0 members
- No registered users viewing this page.
-
Similar Content
-
Sam Bankman-Fried fraud case: DOJ launches website for FTX victims
By zikalify,
- sam bankman-fried
- ftx
- (and 8 more)
- 3 replies
- 5 views
-
Microsoft launches early preview of Create website
By rahul.naskar,
- microsoft
- microsoft create
- (and 5 more)
- 2 replies
- 3 views
-
Save 89% off the Complete WordPress Expert Course, now only $29.99
By News Staff,
- wordpress
- neowin deals
- (and 4 more)
- 0 replies
- 4 views
-
- 4 replies
- 477 views
-
Save 94% off Sellful: All-in-One Business Software for Freelancers & Entrepreneurs
By News Staff,
- neowin deals
- sponsored
- (and 7 more)
- 0 replies
- 266 views
-
Question
flynempire
I have been successful in one aspect of our redirect but in another it is not working.
Let me give an explanation of the history of this. We had almost two years ago hired a company to create a mobile site for us using Magento. Well Magento was not easy to work with and basically this whole venture was a disaster!
I took more than a year for this company to finish this site and that is with me doing a lot of the work even though I never worked in Magento before. I basically entered all the products based on info I found online because they were no help at all.
A group of developers and they could not do anything right! Anyways when it was finished it never worked properly and the host they found for us with has been the only good thing they did. Inside the host server space for us they installed magento in a folder called m which they made as root. I dont know why they did not do it outside of this folder but I just kept with it.
Not longer after the owners told me to find another system which I did called AbanteCart. In a month I had the system up and running much quicker than those developers. I installed this in a sub-folder of m called store. This has worked for a year but now they wanted Amazon payments so I used WooCommerce/Wordpress and that is now up and running well under a different sub-folder of m called Shop.
I have the following code in our .htaccess file and it works.
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{HTTP_HOST} ^(m.)?
kleinerts.com$
RewriteRule ^(/)?$ Shop [L]
This redirects from m.kleinerts.com to m.kleinerts.com/Shop which is what we need and no problem.
The issue is we are still getting orders at the Abante Mobile Site which we want to stop.
Is there another redirect code I can use to redirect m.kleinerts.com/store to m.kleinerts.com/Shop ?
I need to keep up the Abante site for awhile longer at least the Admin so they can finish up the orders that are pending and look back on previous orders from Consumers. After some time I will take it down completely.
Thanks
Link to comment
Share on other sites
6 answers to this question
Recommended Posts