So you bought another domain name that matches one you currently have. You shouldn’t upload the same content else google will penalize you for duplicate content. So, what to do?
The polite way to do this for your viewers, google, and ease of you updating multiple domains is to use a 301 redirect.
Here is how to do so:
Example domain: m3server.it (we want to redirect that to m3server.com)
- If you haven’t added the domain name to your m3control panel, please do so.
- Make a backup of your current .htaccess of the domain you want to REDIRECTED, not your final domain name. In this case, we want to edit the .htaccess file of m3server.it.
Now, edit the .htaccess if it was a domain in use, or create a new .htaccess file:
COPY AFTER THE START AND BEFORE THE FINISH. Copy and paste the following:
#START
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www.m3server.com$
RewriteRule ^(.*)$ http://www.m3server.com/$1 [R=301,L]
#FINISH
Save the file and upload it to the new site’s web directory like so:
m3server.com/.htaccess
This will redirect all page requests to m3server.com as shown.
Happy redirecting!
M3Server.com - Virtual Dedicated Servers
https://developers.google.com/pagespeed/
So, you found your page score via the URL above. Nice work. But, if you make some changes, your results will be cached and won’t update your score!!! Don’t despair.
With FireFox and Firebug, you can use the plugin and test with your browser locally on your computer.
Things you will need installed if not already:
Make a change to your site, hit refresh on your browser, THEN, you can reanalyze for your updated results.
Trust me, I pulled my hair out on this one LOL!
M3Server.com – Managed Dedicated Web Hosting
Have you been to:
https://developers.google.com/pagespeed/
If you have, you might notice that some of your changes take, and some don’t. I almost went insane until I realized that this page was caching some results, regardless of refreshing or reloading the page.
Solution? Download firebug plugin for Firefox, and then visit this page to download page speed plugin.
http://code.google.com/speed/page-speed/download.html
After installing, you must restart Firefox to enable the plugin. Once activated, you will notice a Firbug icon on the tool bar, mine happens to be to the right of the home button to the right of my search bar.
Then, when you make changes to your site, RELOAD your page in your browser and then REFRESH ANALYSIS for the updated results.
Happy optimizing
M3Server.Com – WordPress Virtual Servers
Need to redirect source traffic to another domain? Well, if you can’t modify the link on the source traffic, you can control it with the power of htaccess.
WARNING: Make a backup of your original .htaccess file as always. Backups are GREAT practice to follow.
If something goes wrong, please remove the lines from your .htaccess or restore your known working backup file.
Place the following at the top of your .htaccess file:
The domain names below are just examples, please use the real domains. The “other-something” domain is the domain you want the traffic routed to.
#### START COPY BELOW THIS LINE #####
Options +FollowSymlinks
RewriteEngine on
RewriteCond %{HTTP_REFERER} ^http://(www|ads)\.source-traffic\.net
RewriteRule .* http://www.other-something.com [R=301,L]
### END COPY ABOVE THIS LINE ###
Enjoy the traffic router!
M3Server.com – Virtual Dedicated Servers Hosting
Keep your WordPress sites secure and safe by following this simple advice:
1) Only use plugins that you need. Each plugin is an added security risk.
2) Avoid using the user name, admin, on your administrator accounts. Use a random name instead with at least one number in it.
3) Use strong passwords!!! CatDog isn’t a strong password folks.
4) Keep your WordPress updated and your plugins as well.
Above all, MAKE BACKUPS!!!!
Safe surfing!
M3Server.com – dedicated server hosting