Skip to main content
Topic: permanent redirect (Read 2179 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

permanent redirect

I want to get rid of my wordpress blogs. So I wrote the articles in my ElkArte and now I want to tell Google about it. So I started to edit my .htaccess file. Maybe anyone know if this is correct, 'cause the wordpress articles don't have a file extension such as a html file.

Code: [Select]
RedirectPermanent /558/fahrbericht-nissan-leaf-2013 http://forum.hybrid-piloten.de/index.php/topic,4391.0.html
RedirectPermanent /404/fahrbericht-tesla-model-s http://forum.hybrid-piloten.de/index.php/topic,4392.0.html

Plus: I have three domains. The wordpress blogs had their own, ElkArte has a subdomain. What I want to get to work is that all links leading to any blog article lead to threads in the forum.

Re: permanent redirect

Reply #1

 emanuele is an htaccess dumb

Sorry, can't help here... :(
Bugs creator.
Features destroyer.
Template killer.

Re: permanent redirect

Reply #2

I haven't used Apache in a while as I moved to Nginx, but if I remember correctly, it should be something like this:

Code: [Select]
Redirect 301 /558/fahrbericht-nissan-leaf-2013 http://forum.hybrid-piloten.de/index.php/topic,4391.0.html
Redirect 301 /404/fahrbericht-tesla-model-s http://forum.hybrid-piloten.de/index.php/topic,4392.0.html