hi folks, trying to redirect (301) via cpanel from (ex: /dir/folder/page.html ->>>301 ->>> http://site/dir/page.html ), but not working.
Any ideas welcome. Thanks.
Any ideas welcome. Thanks.
In SEO
Share this post:
Responses (5)
-
Accepted Answer
Hi thanks for the reply.
here is an example of the url im trying to 301-redirect.
from:
http://www.spot98.net/store/materials/4416.html
to: http://www.spot98.net/store/transfer-materials/flex-vinyl.html
via c-panel (htaccess etc)
spot98.net/store/MATERIALS/4416.html
to
http://www.spot98.net/store/transfer-materials/flex-vinyl.html
end result no redirect:
http://www.spot98.net/store/materials/4416.html
this is a snip from the htaccess file:
# php -- BEGIN cPanel-generated handler, do not edit
# Set the
RewriteCond %{HTTP_HOST} ^spot98\.net$ [OR]
RewriteCond %{HTTP_HOST} ^www\.spot98\.net$
RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$
RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$
RewriteRule ^store\/MATERIALS\/4416\.html$ "http\:\/\/www\.spot98\.net\/store\/transfer\-materials\/flex\-vinyl\.html" [R=301,L]
Ive tested with chrome and ie browsers.
All re-directs work from url's NOT within the aratta directory like
spot98.net/INFO/somepage.html
any idea of what im doing wrong?
thanks again. -
Accepted Answer
-
Accepted Answer
hi there Enes, and thanks. Ok I have been trying some 301 but no luck. They all land on the ----site+com/INDEX..phpp page.
note that the arastta is on site.com/store and not on the route. Any idea where i could fix that? -
Accepted Answer
-
Accepted Answer
I'm not sure why your cPanel redirect doesn't work but you can try to redirect via htaccess file, too. Here is an article about it.
Regards
Your Reply
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »