wordpress - trying to get .htaccess redirect to sub folder from a subfolder -
i'm setting redirect url: www.thefiltercymru.org/stopio go www.thefiltercymru.org/cy/stop-smoking
i have redirect on english language version of redirect:
redirect /stop http://www.thefilterwales.org/stop-smoking
which works fine, welsh version:
redirect /stopio http://www.thefiltercymru.org/cy/stop-smoking rewritecond %{http_host} ^thefiltercymru\.org$ [nc] rewriterule ^(.*)$ http://thefiltercymru.org/cy$1 [r=301,l] rewritecond %{http_host} www.thefiltercymru.org rewritecond %{request_uri} !cy/ rewriterule ^(.*)$ cy/$1 [l]
redirects http://www.thefiltercymru.org/stop-smoking, missing out /cy/
i've tried number of different methods, to avail.
if makes difference, site running on wordpress , using language plugin (q translate)
thanks!
wordpress .htaccess redirect
No comments:
Post a Comment