I am having a issue with my htaccess currently if you click a link it does this BEFORE CLICK: http://www.mywebsite.com AFTER CLICK: http://www.mywebsite.comlinks/ It should be: http://www.mywebsite.com/links RewriteEngine on RewriteRule ^([^-]+).css$ $1.css [L] RewriteRule ^([^-]+).js$ $1.js [L] RewriteRule ^([^-]+).xml$ $1.xml [L] RewriteRule ^([A-Z]|[a-z]|[0-9])/([^-]+)/?$ searchResult.php [L] RewriteRule ^([A-Z]|[a-z]|[0-9])([/])$ searchResult.php [L] RewriteRule [\/*?]([^-]+).html$ searchResult.php [L] RewriteRule ([^-]+).html$ searchResult.php [L] RewriteRule ^search.now$ searchResult.php [L] RewriteRule ^search.now?q=([^-]+)$ search.php?q=$2 [L] Code (markup): Any is help appreciated
RewriteEngine on RewriteRule ^([^-]+).css$ $1.css [L] RewriteRule ^([^-]+).js$ $1.js [L] RewriteRule ^([^-]+).xml$ $1.xml [L] RewriteRule ^([A-Z]|[a-z]|[0-9])/([^-]+)/?$ searchResult.php [L] RewriteRule ^([A-Z]|[a-z]|[0-9])([/])$ searchResult.php [L] RewriteRule [\/*?]([^-]+).html$ searchResult.php [L] RewriteRule ([^-]+)\.html$ searchResult.php [L] RewriteRule ^search.now$ searchResult.php [L] RewriteRule ^search.now?q=([^-]+)$ search.php?q=$2 [L] Code (markup): Try with RewriteBase / after the RewriteEngine on line if not work i'll fix the code for you.