Magento 2.1 Redirect through htaccess Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?Strange .htaccess and base URL redirect happeningURL Rewrite and 301 Permission not working properlyHow to redirect old pages to new pagesMulti-Store Rewrites and htaccess (index.php)AW_Blog Extension: Trying To Create A URL Rewrite To A Blog PostChanges in root .htaccess file not reflecting in Magento 2How to redirect a link to another link 2 in magentoUsing dynamic php page with .htaccess rewrite on MagentoSame Magento 2 htaccess file but different results on local machine and live serverMagento 2 EE remove url trailing slash through htaccess

Twin's vs. Twins'

Why does BitLocker not use RSA?

Should man-made satellites feature an intelligent inverted "cow catcher"?

Is the Mordenkainen's Sword spell underpowered?

Flight departed from the gate 5 min before scheduled departure time. Refund options

Why are two-digit numbers in Jonathan Swift's "Gulliver's Travels" (1726) written in "German style"?

Random body shuffle every night—can we still function?

How does the body cool itself in a stillsuit?

Why not use the yoke to control yaw, as well as pitch and roll?

Where and when has Thucydides been studied?

What is the proper term for etching or digging of wall to hide conduit of cables

Why are current probes so expensive?

Keep at all times, the minus sign above aligned with minus sign below

What is "Lambda" in Heston's original paper on stochastic volatility models?

Fit odd number of triplets in a measure?

Why is there so little support for joining EFTA in the British parliament?

Besides transaction validation, are there any other uses of the Script language in Bitcoin

Are there any irrational/transcendental numbers for which the distribution of decimal digits is not uniform?

How to ask rejected full-time candidates to apply to teach individual courses?

calculator's angle answer for trig ratios that can work in more than 1 quadrant on the unit circle

Vertical ranges of Column Plots in 12

Did pre-Columbian Americans know the spherical shape of the Earth?

Does the main washing effect of soap come from foam?

How to infer difference of population proportion between two groups when proportion is small?



Magento 2.1 Redirect through htaccess



Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?Strange .htaccess and base URL redirect happeningURL Rewrite and 301 Permission not working properlyHow to redirect old pages to new pagesMulti-Store Rewrites and htaccess (index.php)AW_Blog Extension: Trying To Create A URL Rewrite To A Blog PostChanges in root .htaccess file not reflecting in Magento 2How to redirect a link to another link 2 in magentoUsing dynamic php page with .htaccess rewrite on MagentoSame Magento 2 htaccess file but different results on local machine and live serverMagento 2 EE remove url trailing slash through htaccess



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I am unable to 301 redirect URL like




baseurl/blog/international%20enviroguard%20re-branding%20-%20faqs/ to baseurl/blog/international-enviroguard-re-branding-faqs through htaccess.




The page is going to 404 redirect.



I am using the below line to redirect in htaccess -




Redirect 301 /blog/international%20enviroguard%20re-branding%20-%20faqs/ /blog/international-enviroguard-re-branding-faqs




Please provide a solution.










share|improve this question
























  • is that apache server?

    – Satish Dubariya
    22 mins ago











  • yes it is apache server

    – chanchal
    21 mins ago






  • 1





    Why you are using htaccess for this ? You can use To create a 301, 302 redirect, open the «Marketing» tab and select the «URL Rewrites» button.

    – Aaditya
    15 mins ago

















0















I am unable to 301 redirect URL like




baseurl/blog/international%20enviroguard%20re-branding%20-%20faqs/ to baseurl/blog/international-enviroguard-re-branding-faqs through htaccess.




The page is going to 404 redirect.



I am using the below line to redirect in htaccess -




Redirect 301 /blog/international%20enviroguard%20re-branding%20-%20faqs/ /blog/international-enviroguard-re-branding-faqs




Please provide a solution.










