![]() |
301 direct 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 |
Re: 301 direct 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 |
Re: 301 direct Thanks Alan I will give it a go charlene |
Re: 301 direct 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 |
Re: 301 direct 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. |
Re: 301 direct Hi Alan I get a different message now ErrorDocument 404 http://www.pluginprofitsite.com/main-25303 i dont understand do you charlene |
Re: 301 direct 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. |
Re: 301 direct 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 |
Re: 301 direct Suzanne Morrison or Pat should know what to do. Hopefully they'll be in here soon to get things straightened out. |
Re: 301 direct Thank you Alan Cheers, Jennifer |
Re: 301 direct Hi Charlene, The code you should be using is Code: RewriteEngine onCode: RewriteEngine onMike. |
Re: 301 direct Quote:
|
Re: 301 direct 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. Quote:
|
Re: 301 direct 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. |
| All times are GMT -6. The time now is 01:01 PM. |