2012-10-09, 09:14:18
It appears I've come full circle. I believed I had the issue resolved because I regained access to my page content and no longer saw the "Oops!" error.
However, I now have the site complete and on the Network Solutions host, but am having difficulty gaining access to the site from any pc but the one I developed on (caching issue, I guess).
I have FancyURL's enabled with the definition as %slug%.html.
My root .htaccess looks like the following:
I have several ReWrite Rules here, as I am trying to find what will work with the public facing site. With the current rule enabled, I get access to the template structure, but still no access to the Page content found in the data xml files.
As I tweak those rules, I get varied results: Either the host 404 error, or some partial content loading from my site, but with missing components or the Oops! error.
A sound .htaccess file configuration would be much appreciated.
Regards,
Jeremiah
However, I now have the site complete and on the Network Solutions host, but am having difficulty gaining access to the site from any pc but the one I developed on (caching issue, I guess).
I have FancyURL's enabled with the definition as %slug%.html.
My root .htaccess looks like the following:
Quote:AddDefaultCharset UTF-8
Options -Indexes
# blocks direct access to the XML files - they hold all the data!
<Files ~ "\.xml$">
Order allow,deny
Allow 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_-]+)\.html$ index.php?id=$1 [QSA,L]
#RewriteRule ([A-Za-z0-9-]+).html index.php?id=$1 [QSA,L]
RewriteRule ^(.*?/)?([A-Za-z0-9-_]+)/?$ index.php?id=$2&lang=en [QSA,L]
I have several ReWrite Rules here, as I am trying to find what will work with the public facing site. With the current rule enabled, I get access to the template structure, but still no access to the Page content found in the data xml files.
As I tweak those rules, I get varied results: Either the host 404 error, or some partial content loading from my site, but with missing components or the Oops! error.
A sound .htaccess file configuration would be much appreciated.
Regards,
Jeremiah