New answers tagged htaccess
1
vote
Why am I getting ?p=oldpage in a 301 redirect?
Had the same problem and found this solution:
Instead of Redirect 301 use a RewriteRule instead:
RewriteRule ^/work/project-name(/.*)?$ /case-studies$1 [R=301,L]
Insert this before Craft's Rewrite ...
- 501
Top 50 recent answers are included
Related Tags
htaccess × 73redirect × 17
url × 10
craft3 × 7
apache × 7
https × 7
control-panel × 6
ssl × 6
login × 4
templating × 3
localization × 3
config × 3
error × 3
install × 3
routing × 3
index × 3
php × 2
error-message × 2
routes × 2
404 × 2
security × 2
live-preview × 2
structure × 1
image-transforms × 1
image × 1