How long for 301 redirect to take effect?

Mujkanovic

Well-known member
Joined
Apr 24, 2016
Messages
274
Best answers
1
Ratings
12
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
192
Best answers
2
Ratings
73 9
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
987
Best answers
0
Ratings
86 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
26
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
51
Best answers
0
Ratings
36 1
Points
18
#5
It should be instant. You should clear the cache, delete the browsers cookies and also flush DNS.
 
Latest Threads
Replies
1
Views
15
Replies
2
Views
16
  • Deleted
  • Deleted by fwh
Replies
0
Views
2
Replies
0
Views
8
Recommended Threads
Replies
4
Views
1,934
Replies
6
Views
2,679
Replies
10
Views
2,964
Replies
2
Views
686

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