January 19th, 2017, 05:31 PM
Rewrite still showing old URL in address bar
I am trying use some nice and simple syntax to hide the dynamic URLs within my site.
Clicking the links which use the new/SEO-Freindly URLs works fine and it take them to the right dynamically generated page, BUT the dynaic URL is being shown in the address bar, not the new/SEO-Friendly one.
Here is my htaccess file code:
So when I click on:
Redirect /post/new-seo-friendly-url/ /post.php?id=1
RewriteRule /post/new-seo-friendly-url/ /post.php?id=1
It does take me to:
Like I want, but I want to see:
In the address bar, not:
Could anyone provide me any assistance here?
Thank you very much.
February 26th, 2017, 09:44 AM
This may sound silly and this answer is very late, so you've probably solved your problem, but have you tried clearing your browser cache/cookies or opening the site in incognito/in-private browsing?