Answers permalink problem

8.35K viewsGeneralanswer, permalink
1

Response links are giving a 404 error. Google is giving an error due to the refreshed link structure.

Old links: www.website.com/question/question-title/3569/

New links: www.website.com/question/question-title/answers/3569/

How can I fix the problem? I need to direct the part. (/answers/) Constantly changing the link structure is a disadvantage for SEO.

0

@Rahul, even my old permalinks are not redirecting to new one… i don’t know what to write in .htaccess

my old permalink was like –

https://medicoshive.com/discussion/question/question-title

New url is –

https://medicoshive.com/question/question-title

 

*discussion is removed.

Please help me how should I use redirect?

 

Thanks

Regards

Atul

commented on answer

RewriteRule ^discussion/question/(.*)$ /questions/$1 [R=301,L]

You are viewing 1 out of 5 answers, click here to view all answers.