301 Redirects - working?

Status
Not open for further replies.

critter74854

Member
Messages
73
Reaction score
4
Points
8
Ive set up a few 301 redirects via C-Panel because I've revamped the site. (Ive deleted and moved some pages pages.)
But it's been a couple of days and the redirects I've set up ain't redirecting :(

Example : chookchooks.com/server system recources.html is set to redirect to http://www.chookchooks.com/
Because I no longer use that server system recources page, Ive set a 301 redirect to redirect to the home page.

Is anyone else,
or help with this?

Thanks,
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
You have a file name with spaces in it? and misspelled "resources"?
 

critter74854

Member
Messages
73
Reaction score
4
Points
8
yeah, that's how the Original address was.
Hence why I would like to 301 redirect them ;)
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
You have a link I could try? [nevermind, found one on Google]

Also, post the contents of your .htaccess file that contains the redirects
 

leafypiggy

Manager of Pens and Office Supplies
Staff member
Messages
3,819
Reaction score
163
Points
63
His .htaccess:
Code:
RewriteCond %{HTTP_HOST} ^chookchooks\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.chookchooks\.com$
RewriteRule ^wodonga_weather\.html$ "http\:\/\/www\.chookchooks\.com\/albury\-wodonga\-weather" [R=301,L]

RewriteCond %{HTTP_HOST} ^chookchooks\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.chookchooks\.com$
RewriteRule ^server\ system\ recources\.html$ "http\:\/\/www\.chookchooks\.com\/" [R=301,L]

RewriteCond %{HTTP_HOST} ^chookchooks\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.chookchooks\.com$
RewriteRule ^htpc\ streaming\ content\.html$ "http\:\/\/www\.chookchooks\.com\/" [R=301,L]

RewriteCond %{HTTP_HOST} ^chookchooks\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.chookchooks\.com$
RewriteRule ^home\ power\ monitoring\.html$ "http\:\/\/www\.chookchooks\.com\/" [R=301,L]

RewriteCond %{HTTP_HOST} ^chookchooks\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.chookchooks\.com$
RewriteRule ^power\.html$ "http\:\/\/www\.chookchooks\.com\/" [R=301,L]

RewriteCond %{HTTP_HOST} ^chookchooks\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.chookchooks\.com$
RewriteRule ^albury\ wodonga\ news\.html\/?(.*)$ "http\:\/\/www\.chookchooks\.com\/albury\-wodonga\-news$1" [R=301,L]

RewriteCond %{HTTP_HOST} ^www\.chookchooks\.com$
RewriteRule ^albury\ wodonga\ news\.html\/?(.*)$ "http\:\/\/www\.chookchooks\.com\/albury\-wodonga\-news$1" [R=301,L]
 

critter74854

Member
Messages
73
Reaction score
4
Points
8
I've been told by a buddy that spaces in an address may not be handled by .htaccess nicely and to try adding a %20 in the space.

So /server system recources.html becomes /server%20system%20recources.html

Nothing :( still won't redirect...

Ive removed all the other redirect via C-Panel so I can concentrate on just this one to work first.
Any other help, direction, or clues, ? (yes Ive goggled and searched this forum)
 

critter74854

Member
Messages
73
Reaction score
4
Points
8
[Resolved] After trying all that Google was telling to do in .htaccess and having no luck doing the redirect via the C-Panel ...
I looked at a WordPress Plugin called Simple 301 Redirects.

Problem solved :D

Cheers'
 
Status
Not open for further replies.
Top