![]() |
301 redirects, still a problem for me.. help please
that's something i still dont fully understand how it works, what all those symbols mean etc.
I tried to figure it out with my own htaccess examples which all work perfect on the sites they are on, but somehow it doesnt work. Wordpress site, i want: www.mydomain.com/page/1/ www.mydomain.com/page/2/ www.mydomain.com/page/3/ etc... to redirect to: www.mydomain.com/posts/page/1/ www.mydomain.com/posts/page/2/ www.mydomain.com/posts/page/3/ etc. How? |
figured it out, page 1 conflicted with WP page 1 default redirect. It's all good now.
|
One strange thing though.
I used this code: Options +FollowSymLinks RewriteEngine on RewriteRule ^page/1/(.*)$ http://www.mydomain.com/posts/$1 [R=301,L] RewriteRule ^page/(.*)$ http://www.mydomain.com/posts/page/$1 [R=301,L] So the /page/1/ goes to /posts/ and the rest like this: /page/2/ to /posts/page/2/ /page/3/ to /posts/page/3/ Works in IE, but in firefox /page/1/ goes to /posts/1/ Weird. How come? |
jumped the gun, it was the FF cache :helpme
all is good now so nevermind :thumbsup maybe i'll come back to this thread if i feel like talking to myself again though |
proof that programmers often talk to them selves...
even on forums :) |
All times are GMT -7. The time now is 11:23 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc