Closed Thread
Results 1 to 3 of 3

Thread: Editing Word Presss file '.htaccess'

  1. #1
    batui42 is offline x10Hosting Member batui42 is an unknown quantity at this point
    Join Date
    Mar 2011
    Posts
    6

    Editing Word Presss file '.htaccess'

    Hello.

    I would appreciate it if you could help me with this matter. As part of setting up a Multisite on my website, I need to replace some WordPress rules in the file '.htaccc' with some other rules provided by WordPress, these are detailed at the end of the message. The instructions for setting up the multisite are at: http://cpcg.x10.mx/wp-admin/network/setup.php

    The file is in the folder /home/madigirl/public_html/. My inablity to amend this file may be the reason why the Blog on the additional site is not displaying properly, the theme Weaver 2.0 has not been applied. Have tried everyting, editing the file online and uploading a replacement. Nothing works.

    Having reviewed the WordPress support site: http://codex.wordpress.org/htaccess_for_subdirectories I think the issue is one of security. I am unable to change the permissions on this file. Anything you can do to enable me to edit this file would be much apprecaited.

    Regards.

    Jane.
    __________________________________________________ __________________________________
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]

    # uploaded files
    RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]

    # add a trailing slash to /wp-admin
    RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^[_0-9a-zA-Z-]+/(wp-(content|admin|includes).*) $1 [L]
    RewriteRule ^[_0-9a-zA-Z-]+/(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]

  2. #2
    descalzo's Avatar
    descalzo is offline Grim Squeaker descalzo has a brilliant futuredescalzo has a brilliant futuredescalzo has a brilliant future
    Join Date
    Jul 2009
    Location
    Ankh-Morpork
    Posts
    7,635

    Re: Editing Word Presss file '.htaccess'

    The site I see has a theme called Weaver by WPWeaver.

    Not sure what you are saying your problem is.
    Nothing is always absolutely so.

  3. #3
    batui42 is offline x10Hosting Member batui42 is an unknown quantity at this point
    Join Date
    Mar 2011
    Posts
    6

    Re: Editing Word Presss file '.htaccess'

    Hi,

    Apologies, thought that the infomation I provided was clear.

    Basically I need to edit the file .htaccess and replace some code which was detailed in my request for support. The purpose is to enable my website to have a second blog page. The instructions of how to do this are on the WordPress.org site under the subject 'Multisite'.

    I have tried editing the file online on several occassions, but each time changes were not saved. Uploading an edited version was not possible either. The issue I think is one of permissions.

    I am using the Weaver 2 theme, however the problem is not with the theme but with the permissions on this .htaccess.

    Any advice on how to resolve this problem would be much appreciated.

    Regards.

    Jane.

Closed Thread

Similar Threads

  1. Replies: 5
    Last Post: 04-18-2011, 07:52 AM
  2. Replies: 2
    Last Post: 09-14-2010, 09:15 AM
  3. hidden .htaccess file through file manager
    By WyrGecko in forum Free Hosting
    Replies: 2
    Last Post: 12-15-2008, 08:41 AM
  4. File editing error
    By Drakotsu in forum Free Hosting
    Replies: 7
    Last Post: 12-17-2007, 01:56 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers