Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
May 16, 2012, 07:43:02 PM

Pages: [1]   Go Down
  Print  
Author Topic: Wordpress and htaccess  (Read 5194 times)
Polcham
Newbie
*
Offline Offline

Posts: 4


« on: January 31, 2011, 01:57:04 AM »

I installed a wordpress blog using fantastico in the control panel.  I would not display in  a browser. The admin panel did but it would not allow a login.

Support said that the problem  is in the htaccess file and it should be corrected or removed.

I removed it and the blog displayed but the admin panel still does not allow a login.

I went to simple scripts and installed a wordpress in a different directory on the same domain. I reinstalled the old htaccess file and the newly installed blog is working well. The first, in another directory on that domain, does not after I installed the htaccess file again.

What is wrong with this htaccess file?  Or is it the installation process used by the control panel when it uses fantastico?

ErrorDocument 404 /404.html

Options +FollowSymLinks

RewriteEngine on

RewriteCond %{HTTP_HOST} ^italian-recipes-blog.com [NC]

RewriteRule ^(.*)$ http://www.italian-recipes-blog.com/$1 [L,R=301]



Logged
deecoup
SEO SERVICES
Spacescooter Operator
*****
Offline Offline

Posts: 30


WWW
« Reply #1 on: February 25, 2011, 11:37:58 PM »

 Welcome

i would suggest try to install fresh fantastico and upload any .ht-access file with doing edit anything and i think u ahve edit some thing in ur htaccess file ...without rigyht anything in ht access will work better
Logged

MrPhil
Senior Moderator
Berserker Poster
*****
Offline Offline

Posts: 5191



« Reply #2 on: February 26, 2011, 05:32:33 PM »

All this .htaccess file is doing is

1. Defines an error page (error document) for 404 errors, to go to /404.html. Make sure you have such a page.

2. Forces references to domain italian-recipes-blog.com to be changed to www.italian-recipes-blog.com. (A nit: .com should be \.com, as this is a "Regular Expression" search pattern.)

Are you getting a 500 (Internal Server) error or anything (error messages) other than "doesn't work"? If removing this .htaccess file clears up the initial problem, that will strongly suggest that the problem is with this file. You can try commenting out (#) lines to narrow down where the problem is. Is this the entire .htaccess file?

This .htaccess doesn't look like it should have any problems. Maybe it got corrupted somehow? Otherwise, consider skipping Fantastico and getting an install package from the Wordpress site and installing it manually.
Logged

Visit My Site

E-mail Me
  
-= From the ashes shall rise a sooty tern =-
whowho
Space Explorer
***
Offline Offline

Posts: 8


« Reply #3 on: April 18, 2011, 05:32:30 AM »

Did you every change some code of your blog theme. I used to change the code about the background picture and appear the same problem with your's. You can try to change a theme or check the code about your wordpress.
Logged

My first website | louboutin  cheap shoes.

Work hard to gain your own salvation.-Buddha
Pages: [1]   Go Up
  Print  
 
Jump to: