redirect old post .html to new without
-
elpak
- Sr. Bludit
- Posts: 39
- Joined: Wed Jan 03, 2018 10:45 am
- Location: Bulgaria
- Has thanked: 1 time
- Contact:
Hello, I have 12 old blog post in .html and want to redirect without.html.
In .htaccess is not working this Redirect 301 /blogpost.html > /blogpost. Is it better to add redirects in .htaccess with diferent code or in theme?
I have Devtheme
In .htaccess is not working this Redirect 301 /blogpost.html > /blogpost. Is it better to add redirects in .htaccess with diferent code or in theme?
I have Devtheme
- Jay
- Master Bludit
- Posts: 144
- Joined: Mon Feb 11, 2019 8:41 pm
- Has thanked: 6 times
- Been thanked: 4 times
Where exactly do you put your redirects in htaccess?
It has a significant impact despite that your condition is invalid.
It's better to store them in this file rather than using php redirects in theme files. But from the other hand you have to remember about your modified htaccess when you update bludit.
It has a significant impact despite that your condition is invalid.
It's better to store them in this file rather than using php redirects in theme files. But from the other hand you have to remember about your modified htaccess when you update bludit.

