₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,326,396 members, 8,426,318 topics. Date: Sunday, 14 June 2026 at 05:19 AM

Toggle theme

..... - Webmasters - Nairaland

Nairaland ForumScience/TechnologyWebmasters..... (1517 Views)

1 Reply (Go Down)

..... by Ymodulus(op):
.....
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:
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
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.
1 Reply

Mod Rewrite Not Working On My Addon DomainUseful Uml Modeling: Don't Rewrite The UmlUrl Rewrite In Php234

Can't See Who's Online On My Facebook PageEasiest Way To Download Youtube Videos!.