GetSimple Support Forum
Custom URL - Printable Version

+- GetSimple Support Forum (http://get-simple.info/forums)
+-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3)
+--- Forum: Plugins (http://get-simple.info/forums/forumdisplay.php?fid=13)
+--- Thread: Custom URL (/showthread.php?tid=3407)



Custom URL - artkol1990 - 2012-08-06

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


Custom URL - yojoe - 2012-08-06

%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


Custom URL - artkol1990 - 2012-08-07

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.


Custom URL - bogyvet - 2012-08-07

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.


Custom URL - artkol1990 - 2012-08-07

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.