コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
4969 ビュー

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


アバター
破棄
最善の回答

Try 

RewriteRule ^/shop /shop-category

RewriteRule ^shop/(\w+)/?$ /shop-category
アバター
破棄
著作者

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.

関連投稿 返信 ビュー 活動
0
9月 23
92
2
8月 19
12217
1
6月 19
5911
1
6月 18
8256
2
7月 24
2704