Cannot have access to my blog anymore

Get help with installation and running PivotX 2.0.x here. Please do not post Extension or Theme related questions here.

Cannot have access to my blog anymore

Postby mikeI88 » Sun Mar 30, 2014 12:10 pm

Hello everyone,

I have a site and i use pivotx as a blog service in the folder http://www.mysite.com/blog/
I recentry added the following .htaccesss on the root of my server (i wanted to get rid of the .php in urls)
Now i cannot access my pivotx blog. the only way to access it is to type: http://www.mysite.com/blog/index but after that non of any links works.

The .htaccesss file contains the following:
Options +FollowSymLinks
RewriteEngine On
RewriteCond %{THE_REQUEST} \/index.php\ HTTP [NC]
RewriteRule (.*)index.php$ /$1 [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^\.]+)$ $1.php [NC,L]

Do you have any ideas how to fix this problem?
mikeI88
 
Posts: 1
Joined: Sun Mar 30, 2014 12:04 pm

Re: Cannot have access to my blog anymore

Postby Harm10 » Sun Mar 30, 2014 1:10 pm

The obvious suggestion would be to remove the .htaccess file/change?
Quality is in the detail of things............

Want to change or update your PivotX site? Mail or PM me!
I can also convert your site to a Wordpress site!
Harm10
Developer
 
Posts: 2011
Joined: Wed Jun 17, 2009 9:37 am
Location: Somewhere in The Netherlands (aka Holland)

Re: Cannot have access to my blog anymore

Postby hansfn » Sun Mar 30, 2014 9:07 pm

mikeI88, you are aware that PivotX does support no-crufty URLs / mod_rewrite? Please try that before you continue with your approach.

PS! Regarding your code, I guess one problem is that you don't handle directories - "RewriteCond %{REQUEST_FILENAME} !-d" is missing.
hansfn
Developer
 
Posts: 3282
Joined: Sun Nov 25, 2007 7:48 pm
Location: Molde, Norway


Return to 2.x Support Forum

Who is online

Users browsing this forum: No registered users and 3 guests