by
KK » Mon Sep 09, 2013 7:17 am
Hi Heather,
now all subpages are broken
You did not specify how exactly are the subpages broken so I'll assume it is one of the following two main problems encountered with prettyURLs
1. Pages throw a server error.Make sure your server supports mod_rewrite (the component used for prettyURLs). To do so please use the utility available here:
viewtopic.php?p=11832#p118322. Pages come up ok but the CSS and image links are broken.This is a common problem with url rewriting and happens because your pages are using relative links for stylesheets/scripts/images.
To rectify this problem, please convert all these links to absolute e.g.
<link href="css/lightbox.css" rel="stylesheet" /> becomes
<link href="/css/lightbox.css" rel="stylesheet" /> (notice the leading slash) or better still
<link href="<cms:show k_site_link />css/lightbox.css" rel="stylesheet" />Finally, to turn off prettyurls you need to do two things -
1. delete the .htaccess
2. set prettyurls to 0 in config file.
On your site it seems you have done only one of the two things.
Hope this helps.
Do let me know.