Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
.htaccess issues
#6
ravistb09 Wrote:I had installed mine into a sub dir called getsimple. And the main index page worked fine, but when using fancy urls, it couldn't get to any other pages. I had to modify the .htaccess file and change the rewrite rule to this:

RewriteRule /?([A-Za-z0-9-]+)/?$ /getsimple/index.php?id=$1 [L]

where /getsimple/ is the name of the sub dir it was installed in. This may be that different hosting providers are setup different. My host was hostgator, and I have generally always had to add this to all my RewriteRules for past projects.

Not sure if its the same for anyone else or not.

I used this and it worked a treat. (on Dreamhost)

Cheers.
Reply


Messages In This Thread
.htaccess issues - by foxman - 2009-08-07, 14:17:54
.htaccess issues - by Derek - 2009-08-08, 01:06:46
.htaccess issues - by ravistb09 - 2009-08-08, 01:56:40
.htaccess issues - by ccagle8 - 2009-08-08, 02:16:39
.htaccess issues - by badcat - 2009-08-18, 06:20:38
.htaccess issues - by Nate - 2009-08-19, 00:57:15
.htaccess issues - by Derek - 2009-08-19, 01:45:44
.htaccess issues - by tquinnelly - 2009-08-30, 06:46:26
.htaccess issues - by ccagle8 - 2009-08-30, 12:26:31
.htaccess issues - by Texta - 2009-11-07, 05:04:22
.htaccess issues - by ccagle8 - 2009-11-07, 12:15:23



Users browsing this thread: 1 Guest(s)