Hello, when i do a search on my site (wwwdotlinkraindotcom) that shows some results, for example "real estate" i will have a list of categories. When i click on one of these categories the URL will be wwwdotlinkraindotcom/Real_estate but page shown is wwwdotlinkraindotcom. If i now click on another category, for example Real_estate again, the URL will be wwwdotlinkraindotcom/Real_estate/Real_estate and so on. This only happens if i click on a category AFTER i made a search that gave some results as an output.I think it has something to do with the htaccess file but i can't figure out the error. Please help
Please post the content of your .htaccess file and you can also try asking at PHP Link Directory's support forum, since you have the paid version, you'll get access to additional forums and I am sure they can help.
I asked the PHP Link Directory support forum but they answer once every 2 days and they don't have any idea how to solve the problem. And i paid 10$ to get into that forum.... Anyway, here is my htaccess file: RewriteEngine On RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l RewriteRule (.*)detail/link-(.*).htm[l]?$ detail.php [QSA,NC] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l RewriteRule .* index.php [QSA,L] Code (markup):
Make the link instead of like <a href="Real_Estate">Real Estate</a> be <a href="/Real_Estate">Real Estate</a> The backslash will make it go to the root of the site everytime, instead of a subfolder/file in that same directory.
Thanks, i will try it as soon as my control panel works again.I tried to install a mod and now i have big trouble lol