How long for 301 redirect to take effect?

Mujkanovic

Well-known member
Joined
Apr 24, 2016
Messages
211
Best answers
1
Ratings
4
Points
18
#1
I am adding 301 redirect to htaccess file but I don't see it runs. My question is, how long for 301 redirect to take effect? Does this affect by web caching plugin that I am using on my website?
 

hostens

Well-known member
Joined
Jan 18, 2017
Messages
185
Best answers
2
Ratings
70 8
Points
28
#2
You should clear the cache after each update for your .htaccess file. Or you can try of using private/incognito browser mode to check for how the website is being loaded without cache.

In general, the rules provided in .htaccess file should take effect immediately. If you make adjustments on .htaccess and there are no effect on your website even after clearing cache, you should check your webserver's configuration, since there can be multiple .htaccess files or that it's usage can be disabled.
 

David Beroff

Well-known member
Joined
Jun 14, 2016
Messages
948
Best answers
0
Ratings
75 1
Points
28
#3
Agree with @hostens and I think your redirection codes are wrong thus it didn't take effects. I faced same problem and If possible, you should use PHP redirection code, it will work better.

If your site is using Wordpress, I would recommend Redirection plygin by John Godley, it works as a charm.
 

Laurence Flynn

Well-known member
Joined
Dec 31, 2016
Messages
92
Best answers
0
Ratings
24
Points
8
#4
Sounds like a caching issue. 301 redirects work the moment you hit save.
 

hostnamaste

Corporate Member
Corporate Member
Joined
Jun 26, 2018
Messages
22
Best answers
0
Ratings
14
Points
3
#5
It should be instant. You should clear the cache, delete the browsers cookies and also flush DNS.
 
Latest Threads
Replies
0
Views
5
Replies
3
Views
8
Replies
1
Views
8
Recommended Threads
Similar Threads

Latest postsNew threads

Latest Hosting OffersNew Reviews

Sponsors

Latest Blog ArticlesMost Viewed Threads

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top