2013-11-08, 09:29:55
Hi! I have a little problem with links: all links point to index page (in menu, in admin panel ("view page"), in page text (when i insert link to local page)). get_page_url(); in all pages is root site URL. Also all URLs in site map are root URL too. But all pages work, if i manually enter its url in adress bar.
Fancy URLs is enabled.
.htaccess:
Fancy URLs is enabled.
.htaccess:
Code:
AddDefaultCharset UTF-8
Options -Indexes
# blocks direct access to the XML files - they hold all the data!
<Files ~ "\.xml$">
Order allow,deny
Deny from all
Satisfy All
</Files>
<Files sitemap.xml>
Order allow,deny
Allow from all
Satisfy All
</Files>
RewriteEngine on
# Usually it RewriteBase is just '/', but
# replace it with your subdirectory path
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /?([A-Za-z0-9_-]+)/?$ index.php?id=$1 [QSA,L]