Page 2 of 3 FirstFirst 123 LastLast
Results 11 to 20 of 23

Thread: htaccess etc.

  1. #11
    Thread Starter
    mazza's Avatar
    Join Date
    Jun 2012
    Location
    United Kingdom
    Posts
    194
    Thanks
    21
    Thanked 2 Times in 2 Posts
    Bump on this anyone.

    Still not working even after a complete re install!!!

  2. #12
    Thread Starter
    mazza's Avatar
    Join Date
    Jun 2012
    Location
    United Kingdom
    Posts
    194
    Thanks
    21
    Thanked 2 Times in 2 Posts
    bumpety bump bump.....

    Can anyone help or guide me in the right direction. I'm totally baffled on this

  3. #13
    dubya's Avatar
    Join Date
    May 2009
    Location
    Canada
    Posts
    1,004
    Thanks
    115
    Thanked 107 Times in 93 Posts
    Quote Originally Posted by mazza View Post

    Really don't get this. Would it be wise to re install the theme?
    Hi.
    I doubt this has anything to do with the theme. I would assume that you will get the same result with any theme at this point.
    Have you tried a completely fresh install of WordPress?
    The search button. Your new best friend.
    - Dubya

  4. #14
    Thread Starter
    mazza's Avatar
    Join Date
    Jun 2012
    Location
    United Kingdom
    Posts
    194
    Thanks
    21
    Thanked 2 Times in 2 Posts
    Hi dubya.

    Yes i have, twice. So i am somewhat baffled.

  5. #15
    Thread Starter
    mazza's Avatar
    Join Date
    Jun 2012
    Location
    United Kingdom
    Posts
    194
    Thanks
    21
    Thanked 2 Times in 2 Posts
    Right then after alot of brain ache i have sorted most problems out....

    However, this one i am not sure how to get round..

    Code as foloows: Warning: require(./wp-blog-header.php): failed to open stream: No such file or directory in /customers/0/e/3/mysite.co.uk/httpd.www/index.php on line 17 Fatal error: require(): Failed opening required './wp-blog-header.php' (include_path='.:/usr/share/php') in /customers/0/e/3/mysite.co.uk/httpd.www/index.php on line 17

    Both php files are there so i take it it needs something extra in the code? If so what?

    Again this is when i change the site address url (taking the wordpress extension out).

    Can anyone help please?

  6. #16
    Thread Starter
    mazza's Avatar
    Join Date
    Jun 2012
    Location
    United Kingdom
    Posts
    194
    Thanks
    21
    Thanked 2 Times in 2 Posts
    Bump on this please....

    I know there are far better programmers out there. Can anyone please help?

    Cheers.

  7. #17
    Veteran bleem's Avatar
    Join Date
    Feb 2012
    Posts
    1,572
    Thanks
    104
    Thanked 205 Times in 180 Posts
    Not sure if this is relevant any more but shouldn't you create a new index.php file and add this to the root of your site to get a subfolder install working?
    Its that long since I used this method I may be incorrect.

    In this index.php file I'd put this:

    <?php
    /**
    * Front to the WordPress application. This file doesn't do anything, but loads
    * wp-blog-header.php which does and tells WordPress to load the theme.
    *
    * @package WordPress
    */

    /**
    * Tells WordPress to load the WordPress theme and output it.
    *
    * @var bool
    */
    define('WP_USE_THEMES', true);

    /** Loads the WordPress Environment and Template */
    require('./yourwordpressinstallfolder/wp-blog-header.php');
    ?>

    Then in the wp-config file I think you had to set up these two like so:

    define('WP_HOME','http://yourdomain.com/');
    define('WP_SITEURL','http://yourdomain/yourwpinstallation/');

    That used to be pretty much it.


    I may be wrong so don't shout at me

  8. The Following User Says Thank You to bleem For This Useful Post:

    mazza (July 20th, 2013)

  9. #18
    Veteran bleem's Avatar
    Join Date
    Feb 2012
    Posts
    1,572
    Thanks
    104
    Thanked 205 Times in 180 Posts
    I forgot to add.

    You should also have an .htaccess file with this inside in the root aswell.

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

  10. #19
    Thread Starter
    mazza's Avatar
    Join Date
    Jun 2012
    Location
    United Kingdom
    Posts
    194
    Thanks
    21
    Thanked 2 Times in 2 Posts
    Hi Bleem thanks for your reply.

    My .htaccess file is exactly the same as yours

    With regards to the extra bit of code for the wp-config file, where abouts in the file would that code go?

    Your code: define('WP_HOME','http://yourdomain.com/');
    define('WP_SITEURL','http://yourdomain/yourwpinstallation/');

    The index file is also exactly the same

    Cheers

  11. #20
    Veteran bleem's Avatar
    Join Date
    Feb 2012
    Posts
    1,572
    Thanks
    104
    Thanked 205 Times in 180 Posts
    It should go in wp-config in the wordpress install folder like so directly above the /* That's all, stop editing! Happy blogging. */ (not the root of your server):


    /**
    * For developers: WordPress debugging mode.
    *
    * Change this to true to enable the display of notices during development.
    * It is strongly recommended that plugin and theme developers use WP_DEBUG
    * in their development environments.
    */
    define('WP_DEBUG', false);

    define('WP_HOME','http://yourdomain.com/');
    define('WP_SITEURL','http://yourdomain.com/yourwpinstallation/');

    /* That's all, stop editing! Happy blogging. */


    So if your main domain name is mazza and the wordpress install is in a folder called mazzawp then it should look like this.

    define('WP_HOME','http://mazza.com/');
    define('WP_SITEURL','http://mazza.com/mazzawp/');

  12. The Following User Says Thank You to bleem For This Useful Post:

    mazza (July 20th, 2013)

Page 2 of 3 FirstFirst 123 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. htaccess
    By christianm in forum Report Vantage Bugs (Legacy)
    Replies: 3
    Last Post: February 10th, 2013, 10:08 AM
  2. [SOLVED] .htaccess rewriteRule
    By mehdicherfi in forum Report ClassiPress Bugs
    Replies: 2
    Last Post: January 11th, 2013, 04:50 AM
  3. htaccess
    By zuko in forum Help Using ClassiPress
    Replies: 1
    Last Post: May 18th, 2011, 08:51 AM
  4. permalink and .htaccess
    By shatoony26 in forum Report ClassiPress Bugs
    Replies: 14
    Last Post: December 20th, 2010, 06:28 PM
  5. Want allow subdirectory (htaccess)
    By reyvax in forum Report ClassiPress Bugs
    Replies: 3
    Last Post: August 24th, 2010, 01:06 PM