Search the Community
Showing results for tags '301 redirect'.
-
My htaccess file works except the Redirects. They used to work. sickle cell anemia is the one I added yesterday and it doesn't work. back pain and heartburn used to work but now they don't. sleep disorders and hemophilia are also in my cpanel Redirect and they work from there and are not really needed here. But I don't want to do it through cpanel and I shouldn't have to. Can you find what is wrong with my code? Here is my entire htaccess file: ErrorDocument 404 /404.shtml ErrorDocument 400 /400.shtml ErrorDocument 401 /401.shtml ErrorDocument 403 /403.shtml ErrorDocument 500 /500.shtml # this is to handle the 301s because I moved my files or renamed them <IfModule mod_rewrite.c> RewriteEngine On # # Following is because linkback from: #ningxiebayinzi.com/unique-hemophilia-treatment-fixes-your-illness-prevents-hemophilia Redirect 301 /hemophilia-treatment /unique/hemophilia-treatment # # Following is because linkback from: #solutionssnoring.org/brussels-griffon-snoring/ #solutionssnoring.org/ayurvedic-treatment-for-sleep-disorder/ #solutionssnoring.org/category/1/page/3/ Redirect 301 /sleep-disorders-treatment.php /unique/sleep-disorders-treatment # # Following is renaming by canonical when in home so .php needs to be specified #Redirect 301 /sickle-cell-anemia-treatment /sickle-cell-anemia-treatment.php #Redirect 301 /back-pain-treatment /back-pain-treatment.php #Redirect 301 /hiccups-heartburn-treatment /hiccups-heartburn-treatment.php </IfModule>