Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Local links - all points to root
#1
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:
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]
Reply


Messages In This Thread
Local links - all points to root - by algor - 2013-11-08, 09:29:55
RE: Local links - all points to root - by eatons - 2013-11-08, 10:19:25
RE: Local links - all points to root - by algor - 2013-11-08, 10:33:15
RE: Local links - all points to root - by eatons - 2013-11-08, 10:48:58
RE: Local links - all points to root - by shawn_a - 2013-11-08, 11:02:19
RE: Local links - all points to root - by algor - 2013-11-08, 12:53:52
RE: Local links - all points to root - by algor - 2013-11-08, 13:22:38
RE: Local links - all points to root - by shawn_a - 2013-11-08, 13:28:31
RE: Local links - all points to root - by algor - 2013-11-08, 13:34:43



Users browsing this thread: 2 Guest(s)