share|improve this question
























  • is that apache server?

    – Satish Dubariya
    22 mins ago











  • yes it is apache server

    – chanchal
    21 mins ago






  • 1





    Why you are using htaccess for this ? You can use To create a 301, 302 redirect, open the «Marketing» tab and select the «URL Rewrites» button.

    – Aaditya
    15 mins ago













0












0








0








I am unable to 301 redirect URL like




baseurl/blog/international%20enviroguard%20re-branding%20-%20faqs/ to baseurl/blog/international-enviroguard-re-branding-faqs through htaccess.




The page is going to 404 redirect.



I am using the below line to redirect in htaccess -




Redirect 301 /blog/international%20enviroguard%20re-branding%20-%20faqs/ /blog/international-enviroguard-re-branding-faqs




Please provide a solution.










share|improve this question
















I am unable to 301 redirect URL like




baseurl/blog/international%20enviroguard%20re-branding%20-%20faqs/ to baseurl/blog/international-enviroguard-re-branding-faqs through htaccess.




The page is going to 404 redirect.



I am using the below line to redirect in htaccess -




Redirect 301 /blog/international%20enviroguard%20re-branding%20-%20faqs/ /blog/international-enviroguard-re-branding-faqs




Please provide a solution.







magento-2.1 url-rewrite htaccess






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 20 mins ago









magefms

2,8052528




2,8052528










asked 30 mins ago









chanchalchanchal

407




407












  • is that apache server?

    – Satish Dubariya
    22 mins ago











  • yes it is apache server

    – chanchal
    21 mins ago






  • 1





    Why you are using htaccess for this ? You can use To create a 301, 302 redirect, open the «Marketing» tab and select the «URL Rewrites» button.

    – Aaditya
    15 mins ago

















  • is that apache server?

    – Satish Dubariya
    22 mins ago











  • yes it is apache server

    – chanchal
    21 mins ago






  • 1





    Why you are using htaccess for this ? You can use To create a 301, 302 redirect, open the «Marketing» tab and select the «URL Rewrites» button.

    – Aaditya
    15 mins ago
















is that apache server?

– Satish Dubariya
22 mins ago





is that apache server?

– Satish Dubariya
22 mins ago













yes it is apache server

– chanchal
21 mins ago





yes it is apache server

– chanchal
21 mins ago




1




1





Why you are using htaccess for this ? You can use To create a 301, 302 redirect, open the «Marketing» tab and select the «URL Rewrites» button.

– Aaditya
15 mins ago





Why you are using htaccess for this ? You can use To create a 301, 302 redirect, open the «Marketing» tab and select the «URL Rewrites» button.

– Aaditya
15 mins ago










1 Answer
1






active

oldest

votes


















0














Magento 2 Redirect (301, 302)



To implement 301 or 302 redirects in your Magento 2 store:



  1. a certain product or category in no longer available in your store;

  2. any kind of URLs changes;

  3. if you moved to a new website from an old one.


To create a 301, 302 redirect, open the «Marketing» tab and select the
«URL Rewrites» button.




enter image description here




Then hit the «Add URL Rewrite» button. Let’s quickly look through the
available options:




  • Store – select the Store View for which the redirect will be enabled

  • Request Path – enter the URL to redirect

  • Target Path – enter the URL to which the page will be redirected

  • Redirect Type – select the redirect type between 302 (temporary) and
    301 (permanent)

  • Description – enter optional description

enter image description here




After specifying all the details, hit the «Save» button.




enter image description here



Now the customers and search engines will be redirected to the correct page and never encounter with a «404 Page Not Found» error in your Magento 2 store.



For more reference






share|improve this answer























  • I tried this first by creating url rewrite as - Requested path - blog/international%20enviroguard%20re-branding%20-%20faqs/ and target path - example.com/blog/international-enviroguard-re-branding-faqs But still not working.

    – chanchal
    10 mins ago












  • Which values did you set for Redirect Type ?

    – Aaditya
    8 mins ago











  • Redirect type - Permanent 301

    – chanchal
    3 mins ago











Your Answer








StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);

else
createEditor();

);

