apache - Httaccess 301 redirect issue, previous link remains in URL bar with tag attached -
edit yes, stupid question, can't find solution in enough time pertains problem.
i'm trying create redirect links since updated website, old ones no longer in use. have .htaccess file set follows:
rewriteengine on rewritecond %{request_filename} !-d rewritecond %{request_filename} !-f rewriterule ^(.*) index.php?url=$1 [qsa,l] # permanent url redirect - generated www.rapidtables.com redirect 301 /posts/content/2/building-your-own-mvc-framework-in-php-part-1 https://ciangallagher.net/#post2 which works, leaves ?url= tag in url bar original redirected link so:

how can amend .htaccess file remove tag , reidrect desired link https://ciangallagher.net/post2?
i resolved this, issue rewriterule had set interfering redirects.
Comments
Post a Comment