..... - Webmasters - Nairaland
Nairaland Forum › Science/Technology › Webmasters › ..... (1536 Views)
| ..... by Ymodulus(op): 12:38pm On Oct 11, 2011*. Modified: 12:11am On Jul 20, 2013 |
..... |
| Re: ..... by dhtml1(m): 1:03pm On Oct 11, 2011 |
There is no downside to it really. Your choice, www.mysite.com/company/page=1?v=10 or rewrite it to www.mysite.com/page1 Your choice. But do well to remember that Windows Servers do not support .htaccess, so if your only option is rewrite, the site will fail on such servers. Then, i have experienced some apache servers with the rewrite engine turned off. Maybe for security reasons. . . am not sure. . . |
| Re: ..... by Ymodulus(op): 2:04pm On Oct 11, 2011 |
tanks dhtml. most especially on the fact that windows server do no support htaccess. but in your own view which wud u advise me to use and which do u use |
| Re: ..... by binkabir(m): 9:41pm On Oct 11, 2011 |
Ymodulus:I will personally recommend "php routing after rewriting all request to index.php", because you simply know the rules and is server independent. |
| Re: ..... by dhtml1(m): 10:13pm On Oct 11, 2011 |
Exactly. I have already explained the reasons above already: 1. Rewriting may fail if .htaccess is not supported 2. Even if .htaccess is working, rewrite engine may be turned off You may start begging your webhost to switch on rewrite engine. But i will like to quickly add here that drupal comes with an option (clean url disabled), that allows you to route requests to index.php if the rewrite engine is not working. |
Mod Rewrite Not Working On My Addon Domain • Useful Uml Modeling: Don't Rewrite The Uml • Url Rewrite In Php • 2 • 3 • 4
Host Gator Hacked • 5 Tips To Get More Subscribers On Youtube.ng • How To Generate 10,000 Free Blog Traffic With Growtraffic