GetSimple Support Forum

Full Version: Please help re fancy urls and htaccess
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have done a search on the forum and I think my problem is fancy urls and the htaccess file. The index page is showing but any other page I add gets a 404 error if I have fancy urls on. They show up fine when I turn fancy urls off. I have GS in the root folder (I think that is what it is called ie www.MYURL.com/index.php is the index page.

This is the contents of my htaccess file:
Code:
AddDefaultCharset UTF-8
RewriteEngine on

# Usually it RewriteBase is just '/', but
# replace it with your subdirectory path
RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /?([A-Za-z0-9-]+)/?$ index.php?id=$1 [QSA,L]

Please let me know what I need to do to turn fancy urls back on!
The HTACCESS seems right, please check with your hosting whether mod_rewrite and/or HTACCESS files are allowed.
Thank you! I checked with my host, they said mod_rewrite and HTACCESS files are allowed. :/
So, the HTACCESS is in the root of your GetSimple installation, Fancy URLs are turned on and both mod_rewrite and HTACCESS is allowed on your server? I don’t think I have any ideas left.

Though, if you have GetSimple in a subdirectory, note that you might need to change the RewriteBase in the .htaccess-file.
Yes all of the above, but I worked it out by installing it on another domain and comparing the files.

The .htaccess file was called temp.htaccess but on the new test installation there was a regular .htaccess file. I didn't realise that temp.htaccess was wrong, but when I changed it to .htaccess it works now!

I really love the ease and simplicity of GS and I am so glad I got the fancy urls working, I am too happy Big Grin
Zegnåt Wrote:So, the HTACCESS is in the root of your GetSimple installation, Fancy URLs are turned on and both mod_rewrite and HTACCESS is allowed on your server? I don’t think I have any ideas left.

Though, if you have GetSimple in a subdirectory, note that you might need to change the RewriteBase in the .htaccess-file.

thanks, rewrite base was wrong at my site, that did it!