Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.

How to make a 301 instead of a 302 redirect?

+1 vote
89 views
asked Jan 11 in Q2A Core by bobptz
edited Jan 13 by bobptz
I am using this plugin ( https://github.com/stefkiourk/Question2Answer-greeklish-URLs ) and it redirects with a 302 from this url:

learn-greek-online.com/ask-greek/773/whats-the-meaning-the-first-part-of-φλωροζυγαριές-i-e-φλωρο

to this url:

learn-greek-online.com/ask-greek/773/whats-the-meaning-the-first-part-of-florozugaries-i-e-floro

Is there a way to make this a 301 redirect, instead of a 302?  What file do I need to change?

1 Answer

0 votes
answered Jan 14 by Scott
When I tried it I get a 301 redirect. The plugin itself does not do any redirect, it just gives a new URL and that is handled by Q2A, which does 301 redirects.
commented Jan 27 by bobptz
Hi, I just tried it.  It gives 302 for my browser:  https://image.ibb.co/eVW21w/302.png
...