GetSimple Support Forum

Full Version: Sub Pages Pretty URL Doesnt Work
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi ...

I am new to Get Simple. Right now I have a problem with "pretty url" when I use subpages.

My custom permanent link is: %parent%/%slug%

I have two pages which is

"Our Product" = (http://localhost/gs-me/our-products)
"About Us" = (http://localhost/gs-me/about-us)

But when I parent "About Us" pages to "Our Product" ... the pretty url link is broken which is supposed to be (http://localhost/gs-me/our-products/about-us)


My htaccess is like this:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^/?([A-Za-z0-9-]+)/?$ index.php?id=$1 [L]
</IfModule>

Any idea why this happen? Or Any solution?

Thanks.
GreenFrog Wrote:My custom permanent link is: %parent%/%slug%

My htaccess is like this:
...
RewriteRule ^/?([A-Za-z0-9-]+)/?$ index.php?id=$1 [L]

The rule does not match the fancy url - remove the ^ at the beginning.
mvlcek Wrote:The rule does not match the fancy url - remove the ^ at the beginning.

I remove the ^ but it doesnt work. I upload it on my hosting but it doesnt work either.

Any idea why? I am using GS version 3.0
unfortunately you do not tell us the "wrong", broken URL

well, we use also

"%parent%/%slug%/"

at get-simple.de and the rewrite-rule in .htaccess is this:

Code:
RewriteRule /?([A-Za-z0-9_-]+)/?$ index.php?id=$1 [QSA,L]

and the result is like this:

http://www.get-simple.de/administration/migration/

there are some differences in the rule, check it out
Connie Wrote:
Code:
RewriteRule /?([A-Za-z0-9_-]+)/?$ index.php?id=$1 [QSA,L]

and the result is like this:

http://www.get-simple.de/administration/migration/

there are some differences in the rule, check it out


Yes, I check the get-simple.de website too using google translate when i search this forum for answer. It is a great site.

I've try your htaccess rules and now the pretty url is working ... but another problem arise. Now the css style can not be display ( I mean my site is can not find its css style)

It is said http://localhost/gs-me/theme/flower/style.css can not be found.

Hmmm .... even the image now is not showing up Sad

Any idea why this happen?
I've solve it. Thanks Connie dan mvlcek for your help Smile .... +1 for both of you.
great that it is working now!

Cheers, Connie