GetSimple Support Forum

Full Version: Custom URL
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello!

I want to ask - maybe anyone knows a plugin for Custom URL's? I can't set my own URL's with Fancy URL's so I need another way to make own URL's for all pages of my sites, I don't need index.php?id=%slug%, I need %slug% or %slug%.html. I read wiki about pretty URL's but I haven't permission to change .htaccess.

Thanks for you help and sorry for my bad English Sad
%slug% has to be set in admin panel settings. No need to change rewrite rules, unless you want to get slug.html -> http://get-simple.info/forum/post/7878/#p7878
Hi!

Thanks for your reply!

I read that topic and made changes to .htaccess and Settings in Admin panel but anyway I receive 404 Not Found.
I can' understand how it works - I need that my pages have URL http://www.mysite.com/slug or http://www.mysite.com/slug.html.

1. I set Use Fancy URL's
2. Type %slug% in Custom permalink Structure field
3. Add in .htaccess this line - RewriteRule ([A-Za-z0-9-]+).html index.php?id=$1 [QSA,L]

and then I getting 404 Not Found when I trying to click to link with the page from my menu.
Where is fail?

Thanks for your support.
Quote:1. I set Use Fancy URL's - YES
2. Type %slug% in Custom permalink Structure field - NO
3. Add in .htaccess this line - RewriteRule ([A-Za-z0-9-]+).html index.php?id=$1 [QSA,L] - NO

you need :

1. Use Fancy URLs CHECK
2. Add in Custom Permalink Structure this code.

Quote:%slug%.html

That is it.
Hello!

I did it one more time and got

Not Found

The requested URL /sitename/index.php was not found on this server.

I use GetSimple 3.0.