Would google also change the results for http://www.example.com/blog?page=2, http://www.example.com/blog?page=3, and so on?
Kindly assist. Thanks!
netmeg
7:06 pm on Dec 21, 2014 (gmt 0)
How did you do it and why did you use a 302?
But no, just redirecting the home page won't redirect all the other pages. You would have to do each page, or else do a rewrite to effect the 302 globally.
lucy24
8:22 pm on Dec 21, 2014 (gmt 0)
I thought 302 (vs. 301) meant that search engines don't change anything, because you may be back on the old URL next week.
You don't say what server you're on. But most Apache redirects look only at the path of the URL; parameters, if any, will come along for the ride. That means the 302 response goes out whether the request was for pagename or pagename?page=2 or pagename?several-miles-of-parameters-here
The "page=2" part remains unchanged unless you've specifically said otherwise.
Tiggerito
9:36 pm on Dec 21, 2014 (gmt 0)
302 = temporary redirect so Google will not change anything, initially. Over time they may think you are lying and consider it a soft 301.
301 = permanent redirect and tells Google to "change the results".
To your question.
Google will only do this for URLs you actually redirect. If page=2 does not redirect then it will not change.
Also watch out for how you do redirects. The Redirect command copies querystrings so will redirect page=2, but it also adds it to the destination making a big mess of your intentions.