Help in 301 redirection problems

Hi, I have a single page site that has been created (free Council) with the www.downtoearthlandscaping.caHTML5, CSS and JavaScript. It is Linux hosting with cPanel.

So you understand what my ultimate goal is... here it is in a nut shell. When you arrive at the url above, there is no pages open as there is a cone of background gallery showing pictures. What I'm trying to do is when you click on this url is, you arrive at this place http://www.downtoearthlandscaping.ca/#! / page_Home.

The first thing I tried was the godaddy cPannel redirect tool;

RewriteEngine on

RewriteCond %{HTTP_HOST} ^ downtoearthlandscaping\.ca$ [OR]
RewriteCond %{HTTP_HOST} ^www\.downtoearthlandscaping\.ca$
RewriteRule ^ /? $ 'http\:\/\/www\.downtoearthlandscaping\.ca\/\#\!\/page_Home' [R = 301, L]

Unfortunately, this is the url that it produces http://www.downtoearthlandscaping.ca/%23! / page_Home and it says "the page is not properly redirect.

Then, I have done a google search and found this code and went and placed manually in my root directory .htaccess file

Redirect 301
/old/index.html
/new/http://www.downtoearthlandscaping.ca/#!/page_home

And I also tried;

RewriteEngine on
RewriteCond %{HTTP_HOST} ^ downtoearthlandscaping.ca [nc]
RewriteRule ^(.*) $ http:// www.downtoearthlandscaping.ca/#!/page_home $1 [r = 301, nc]

And then finally I found a .php option (that I have saved in my root directory)

<?php

header("HTTP/1.1 301 Moved Permanently");

header("Location: http://www.downtoearthlandscaping.ca/#!/page_Home");

?>

I have no idea, but I think because my landing page does not end with .html that it does not work.

Anyone have any ideas on how to work around this problem?

Sorry for the display of the wire

OK put the index.html page and all images, css, jQuery, etc in a folder named "site".

Add "site" in the url in the page index.php:

<>

Header ("Location: http://www.downtoearthlandscaping.ca/site/#!") / page_Home");"

?>

Tags: Dreamweaver

Similar Questions

Maybe you are looking for

  • By clicking on "send and receive" in outlook express causes freeze and begin to reboot the system.

    I lost control of the mouse and fonts start to break up and system begins to restart.

  • HP M401 / M601: WSD

    I currently have a Server 2012R2 domain environment. Between Oregon and 5 stores in California, I run a print server via our MPLS network. My question is this; I recently deployed HP M401 and M601 in our warehouses. When I install a new machine, I se

  • Ultimate Windows: Explorer not responding

    Windows Ultimate: Lately, every time that I right click a folder or a file in a folder, it takes between 12 to 15 seconds to respond with my options (Explorer copy, delete etc...). It is used to respond instantly. What can I do? Thank you

  • error on bluescreen 0x0000008e

    When you use the computer, the screen turns blue then says something about memory dump and give full disk analysis code 0x0000008e, tried and it says no errors of ideas why and how to fix it, he also said something regarding the RAM Thank you

  • How to stop the announcement of time function windows?

    I have Windows 7, and I really love it especially after avoiding Windows for several years.  I'm having a problem and I don't know how to fix it.  Every hour on the hour, my high ad computer and hard time, and I want to know how to cut.  I know how t