![]() | | ||||||||
| | #1 |
| Elite Warrior Join Date: Oct 2009 Location: New York, NY U.S.A.
Posts: 348
Thanks: 39
Thanked 0 Times in 0 Posts
|
I would like to know where on my hosting account could I find the .htaccess file. Also, what is the difference between these two URLS related to the issue of duplicate content and also what is the purpose of the http in the url: http://www.makemoneyonlinesite.net http://makemoneyonlinesite.net Which one of these domain names should I use, when building links to my websites' home page, as well as to deeper web pages? |
| | |
| | #2 |
| People Know Me War Room Member Join Date: Sep 2006 Location: Virginia Beach
Posts: 667
Thanks: 21
Thanked 129 Times in 111 Posts
|
You should pick one and stick to it because they count as different pages. The .htaccess belongs in the same folder as your index.html or your root direectory. |
|
Need a Wordpress Consultant? Have Wordpress questions? Please contact me and I can help you.
| |
| | |
| | #3 |
| Elite Warrior Join Date: Oct 2009 Location: New York, NY U.S.A.
Posts: 348
Thanks: 39
Thanked 0 Times in 0 Posts
|
If, I am building links to the home page of my website, and I set http://www.mysitename.com to be the URL to which page rank will flow, what will be an instance where duplication can occur (i.e., in the domain name structures)? For example, If I enter www.mysitename.com into the browser or mysitename.com. Please explain when URL duplication could possible occur, and how do I fix this problem.
|
| | |
| | #4 |
| SEO BR Join Date: Jan 2011 Location: Brasil, SP
Posts: 18
Thanks: 0
Thanked 2 Times in 2 Posts
|
If you have questions you can follow the examples below: Sample Rules To redirect an old domain to a new domain: RewriteCond %{HTTP_HOST} old_domain\.com [NC] RewriteRule ^(.*)$ http://www.new_domain.com/$1 [L,R=301] To redirect all requests missing "www" (yes www): RewriteCond %{HTTP_HOST} ^domain\.com [NC] RewriteRule ^(.*)$ http://www.domain.com/$1 [L,R=301] To redirect all requests with "www" (no www): RewriteCond %{HTTP_HOST} ^www\.domain\.com [NC] RewriteRule ^(.*)$ http://domain.com/$1 [L,R=301] link: URL Rewriting for Beginners - Added Bytes below is an online editor where you can develop your own template. [en] .htaccess Editor Tip for redirect all seo index. (php | htm | html | asp ...), so it does not harm other applications and encourage all visitors to index.php, index.html, etc ... Sample: RewriteRule ^/(index|default).(php|htm|html|shtml|asp|aspx|cfm|p l)$ http://www.domain.com/ [I,R=301] with this model it is possible to redirect people who type: From: www.domain.com / index.html www.domain.com / index.htm www.domain.com / index.php www.domain.com / default.html www.domain.com / default.asp www.domain.com / default.aspx To: www.domain.com / Remembering that needs to check the conditions of other applications on the same field to not affect the redirection of the same ... I have helped! |
| otimização de sites | link patrocinado | e-mail marketing | Social Media | |
| | |
![]() |
|
| Tags |
| content, duplicate, http, urls, www |
| Thread Tools | |
| |
![]() |