Search the Community
Showing results for tags 'rewrite'.
Hi there,I am breaking my head to a htaccess issue. I am trying to rewrite my dynamic urls, which works fine. However, when I enter the old url the browser is not redirecting the old url to the new url.This is the code I am using:RewriteRule ^([a-zA-Z0-9-z\-]+)/$ search.php?a=$1RewriteRule ^([a-zA-Z0-9-z\-]+)$ search.php?a=$1For example; if one enters domain.com/search?a=word the url should transform to domain.com/word.Is there anyway who can help me with the redirect part?Thanks in advance! I tried like 1000 tutorials but they all just rewrite the url and do not redirect the old url to the ne