Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
4800 Zobrazení

Hi all,

I want to redirect the /shop page to a custom page e.g. /shop-category

I'm using Apache with the following rule:

RewriteRule ^/shop https://www.mydomain.com/shop-category

but in this way I'm redirecting also /shop/everythingelse (like product page)

My need is to rewrite just the /shop page and not the sub path


Avatar
Zrušit
Nejlepší odpověď

Try 

RewriteRule ^/shop /shop-category

RewriteRule ^shop/(\w+)/?$ /shop-category
Avatar
Zrušit
Autor

Thanks for the support, but the proposed solution is not working, the redirect

is not happening with the rules you wrote

Hello I have a domain www.simpleenergytech.com, when i login with portal user it will showing Home Shop Contct Us Sign In. not redirect to shop page, hence when i enter only domain without any user login showing website ok but after login with user showing Home Page.

Related Posts Odpovědi Zobrazení Aktivita
0
zář 23
92
2
srp 19
12026
1
čvn 19
5743
1
čvn 18
8073
2
čvc 24
2379