View Full Version : Shorter URLs in Address Bar
Hi guys! would like to know if there is a way to make url's shorter in the address bar?
at the moment when i upload the results to the domain i get the following.
But maybe you can help me to make it something like:
Would really appreciate if someone can guide me in the right direction.....
I know i need to use mod_rewrite
RewriteRule ^article/([0-9]+)/([0-9]+)/(.*?).html$ /article.php?articleid=$1&categoryid=$2
If you could give me the correct settings I would really appreciate it!
01-23-2011, 10:33 PM
You can shorten it to,
without needing to get involved with the black arts of Apache mod_rewrite.
All the missing parameters will just take default values in this case.
Thank you for the quick response.
I guess i need to make this change in the search.php file? Do you have the line number and file to edit? or do i need to change this in the software....
01-24-2011, 09:39 AM
Yes, you should be able to customise the search.php file to change the name of the parameters.
We don't have a list of all the changes required. But it won't be a single line change. Probably a dozen or more changes would be required to change all the parameters.
Also once you start customising the script, we no longer support it, so make sure you know what you're doing (or have someone who does).
Powered by vBulletin® Version 4.1.12 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.