Not for official support
We do not provide technical support in this forum.
If you want to contact our customer support, please use our support form.
You are not logged in.
I plan to move my wass instalation to different URL, a subfolder of the previous.
for example: now installed in qwerty.com, i want to move to qwerty.com/shop/
how can i do this?
should i use htacess to redirect the pages? i don't want to loose my index in search engine.
what code should i put in htacess?
thank you in advance
Offline
This code should work better as it preserves URL parameters:
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/(?!shop|published|login|installer)
RewriteRule (.*) /shop/$1 [R=301,L]If you have no mod_rewrite installed or enabled on your server, you may use RedirectMatch for the same purpose:
RedirectMatch 301 ^/(index.php)?(?!shop|published|login|installer) /shop/$1$2
Offline
Rat, does this code also work for the categories and products page as well?
for example, if googled indexed mywebsite.com/product/xyz, then after I applied these code in htacess, and some one click that link, will be automatically redirected to mywebsite.com/shop/product/xyz, is this correct?
Offline
Yes, it should work exactly this way. Test it on a local copy of your store before applying the code to a live website.
Offline
I found out that wass default index.php already have a redirect command
so, I just need to replace it with my landingpage index.php
thank you rat
Offline