Timeline for How to match only part of URL and redirect URL with parameters in .htaccess?
Current License: CC BY-SA 3.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 26, 2016 at 23:59 | comment | added | MrWhite |
Yes, just use /? . You'll need to clear your browser cache if you have previously tested the rule above. 301 redirects are cached by the browser. For this reason it is often a good idea to test with 302 (temporary) redirects.
|
|
Jan 26, 2016 at 23:57 | comment | added | Alan Kis | @wkd, what if I want to rewrite this URL to root, should I use only '/'? | |
Jan 26, 2016 at 23:21 | vote | accept | Alan Kis | ||
Jan 26, 2016 at 23:10 | history | answered | MrWhite | CC BY-SA 3.0 |