Help With .htaccess codes

stf_86

New member
Jun 14, 2011
93
1
0
under the bed
So I want to change platforms on one of my sites ... from wordpress to opencart ...

I need .htaccess codes for :

- redirecting old wordpress pages to the new opencart installation (same domain)
- redirecting from http:// example.com , http:// example.com/ to http:// www.example.com/ http://www.example.com/
- preventing google from indexing https pages

thanks!

boobs for codes :

erotic-69.jpg

erotic.jpg

erotic-73.jpg

erotic-19.jpg
 


jesus all this shit is so simple, i'm gonna have to tell you to go fuck yourself and learn to use google.

the last one should be done in robots.txt not in the .htaccess
 
lol at tags but there are some cool boobs. didn't read what OP asked though.
 
Well excuse me Captain KnowItAll ...

I`ve searched for the codes and found quite a few variations ... that made me confused and I need some up to date codes ...
 
As stated, hide all folders from search engines by doing so in your robots.txt. Careful though, this is nowhere near good security.

Since you're too lazy,

Code:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^www\.domain\.com$
RewriteRule ^facts/(.*)$ http://www.domain.com/newfolder/ [R=permanent,L]

Everything you could ever want to know and a whole lot of shit you definitely don't want to know about .htaccess: URL Rewriting Guide - Apache HTTP Server