.htaccess - htaccess 301 redirect not working for new subdomain site -


i'm moving site wanted test page , redirect in htaccess file:

i wanted redirect

http://www.martinspencephotography.co.uk/blog/yes/mini-photo-series-minimalism-gallows-hill-outside-cloughmills

to

http://landscape.martinspencephotography.co.uk/minimalism-at-gallows-hill/

using following in .htaccess file:

redirect 301 /blog/yes/mini-photo-series-minimalism-gallows-hill-outside-cloughmill http://landscape.martinspencephotography.co.uk/minimalism-at-gallows-hill 

it didn't works there reason why might not work?

try

rewriterule your_page.html http://your.url.fr/yournewpage.html [r=301] 

and about

http://www.martinspencephotography.co.uk/blog/yes/mini-photo-series-minimalism-gallows-hill-outside-cloughmills http://landscape.martinspencephotography.co.uk/minimalism-at-gallows-hill/ [r=301] 

so answer use drupal node...


Comments

Popular posts from this blog

ruby - Trying to change last to "x"s to 23 -

jquery - Clone last and append item to closest class -

css - Can I use the :after pseudo-element on an input field? -