function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f270902%2fmagento-2-1-redirect-through-htaccess%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









0














Magento 2 Redirect (301, 302)



To implement 301 or 302 redirects in your Magento 2 store:



  1. a certain product or category in no longer available in your store;

  2. any kind of URLs changes;

  3. if you moved to a new website from an old one.


To create a 301, 302 redirect, open the «Marketing» tab and select the
«URL Rewrites» button.




enter image description here




Then hit the «Add URL Rewrite» button. Let’s quickly look through the
available options:




  • Store – select the Store View for which the redirect will be enabled

  • Request Path – enter the URL to redirect

  • Target Path – enter the URL to which the page will be redirected

  • Redirect Type – select the redirect type between 302 (temporary) and
    301 (permanent)

  • Description – enter optional description

enter image description here




After specifying all the details, hit the «Save» button.




enter image description here



Now the customers and search engines will be redirected to the correct page and never encounter with a «404 Page Not Found» error in your Magento 2 store.



For more reference






share|improve this answer























  • I tried this first by creating url rewrite as - Requested path - blog/international%20enviroguard%20re-branding%20-%20faqs/ and target path - example.com/blog/international-enviroguard-re-branding-faqs But still not working.

    – chanchal
    10 mins ago












  • Which values did you set for Redirect Type ?

    – Aaditya
    8 mins ago











  • Redirect type - Permanent 301

    – chanchal
    3 mins ago















0














Magento 2 Redirect (301, 302)



To implement 301 or 302 redirects in your Magento 2 store:



  1. a certain product or category in no longer available in your store;

  2. any kind of URLs changes;

  3. if you moved to a new website from an old one.


To create a 301, 302 redirect, open the «Marketing» tab and select the
«URL Rewrites» button.




enter image description here




Then hit the «Add URL Rewrite» button. Let’s quickly look through the
available options:




  • Store – select the Store View for which the redirect will be enabled

  • Request Path – enter the URL to redirect

  • Target Path – enter the URL to which the page will be redirected

  • Redirect Type – select the redirect type between 302 (temporary) and
    301 (permanent)

  • Description – enter optional description

enter image description here




After specifying all the details, hit the «Save» button.




enter image description here



Now the customers and search engines will be redirected to the correct page and never encounter with a «404 Page Not Found» error in your Magento 2 store.



For more reference






share|improve this answer























  • I tried this first by creating url rewrite as - Requested path - blog/international%20enviroguard%20re-branding%20-%20faqs/ and target path - example.com/blog/international-enviroguard-re-branding-faqs But still not working.

    – chanchal
    10 mins ago












  • Which values did you set for Redirect Type ?

    – Aaditya
    8 mins ago











  • Redirect type - Permanent 301

    – chanchal
    3 mins ago













0












0








0







Magento 2 Redirect (301, 302)



To implement 301 or 302 redirects in your Magento 2 store:



  1. a certain product or category in no longer available in your store;

  2. any kind of URLs changes;

  3. if you moved to a new website from an old one.


To create a 301, 302 redirect, open the «Marketing» tab and select the
«URL Rewrites» button.




enter image description here




Then hit the «Add URL Rewrite» button. Let’s quickly look through the
available options:




  • Store – select the Store View for which the redirect will be enabled

  • Request Path – enter the URL to redirect

  • Target Path – enter the URL to which the page will be redirected

  • Redirect Type – select the redirect type between 302 (temporary) and
    301 (permanent)

  • Description – enter optional description

enter image description here




After specifying all the details, hit the «Save» button.




enter image description here



Now the customers and search engines will be redirected to the correct page and never encounter with a «404 Page Not Found» error in your Magento 2 store.



For more reference






share|improve this answer













Magento 2 Redirect (301, 302)



To implement 301 or 302 redirects in your Magento 2 store:



  1. a certain product or category in no longer available in your store;

  2. any kind of URLs changes;

  3. if you moved to a new website from an old one.


