Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Cannot view subfolder contents in browser
#11
I'm halfway there. My root domain works now, as do the blog posts. The only issue is when I click on page links, it still appends the subfolder to the URL after I click the link (the link itself does not show the subfolder).

This is my new subfolder htaccess
Code:
RewriteBase /get-simple/

RewriteRule ^post/([^/.]+)/?$ index.php?id=index&post=$1 [L]
RewriteRule ^tag/([^/.]+)/?$ index.php?id=index&tag=$1 [L]
RewriteRule ^page/([^/.]+)/?$ index.php?id=index&page=$1 [L]
RewriteRule ^archive/([^/.]+)/?$ index.php?id=index&archive=$1 [L]
RewriteRule ^category/([^/.]+)/?$ index.php?id=index&category=$1 [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
#RewriteRule /?([A-Za-z0-9_-]+);(d+)/?$ index.php?id=$1&page=$2 [QSA]
RewriteRule /?([A-Za-z0-9_-]+)/?$ index.php?id=$1 [QSA,L]
Reply


Messages In This Thread
RE: Cannot view subfolder contents in browser - by el_fuerte - 2013-05-29, 09:02:53



Users browsing this thread: 1 Guest(s)