zhangy Posted June 5, 2009 Share Posted June 5, 2009 Ok, does anyone know a way to alter url's using php in order to make your /typical-search-engine-friendly/ url? Currently my urls look something like the following: http://site.com/entry.php?id=1769 Quote Link to comment Share on other sites More sharing options...
Wolphie Posted June 5, 2009 Share Posted June 5, 2009 You should use mod_rewrite in a .htaccess file on your server. Quote Link to comment Share on other sites More sharing options...
dreamwest Posted June 5, 2009 Share Posted June 5, 2009 Options +FollowSymLinks RewriteEngine on RewriteRule ^fake/(.*) entry.php?id=$1 Quote Link to comment Share on other sites More sharing options...
zhangy Posted June 5, 2009 Author Share Posted June 5, 2009 Wolphie I contacted my host and they said they couldnt alter a .htaccess file because its a windows server or something. dreamwest where does that neat little code go? Quote Link to comment Share on other sites More sharing options...
dreamwest Posted June 5, 2009 Share Posted June 5, 2009 Yeah this is htaccess Umm if you want a successfull website change to linux server, you can do sweet things with it and theres alot more support Quote Link to comment Share on other sites More sharing options...
ldougherty Posted June 5, 2009 Share Posted June 5, 2009 On a windows server you would need a module installed on the server such as ISAPI_REWRITE which allows you to create rewrite rules such as mod_rewrite. http://www.isapirewrite.com/ Quote Link to comment Share on other sites More sharing options...
zhangy Posted June 6, 2009 Author Share Posted June 6, 2009 Now the say the control panel (H-SPHERE) doesn`t support ISAPI_rewrite modules. What the hell? Quote Link to comment Share on other sites More sharing options...
trq Posted June 6, 2009 Share Posted June 6, 2009 What version of IIS is your host using? IIS7 supports url rewritting. Otherwise, your out of luck unless you switch to an Apache server or ask your hosting provider to install isapi rewrite. Quote Link to comment Share on other sites More sharing options...
zhangy Posted June 6, 2009 Author Share Posted June 6, 2009 Any recommendations for a decent/affordable server? I just need hosting for a personal blog and a small classifieds jobs site. Quote Link to comment Share on other sites More sharing options...
dreamwest Posted June 6, 2009 Share Posted June 6, 2009 Im using servage, 750GB storage, 7500GB transfer allowance all for 100 buck a year - my best server host EVER! http://www.servage.net/?coupon=cust46358 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.