To create a 301, 302 redirect, open the «Marketing» tab and select the
«URL Rewrites» button.




enter image description here




Then hit the «Add URL Rewrite» button. Let’s quickly look through the
available options:




  • Store – select the Store View for which the redirect will be enabled

  • Request Path – enter the URL to redirect

  • Target Path – enter the URL to which the page will be redirected

  • Redirect Type – select the redirect type between 302 (temporary) and
    301 (permanent)

  • Description – enter optional description

enter image description here




After specifying all the details, hit the «Save» button.




enter image description here



Now the customers and search engines will be redirected to the correct page and never encounter with a «404 Page Not Found» error in your Magento 2 store.



For more reference







share|improve this answer












share|improve this answer



share|improve this answer










answered 12 mins ago









AadityaAaditya

4,37621139




4,37621139












  • I tried this first by creating url rewrite as - Requested path - blog/international%20enviroguard%20re-branding%20-%20faqs/ and target path - example.com/blog/international-enviroguard-re-branding-faqs But still not working.

    – chanchal
    10 mins ago












  • Which values did you set for Redirect Type ?

    – Aaditya
    8 mins ago











  • Redirect type - Permanent 301

    – chanchal
    3 mins ago

















  • I tried this first by creating url rewrite as - Requested path - blog/international%20enviroguard%20re-branding%20-%20faqs/ and target path - example.com/blog/international-enviroguard-re-branding-faqs But still not working.

    – chanchal
    10 mins ago












  • Which values did you set for Redirect Type ?

    – Aaditya
    8 mins ago











  • Redirect type - Permanent 301

    – chanchal
    3 mins ago
















I tried this first by creating url rewrite as - Requested path - blog/international%20enviroguard%20re-branding%20-%20faqs/ and target path - example.com/blog/international-enviroguard-re-branding-faqs But still not working.

– chanchal
10 mins ago






I tried this first by creating url rewrite as - Requested path - blog/international%20enviroguard%20re-branding%20-%20faqs/ and target path - example.com/blog/international-enviroguard-re-branding-faqs But still not working.

– chanchal
10 mins ago














Which values did you set for Redirect Type ?

– Aaditya
8 mins ago





Which values did you set for Redirect Type ?

– Aaditya
8 mins ago













Redirect type - Permanent 301

– chanchal
3 mins ago





Redirect type - Permanent 301

– chanchal
3 mins ago

















draft saved

draft discarded
















































Thanks for contributing an answer to Magento Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid


  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.

To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f270902%2fmagento-2-1-redirect-through-htaccess%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

منجزی محتویات تیره‌های طایفه منجزی[ویرایش] مشاهیر طایفه منجزی[ویرایش] محل سکونت[ویرایش] پانویس[ویرایش] منابع[ویرایش] منوی ناوبری«نمودار اجتماعی طوایف بختیاری»«BakhtyārBAḴTĪĀRĪ TRIBE»«اسامی طوایف و شعب ایل بختیاری»ووگسترش آن

بیوانفورماتیک محتویات تاریخچه[ویرایش] اهداف[ویرایش] کاربردهای بیوانفورماتیک[ویرایش] زمینه‌های مهم بیوانفورماتیک[ویرایش] موضوعات سیستم نرم‌افزاری بیوانفورماتیک[ویرایش] مراکز و ابزار[ویرایش] جستارهای وابسته[ویرایش] پیوند به بیرون[ویرایش] منابع[ویرایش] منوی ناوبریووانجمن بیوانفورماتیک ایرانمرکز بیوانفورماتیک دانشگاه تهرانمرکز ملی تحقیقات بیوانفورماتیکانستیتو بیو-آی‌تیبانک داده‌های دی ان ایمرکز ملی اطلاعات بیوتکنولوژیانستیتوی بیوانفورماتیک اروپاپورتال بیوانفورماتیک ایران«فرهنگ واژه‌های مصوب فرهنگستان ـ دفتر هشتم، بخش لاتین»وووو4611085-900870420ووو