Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Remove index from subpage path with mod_rewrite?
#12
Hi mates,
I got the same problem but at the moment I resolved in this way without modyfing GS
(this solution is good for a site with News Manager & I18N plugins)

PHP Code:
<div id="breadcrumbs">
You are here <?php if ($parent!='index') { 
?> » <a href="<?php echo find_url('index',null); ?>">Home</a><? } 
get_i18n_breadcrumbs(return_page_slug()); if (nm_is_single()) { 
?> » <a href="<?php nm_post_url(); ?>"><?php nm_post_title(); ?></a><?php 
?></div> 

This about the "breacrumbs" but the problem continues with the url structure
example:
http://sitename.com/index/page/subpage

P.S.
Thanks to Carlos for showing me this post.
My website made with GetSimple CMS is

Arte & Società
www.artesocieta.eu

An indipendent website about Italian Contemporary Visual Arts
Reply


Messages In This Thread
RE: Remove index from subpage path with mod_rewrite? - by D.O. - 2014-12-14, 21:46:47



Users browsing this thread: 1 Guest(s)