4th Jan 2009, 12:29 PM | #1 |
charlie Join Date: 2008 Location: united kingdom
Posts: 78
Thanks: 0
Thanked 3 Times in 3 Posts
|
Hi everyone i have been reading up on 301 direct or permanent direct, can someone tell me how i do this for my site as im not to sure. charlene |
| |
4th Jan 2009, 02:12 PM | #2 |
Freelance Proofreader War Room Member Join Date: 2008 Location: Pennsylvania, US
Posts: 1,564
Thanks: 55
Thanked 154 Times in 135 Posts
Blog Entries: 2 |
Hi Charlene, I believe this code will work... RewriteEngine on RewriteCond %{HTTP_HOST} ^replaceyoursalary.com [NC] RewriteRule ^(.*)$ http://www.replaceyoursalary.com/$1 [L,R=301] Replace my site URL with yours. Then you need to place the code in your .htaccess file. That should do it. Alan |
AshMax - Earn $22,300 per month 100 days from now Work From Home Opportunities | Legitimate Work From Home Jobs Professional Proofreading and Editing Services Work From Home Resources Blog | |
4th Jan 2009, 03:22 PM | #3 |
charlie Join Date: 2008 Location: united kingdom
Posts: 78
Thanks: 0
Thanked 3 Times in 3 Posts
|
Thanks Alan I will give it a go charlene |
| |
4th Jan 2009, 03:27 PM | #4 |
charlie Join Date: 2008 Location: united kingdom
Posts: 78
Thanks: 0
Thanked 3 Times in 3 Posts
|
Hi Alan i just tried to access the file but got this message "You don't have permission to access /.htaccess on this server" any ideas? charlene |
| |
4th Jan 2009, 03:31 PM | #5 |
Freelance Proofreader War Room Member Join Date: 2008 Location: Pennsylvania, US
Posts: 1,564
Thanks: 55
Thanked 154 Times in 135 Posts
Blog Entries: 2 |
Hi Charlene, You have to click on the edit button on the far right of the file. It's a little icon that when hovered over will say "Edit." Click that and the editor window will appear for you to copy and paste the code in. Let me know if you have any more questions. |
AshMax - Earn $22,300 per month 100 days from now Work From Home Opportunities | Legitimate Work From Home Jobs Professional Proofreading and Editing Services Work From Home Resources Blog | |
4th Jan 2009, 03:39 PM | #6 |
charlie Join Date: 2008 Location: united kingdom
Posts: 78
Thanks: 0
Thanked 3 Times in 3 Posts
|
Hi Alan I get a different message now ErrorDocument 404 http://www.pluginprofitsite.com/main-25303 i dont understand do you charlene |
| |
4th Jan 2009, 03:47 PM | #7 |
Freelance Proofreader War Room Member Join Date: 2008 Location: Pennsylvania, US
Posts: 1,564
Thanks: 55
Thanked 154 Times in 135 Posts
Blog Entries: 2 |
I don't know too much about it. Your file could be different than mine and may have other code in it that may be interfering with the new code. Someone else here will no what to do. Just take the code back out for now until you can get more help. Sorry.
|
AshMax - Earn $22,300 per month 100 days from now Work From Home Opportunities | Legitimate Work From Home Jobs Professional Proofreading and Editing Services Work From Home Resources Blog | |
5th Jan 2009, 02:07 PM | #8 |
HyperActive Warrior Join Date: 2008 Location: United Arab Emirates.
Posts: 171
Thanks: 0
Thanked 11 Times in 11 Posts
|
Hi, I have the same issue too. Charlie, Pls let me know if ever you found a way to fix it. Thanks in advance! Jennifer |
| |
5th Jan 2009, 04:05 PM | #9 |
Freelance Proofreader War Room Member Join Date: 2008 Location: Pennsylvania, US
Posts: 1,564
Thanks: 55
Thanked 154 Times in 135 Posts
Blog Entries: 2 |
Suzanne Morrison or Pat should know what to do. Hopefully they'll be in here soon to get things straightened out.
|
AshMax - Earn $22,300 per month 100 days from now Work From Home Opportunities | Legitimate Work From Home Jobs Professional Proofreading and Editing Services Work From Home Resources Blog | |
6th Jan 2009, 02:53 PM | #10 |
HyperActive Warrior Join Date: 2008 Location: United Arab Emirates.
Posts: 171
Thanks: 0
Thanked 11 Times in 11 Posts
|
Thank you Alan Cheers, Jennifer |
| |
6th Jan 2009, 03:54 PM | #11 |
HyperActive Warrior War Room Member Join Date: 2005 Location: Auckland, New Zealand.
Posts: 154
Thanks: 0
Thanked 46 Times in 31 Posts
|
Hi Charlene, The code you should be using is Code: RewriteEngine on RewriteCond %{HTTP_HOST} !^www\.cashwizzards\.com RewriteRule (.*) http://www.cashwizzards.com/$1 [R=301,L] Code: RewriteEngine on Options +FollowSymLinks RewriteCond %{THE_REQUEST} ^.*/index\.html RewriteRule ^(.*)index.html$ http://www.cashwizzards.com/$1 [R=301,L] Mike. |
6th Jan 2009, 04:11 PM | #12 | |
Freelance Proofreader War Room Member Join Date: 2008 Location: Pennsylvania, US
Posts: 1,564
Thanks: 55
Thanked 154 Times in 135 Posts
Blog Entries: 2 |
| |
AshMax - Earn $22,300 per month 100 days from now Work From Home Opportunities | Legitimate Work From Home Jobs Professional Proofreading and Editing Services Work From Home Resources Blog | ||
6th Jan 2009, 05:28 PM | #13 | |
OffTheWallflowerChild War Room Member Join Date: 2004 Location: USA
Posts: 2,776
Thanks: 6,161
Thanked 2,625 Times in 1,763 Posts
|
ErrorDocument 404 http://www.pluginprofitsite.com/main-25303 That is what is built when your site is set up and it needs to remain in the .htaccess file It can be above or beneath the other code I guess, but it needs to be exactly like that - intact, etc. or you can create an error where your website will not display at all. This is what redirects any typos or errors people make when typing your domain name, to the sales page instead.
| |
Patricia Brucoli Plug-In Profit Site Helpdesk | ||
6th Jan 2009, 05:34 PM | #14 |
Freelance Proofreader War Room Member Join Date: 2008 Location: Pennsylvania, US
Posts: 1,564
Thanks: 55
Thanked 154 Times in 135 Posts
Blog Entries: 2 |
Yeah, my site wasn't set up that way, which was over 3 years ago. I use the missing.html page to redirect any typos, ect. based on Host4Profit's directions. So I guess my htaccess file is different. |
AshMax - Earn $22,300 per month 100 days from now Work From Home Opportunities | Legitimate Work From Home Jobs Professional Proofreading and Editing Services Work From Home Resources Blog | |
Bookmarks |
Tags |
301, direct |
| |