The following warnings occurred: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
|
Sub Pages Pretty URL Doesnt Work - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: General Questions and Problems (http://get-simple.info/forums/forumdisplay.php?fid=16) +--- Thread: Sub Pages Pretty URL Doesnt Work (/showthread.php?tid=2089) |
Sub Pages Pretty URL Doesnt Work - GreenFrog - 2011-08-20 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. Sub Pages Pretty URL Doesnt Work - mvlcek - 2011-08-20 GreenFrog Wrote:My custom permanent link is: %parent%/%slug% The rule does not match the fancy url - remove the ^ at the beginning. Sub Pages Pretty URL Doesnt Work - GreenFrog - 2011-08-20 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 Sub Pages Pretty URL Doesnt Work - Connie - 2011-08-20 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 Sub Pages Pretty URL Doesnt Work - GreenFrog - 2011-08-20 Connie Wrote: 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 Any idea why this happen? Sub Pages Pretty URL Doesnt Work - GreenFrog - 2011-08-21 I've solve it. Thanks Connie dan mvlcek for your help .... +1 for both of you. Sub Pages Pretty URL Doesnt Work - Connie - 2011-08-21 great that it is working now! Cheers, Connie |