I have had to change my site from http://dailyfailblog.com to http://failfun.com and I need a correct .htaccess file to point everything from dailyfailblog.com to the correct page on failfun.com The dailyfailblog.com will be in my same hosting account, but I had to switch it from my primary domain to a secondary domain and make failfun.com a primary domain on godaddy hosting. If you check the sites they are not working properly and I need a fix tonight! Please help! This is my current .htaccess file rewriteengine on rewritecond %{HTTP_HOST} ^www.dailyfailblog.com$ [OR] rewritecond %{HTTP_HOST} ^dailyfailblog.com$ rewriterule ^(.*)$ "http\:\/\/failfun\.com\/$1" [R=301,L] #4b6777dbeb171 rewritecond %{HTTP_HOST} ^www.dailyfailblog.org$ [OR] rewritecond %{HTTP_HOST} ^dailyfailblog.org$ rewriterule ^(.*)$ "http\:\/\/failfun\.com$1" [R=301,L] #4b6777ba1be5e # BEGIN WordPress <IfModule mod_rewrite.c> RewriteBase / </IfModule> # END WordPress # <IfModule mod_gzip.c> mod_gzip_on Yes mod_gzip_dechunk Yes mod_gzip_item_include file \.(html?|txt|css|js|php|pl)$ mod_gzip_item_include handler ^cgi-script$ mod_gzip_item_include mime ^text\.* mod_gzip_item_include mime ^application/x-javascript.* mod_gzip_item_exclude mime ^image\.* mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.* </IfModule> rewritecond %{REQUEST_FILENAME} !-f rewritecond %{REQUEST_FILENAME} !-d rewriterule . /index.php [L] rewritecond %{REQUEST_FILENAME} !-f rewritecond %{REQUEST_FILENAME} !-d rewriterule . /index.php [L] rewritecond %{REQUEST_FILENAME} !-f rewritecond %{REQUEST_FILENAME} !-d rewriterule . /index.php [L] rewriterule ^(.*)wp-content/uploads/(.*) $1watermark.php?src=wp-content/uploads/$2 Code (markup): Currently I have it redirected correctly, but I can't login to my wordpress and all of the internal links of the site are all pointing towards dailyfailblog.com still
What control panel is present on your old website? In Cpanel, the redirect option with wild card will make your job easier if you have the option. I'll let you know the code if you want to go the harder way, although If you have cpanel, then I would not recommend you the .htaccess modification.
If we do redirect from cpanel then i think google can not redirect pagerank to respected pages, will it?
I set it up in the .htaccess folder and had to fix something else this morning. Does anyone know of a if command popup box (if they got redirected there something about asking them to change their bookmarks)?
Have you changed the urls in the sql database? In wp_option table (if I'm not wrong) there are two values storing the site url.