What to do with long url's in custom forum if it's too long will force all the boxes to get too long
Published: July 10, 2009
Question:
What to do with long url's in custom forum if it's too long will force all the boxes to get too long for the page in php to work with all browsers?
Answer:
I guess the question in my mind is, why is it your custom URL's too long. I will assume that you are using a htaccess URL rewrite script of some kind. If this is the case the script may be taking the blog title to be part of the new URL name.
You can alter the URL creation script to only use the first 25 - 30 characters of the forum title. This will reduce the size of your URL's After changing the function you must test to see that it still works.
About the Author
Rich Agnew is an author for The Computer Geek Custom Web Page Design. The Computer Geek is a web design company that prides itself in professional service at a fraction of the cost. The Computer Geek specializes in Custom Web Design, PHP & MySql and Ecommerce.